Open minghangli-uni opened 2 months ago
@minghangli-uni could you provide the location of that file so I can have a play with it?
I stupidly didn't think about snapshot data when writing get_timeinfo
. There's some logic in there to try and guess the start and end dates when time bounds are not present, but I realise now that this will produce incorrect start and end dates for snapshot data. I guess this logic should probably just be removed (i.e. remove this), though that will mean the start and end dates will be wrong for non-snapshot output that doesn't provided time bounds...
@minghangli-uni could you please point me towards the catalog this file is a part of?
Hi @marc-white, I generated those files myself. You can find those at /scratch/tm70/ml0072/access-om3/archive/expt14-perturb-1052c5ae/output003
for your reference.
Is your feature request related to a problem? Please describe.
Snapshot diagnostics lack the
time_bnds
variable, causing thestart_date
andend_date
from the intake-esm datastore to be incorrect.One example is shown below, with the restart file
access-om3.mom6.r.1915-01-01-00000.nc
, where the output frequency is 2 hours and the total runlength is 30 hours, thestart_date
shows as1915-01-01, 01:00:00
and theend_date
is1915-01-02, 07:00:00
, instead of1915-01-01, 00:00:00
and1915-01-02 06:00:00
.Describe the feature you'd like