aodn / python-aodntools

Repository for templates and code relating to generating standard NetCDF files for the Australia Ocean Data Network
GNU Lesser General Public License v3.0
10 stars 3 forks source link

Add TIME_bounds variable to describe binning intervals #113

Open mhidas opened 4 years ago

mhidas commented 4 years ago

There are CF standard ways to describe values that are representative of an interval, and we should be using these to document our products. In particular, binning time intervals can be described using a TIME_bounds variable. We should add such variables in

Ideally, the bounds relevant to the input files would just be copied from those files, but they are not currently in there. However, they can be computed from existing metadata in the files (such as the TIME:seconds_to_middle_of_measurement attribute in ADCP files, or the instrument_burst_duration global attribute).