⇐ ⇒

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

From: Antonio S. Cofiño <antonio.cofino>
Date: Sat, 25 Feb 2017 03:24:38 +0000

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.html>
Received on Fri Feb 24 2017 - 20:24:38 GMT

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:42 BST

⇐ ⇒