Code Monkey home page Code Monkey logo

Comments (3)

grenville avatar grenville commented on June 3, 2024

STASH_to_CF.txt holds height info, eg

3!245!relative_humidity!%!height=1.5m!
3!247!visibility_in_air!m!height=1.5m!
3!248!fog_area_fraction!1!height=1.5m!
3!250!dew_point_temperature!K!height=1.5m!

make_iodef_xml.py extract from here to add the dimension (?)
add the new 100m winds to STASH_to_CF.txt

from canari-data.

bnlawrence avatar bnlawrence commented on June 3, 2024

For the record, this is the way CMIP6 encoded this (different example from the one above):

netcdf tas_Amon_IPSL-CM6A-LR_historical_r1i1p1f1_gr_185001-201412 {
dimensions:
        axis_nbounds = 2 ;
        lon = 144 ;
        lat = 143 ;
        time = UNLIMITED ; // (1980 currently)
variables:
        float lat(lat) ;
                lat:axis = "Y" ;
                lat:standard_name = "latitude" ;
                lat:long_name = "Latitude" ;
                lat:units = "degrees_north" ;
        float lon(lon) ;
                lon:axis = "X" ;
                lon:standard_name = "longitude" ;
                lon:long_name = "Longitude" ;
                lon:units = "degrees_east" ;
        double height ;
                height:name = "height" ;
                height:standard_name = "height" ;
                height:long_name = "height" ;
                height:units = "m" ;
                height:axis = "Z" ;
                height:positive = "up" ;
        double time(time) ;
                time:axis = "T" ;
                time:standard_name = "time" ;
                time:long_name = "Time axis" ;
                time:calendar = "gregorian" ;
                time:units = "days since 1850-01-01 00:00:00" ;
                time:time_origin = "1850-01-01 00:00:00" ;
                time:bounds = "time_bounds" ;
        double time_bounds(time, axis_nbounds) ;
        float tas(time, lat, lon) ;
                tas:online_operation = "average" ;
                tas:cell_methods = "area: time: mean" ;
                tas:interval_operation = "900 s" ;
                tas:interval_write = "1 month" ;
                tas:_FillValue = 1.e+20f ;
                tas:missing_value = 1.e+20f ;
                tas:coordinates = "height" ;
                tas:standard_name = "air_temperature" ;
                tas:description = "Near-Surface Air Temperature" ;
                tas:long_name = "Near-Surface Air Temperature" ;
                tas:history = "none" ;
                tas:units = "K" ;
                tas:cell_measures = "area: areacella" ;

from canari-data.

grenville avatar grenville commented on June 3, 2024

added coordinates=height to required fields and added height as below for example:

float um-atmos_height_10m ;
		um-atmos_height_10m:name = "um-atmos_height_10m" ;
		um-atmos_height_10m:standard_name = "height" ;
		um-atmos_height_10m:long_name = "height" ;
		um-atmos_height_10m:units = "m" ;
		um-atmos_height_10m:axis = "Z" ;
		um-atmos_height_10m:positive = "up" ;

from canari-data.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.