Re: [CF-metadata] Some issues with example H.2 / timeseries

2018-06-11 Thread Ethan Davis
Hi Heiko and David,

Its been awhile since I looked at this but I don't think the Trac ticket
covers the order of the dimensions. Here's the PR I put together in
February for the missing string length dimension issue. It adds definitions
for dimensions but does nothing regarding dimension order.

https://github.com/cf-convention/cf-conventions/pull/128/files

Cheers,

Ethan

On Mon, Jun 11, 2018 at 4:57 AM, Heiko Klein  wrote:

> Dear David,
>
> thanks, I agree, it sounds very related. I have no possiblity to check,
> either. Not sure if the dimension ordering is mentioned there.
>
> Heiko
>
>
>
> On 2018-06-08 17:38, David Hassell wrote:
> > Dear Heiko,
> >
> > According the trac summary
> > (http://www.met.reading.ac.uk/~david/cf_trac_summary.html) the
> > unresolved ticket #161 is titled "h.2 name_strlen" - I wonder (in the
> > absence of being able have a look) if that is for the same issue.
> >
> > All the best,
> >
> > David
> >
> > On 8 June 2018 at 16:29, Heiko Klein  > > wrote:
> >
> > Hi,
> >
> > I've just been working with timeseries and looked at example H.2 in
> the
> > conventions document:
> > http://cfconventions.org/Data/cf-conventions/cf-conventions-
> 1.7/cf-conventions.html#example-h.2
> >  conventions.html#example-h.2>
> >
> > The example isn't valid because
> >  a) the name_strlen dimension is used but not declared
> >  b) humidity has time/UNLIMITED as second dimension, while UNLIMITED
> > dimensions must be first. Either it must be humidity(o,i) or time
> should
> > not be UNLIMIED.
> >
> > (and c) the Conventions attribute is missing). I attach a working
> > example with humidity(o,i).
> >
> > Trac seems to be down, so I post it here. I hope somebody can fix the
> > document.
> >
> > Best wishes,
> >
> > Heiko
> >
> >
> > --
> > Dr. Heiko Klein   Norwegian Meteorological Institute
> > Tel. + 47 22 96 32 58 P.O. Box 43 Blindern
> > http://www.met.no 0313 Oslo NORWAY
> >
> > ___
> > CF-metadata mailing list
> > CF-metadata@cgd.ucar.edu 
> > http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
> > 
> >
> >
> >
> >
> > --
> > David Hassell
> > National Centre for Atmospheric Science
> > Department of Meteorology, University of Reading,
> > Earley Gate, PO Box 243, Reading RG6 6BB
> > Tel: +44 118 3785183
> > http://www.met.reading.ac.uk/
>
> --
> Dr. Heiko Klein   Norwegian Meteorological Institute
> Tel. + 47 22 96 32 58 P.O. Box 43 Blindern
> http://www.met.no 0313 Oslo NORWAY
> ___
> CF-metadata mailing list
> CF-metadata@cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
>
___
CF-metadata mailing list
CF-metadata@cgd.ucar.edu
http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata


Re: [CF-metadata] Some issues with example H.2 / timeseries

2018-06-11 Thread Heiko Klein
Dear David,

thanks, I agree, it sounds very related. I have no possiblity to check,
either. Not sure if the dimension ordering is mentioned there.

Heiko



On 2018-06-08 17:38, David Hassell wrote:
> Dear Heiko,
> 
> According the trac summary
> (http://www.met.reading.ac.uk/~david/cf_trac_summary.html) the
> unresolved ticket #161 is titled "h.2 name_strlen" - I wonder (in the
> absence of being able have a look) if that is for the same issue.
> 
> All the best,
> 
> David
> 
> On 8 June 2018 at 16:29, Heiko Klein  > wrote:
> 
> Hi,
> 
> I've just been working with timeseries and looked at example H.2 in the
> conventions document:
> 
> http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html#example-h.2
> 
> 
> 
> The example isn't valid because
>  a) the name_strlen dimension is used but not declared
>  b) humidity has time/UNLIMITED as second dimension, while UNLIMITED
> dimensions must be first. Either it must be humidity(o,i) or time should
> not be UNLIMIED.
> 
> (and c) the Conventions attribute is missing). I attach a working
> example with humidity(o,i).
> 
> Trac seems to be down, so I post it here. I hope somebody can fix the
> document.
> 
> Best wishes,
> 
> Heiko
> 
> 
> -- 
> Dr. Heiko Klein                   Norwegian Meteorological Institute
> Tel. + 47 22 96 32 58             P.O. Box 43 Blindern
> http://www.met.no                 0313 Oslo NORWAY
> 
> ___
> CF-metadata mailing list
> CF-metadata@cgd.ucar.edu 
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
> 
> 
> 
> 
> 
> -- 
> David Hassell
> National Centre for Atmospheric Science
> Department of Meteorology, University of Reading,
> Earley Gate, PO Box 243, Reading RG6 6BB
> Tel: +44 118 3785183
> http://www.met.reading.ac.uk/

