MetOffice / aws-earth-examples

Example code of how to freely use Met Office's weather datasets through Earth on AWS.
https://metoffice.gov.uk
Other
43 stars 15 forks source link

Message cell_methods' time interval on UK Deterministic Model SQS #8

Closed fepeacock70 closed 5 years ago

fepeacock70 commented 5 years ago

Hello,

For periods of 3 hourly data on the 03Z and 15Z UK Deterministic runs, the SQS messages have cell_methods with time interval of 1 hour rather than 3 hours.

Frank

rhattersley commented 5 years ago

Hi @fepeacock70 - thanks for the feedback.

The "cell_methods" attribute is taken directly from the NetCDF Climate and Forecasting metadata conventions. As such, the "interval" value is only refering to the spacing of the original data, it is not the time range relevant to a particular file.

To determine the time range(s) relevant to a particular file you may want to try the "forecast_period" and "forecast_period_bounds" attributes.

fepeacock70 commented 5 years ago

Thanks Richard. I did notice that the "forecast_period_bounds" attribute reflected the true time period.