⇐ ⇒

[CF-metadata] how to specify time dimension for monthly averages

From: Seth McGinnis <mcginnis>
Date: Fri, 15 Mar 2013 16:00:52 -0600

1) Set the time values to the midpoint of the time interval.*

2) Set a "cell_methods" attribute on the data variable with a
value of "time: mean (interval: 1 month)".

3) Create a time_bounds variable with dimensions (time,2)
whose values are the start and end points of each time interval.

4) Set a "bounds" attribute on the time coordinate variable
equal to the name of your time_bounds variable.

*CF allows you to put the time coordinate anywhere in the
interval, but in my experience at the midpoint is the best option,
as it is the most intuitively obvious and least likely to cause
problems if you ever create aggregations over longer periods.

Cheers,

--Seth

On Fri, 15 Mar 2013 22:45:39 +0100
 Andreas Hilboll <lists at hilboll.de> wrote:
>Hi,
>
>I want to store monthly averages of gridded satellite measurements of
>atmospheric trace gas columns. I'm wondering how I should specify the
>time axis, i.e. set the time for each monthly aggregate to the first, or
>the central, or the last day of the month. How should I specify that the
>values are actually monthly averages?
>
>Thanks for your ideas!
>Cheers, Andreas.
>_______________________________________________
>CF-metadata mailing list
>CF-metadata at cgd.ucar.edu
>http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
Received on Fri Mar 15 2013 - 16:00:52 GMT

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

⇐ ⇒