-- 
Dr. Heiko Klein   Norwegian Meteorological Institute
Tel. + 47 22 96 32 58 P.O. Box 43 Blindern
http://www.met.no 0313 Oslo NORWAY
___
CF-metadata mailing list
CF-metadata@cgd.ucar.edu
http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata


Re: [CF-metadata] Some issues with example H.2 / timeseries

2018-06-08 Thread David Hassell
Dear Heiko,

According the trac summary (
http://www.met.reading.ac.uk/~david/cf_trac_summary.html) the unresolved
ticket #161 is titled "h.2 name_strlen" - I wonder (in the absence of being
able have a look) if that is for the same issue.

All the best,

David

On 8 June 2018 at 16:29, Heiko Klein  wrote:

> Hi,
>
> I've just been working with timeseries and looked at example H.2 in the
> conventions document:
> http://cfconventions.org/Data/cf-conventions/cf-conventions-
> 1.7/cf-conventions.html#example-h.2
>
> The example isn't valid because
>  a) the name_strlen dimension is used but not declared
>  b) humidity has time/UNLIMITED as second dimension, while UNLIMITED
> dimensions must be first. Either it must be humidity(o,i) or time should
> not be UNLIMIED.
>
> (and c) the Conventions attribute is missing). I attach a working
> example with humidity(o,i).
>
> Trac seems to be down, so I post it here. I hope somebody can fix the
> document.
>
> Best wishes,
>
> Heiko
>
>
> --
> Dr. Heiko Klein   Norwegian Meteorological Institute
> Tel. + 47 22 96 32 58 P.O. Box 43 Blindern
> http://www.met.no 0313 Oslo NORWAY
>
> ___
> CF-metadata mailing list
> CF-metadata@cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
>
>


-- 
David Hassell
National Centre for Atmospheric Science
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243, Reading RG6 6BB
Tel: +44 118 3785183
http://www.met.reading.ac.uk/
___
CF-metadata mailing list
CF-metadata@cgd.ucar.edu
http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata


[CF-metadata] Some issues with example H.2 / timeseries

2018-06-08 Thread Heiko Klein
Hi,

I've just been working with timeseries and looked at example H.2 in the
conventions document:
http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html#example-h.2

The example isn't valid because
 a) the name_strlen dimension is used but not declared
 b) humidity has time/UNLIMITED as second dimension, while UNLIMITED
dimensions must be first. Either it must be humidity(o,i) or time should
not be UNLIMIED.

(and c) the Conventions attribute is missing). I attach a working
example with humidity(o,i).

Trac seems to be down, so I post it here. I hope somebody can fix the
document.

Best wishes,

Heiko


-- 
Dr. Heiko Klein   Norwegian Meteorological Institute
Tel. + 47 22 96 32 58 P.O. Box 43 Blindern
http://www.met.no 0313 Oslo NORWAY
netcdf timeseries {
   dimensions:
 station = 3 ;  // measurement locations
 name_strlen = 16 ; // max. length of station-name
 time = UNLIMITED ;
   variables:
 int station(station) ;
 float humidity(time, station) ;
   humidity:standard_name = "specific humidity" ;
   humidity:coordinates = "lat lon alt station_name" ;
   humidity:_FillValue = -999.9f;
 double time(time) ;
   time:standard_name = "time";
   time:long_name = "time of measurement" ;
   time:units = "days since 1970-01-01 00:00:00" ;
 float lon(station) ;
   lon:standard_name = "longitude";
   lon:long_name = "station longitude";
   lon:units = "degrees_east";
 float lat(station) ;
   lat:standard_name = "latitude";
   lat:long_name = "station latitude" ;
   lat:units = "degrees_north" ;
 float alt(station) ;
   alt:long_name = "vertical distance above the surface" ;
   alt:standard_name = "height" ;
   alt:units = "m";
   alt:positive = "up";
   alt:axis = "Z";
 char station_name(station, name_strlen) ;
   station_name:long_name = "station name" ;
   station_name:cf_role = "timeseries_id";
// global attributes:
   :featureType = "timeSeries";
   :Conventions = "CF-1.6";
   
data:

 station = 1, 2, 3;
 lon = 10., 11., 12.;
 lat = 60., 61., 62.;
 alt = 0., 0., 0.;
 
 time = 0., 1., 2., 3., 4.;

}
___
CF-metadata mailing list
CF-metadata@cgd.ucar.edu
http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata