-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The frequency in the intake catalog does not account for snapshot data #188
Comments
@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 |
@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 |
My take on this is that we shouldn't try to guess the frequency if the time_bounds are missing so I would suggest removing the logic @dougiesquire is pointing out. I would default to snapshot frequency if the time bounds are missing. I understand this will wrongly flag dataset as snapshots but this is a data definition problem. |
Looks like we may need to handle restart files in a specific way though. |
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
Properly parse the date info such as,
The text was updated successfully, but these errors were encountered: