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

Shift timestamps to centre of sampling interval before binning #114

Open mhidas opened 4 years ago

mhidas commented 4 years ago

For most ADCP instruments the timestamp recorded in our FV01 deployment files refer to the beginning of the sampling interval (which could be 30min or longer). The hourly binning code currently does not account for this. It should shift each timestamp to the middle of the interval before binning.

This may also need to be done for some non-velocity instruments (?)

mhidas commented 4 years ago

This will rely on being able to extract the time-sampling metadata from the file attributes (see #113).