[CF-metadata] Using the same time grid but different cell averaging periods

Antonio S. Cofiño antonio.cofino at unican.es
Fri Feb 24 20:24:38 MST 2017


Ken,

You need 2 different time axis for the 2 different kind of average periods.


dimensions: time = UNLIMITED; // (1440 currently) nv = 2; variables: 
float temperature(time); temperature:long_name = "Atmospheric 
temperature"; temperature:units = "degC"; temperature:cell_methods = 
"time1: mean"; temperature:coordinates = "time1"; float pressure(time); 
pressure:long_name = "Atmospheric pressure over preceding 5 minutes"; 
pressure:units = "hPa"; pressure:cell_methods = "time2: mean”; 
pressure:coordinates = "time2"; double time1(time); time:long_name = 
"time"; time:units = “minutes since 1998-04-19 06:00:00 0:00"; 
time:bounds = "time_bnds1"; double time_bnds1(time,nv); double 
time2(time); time:long_name = "time"; time:units = “minutes since 
1998-04-19 06:00:00 0:00"; time:bounds = "time_bnds2"; double 
time_bnds2(time,nv); data: time1 = 0., 1., 2., 3., 4. ...; time2 = 0., 
1., 2., 3., 4. ...; time_bnds1 = -1,0, 0,1, 1,2, 2,3, 3,4 ...; 
time_bnds2 = -5,0, -4,1, -3,2, -2,3, -1,4 ...;

Also "coordinates" attribute is important to indicate which axis is the 
one associated to the time dimension.

Regards

Antonio


--
Antonio S. Cofiño
Associate Professor and Researcher
Grupo de Meteorología de Santander
Dep. of Applied Mathematics and Computer Sciences
Universidad de Cantabria (Spain)

Academic Visitor
National Centre for Atmospheric Science
Department of Meteorology
School of Mathematical, Physical and Computational Sciences
University of Reading (UK)

http://antonio.cofino.es

On 25/02/17 00:02, Kehoe, Kenneth E. wrote:
> CF metadata,
>
> I’m currently working on a dataset that has a suite of variables with 
> two different averaging periods. Going through the archives I can’t 
> find any discussions of this type. For example one variable measures 
> average temperature each minute while a second variable measures 
> average pressure over the preceding 5 minutes (essentially a running 
> box car mean with overlapping samples.) The time step is the same for 
> both variables. Is there a way to list two different time bounds 
> variables associated with the same time step?
>
> I was thinking of something like this:
>
> dimensions: time = UNLIMITED; // (1440 currently) nv = 2; variables: 
> float temperature(time); temperature:long_name = “Atmospheric 
> temperature"; temperature:units = “degC"; temperature:cell_methods = 
> "time: mean"; float pressure(time); pressure:long_name = “Atmospheric 
> pressure over preceding 5 minutes"; pressure:units = “hPa"; 
> pressure:cell_methods = "time: mean”; pressure:bounds = "time_bnds2"; 
> double time(time); time:long_name = "time"; time:units = “minutes 
> since 1998-04-19 06:00:00 0:00"; time:bounds = "time_bnds1"; double 
> time_bnds1(time,nv); double time_bnds2(time,nv); data: time = 0., 1., 
> 2., 3., 4. ...; time_bnds1 = -1,0, 0,1, 1,2, 2,3, 3,4 ...; time_bnds2 
> = -5,0, -4,1, -3,2, -2,3, -1,4 ...;
> Thanks,
> Ken
>
>
> /Kenneth E. Kehoe/
> /  Research Associate - University of Oklahoma/
> /  Cooperative Institute for Mesoscale Meteorological Studies/
> /  ARM Climate Research Facility Data Quality Office/
> /e-mail: kkehoe at ou.edu <mailto:kkehoe at ou.edu>/
> /Office: 303-497-4754/
>
>
>
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20170225/4998ecaf/attachment-0001.html>


More information about the CF-metadata mailing list