Re: [CF-metadata] Vertical coordinates boundaries

2015-02-20 Thread Maarten Sneep
On 19-02-15 18:56, Jim Biard wrote: Maarten, It would, instead be something like this: dimensions: lon = 360; lat = 180; layer = 18; vertices = 2; variables: float lat(lat); lat:long_name = latitude; lat:units = degrees_north; lat:bounds = lat_bnds; float

Re: [CF-metadata] Vertical coordinates boundaries

2015-02-20 Thread Jim Biard
Maarten, This is life with CF. Just to be sure I understand the details of the problem, the vertical set of pressure values at one lat and lon is different from the vertical set at a different lat and lon, correct? Is there no metric (as in, not just an index) vertical coordinate that you

[CF-metadata] Vertical coordinates boundaries

2015-02-19 Thread Maarten Sneep
Hi, A colleague has a question that left me without an answer. He writes: I have a 3D ozone field with n_lon elements in longitude direction, n_lat elements in latitude direction and n_layer elements in the vertical direction. The corresponding pressure grid has the same number of elements in

Re: [CF-metadata] Vertical coordinates boundaries

2015-02-19 Thread Jim Biard
Maarten, I believe that what your colleague should do is add a bounds variable for the pressure and reduce the number of elements in the hPa coordinate variable by one. The bounds variable provides a lower and upper bound for each layer, so it captures the value currently being stored in the

Re: [CF-metadata] Vertical coordinates boundaries

2015-02-19 Thread Jim Biard
Maarten, It would, instead be something like this: dimensions: lon = 360; lat = 180; layer = 18; vertices = 2; variables: float lat(lat); lat:long_name = latitude; lat:units = degrees_north; lat:bounds = lat_bnds; float lon(lon); lon:long_name = longitude;

Re: [CF-metadata] Vertical coordinates boundaries

2015-02-19 Thread Maarten Sneep
On 19-02-15 18:56, Jim Biard wrote: Maarten, It would, instead be something like this: dimensions: lon = 360; lat = 180; layer = 18; vertices = 2; variables: float lat(lat); lat:long_name = latitude; lat:units = degrees_north; lat:bounds = lat_bnds; float