Skip to content
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

filenames without timestamp #166

Open
paolap opened this issue Aug 28, 2024 · 0 comments
Open

filenames without timestamp #166

paolap opened this issue Aug 28, 2024 · 0 comments
Labels
question Further information is requested

Comments

@paolap
Copy link
Collaborator

paolap commented Aug 28, 2024

Currently we're counting on filenames to have some kind of timestamp that while different is at least consistent and allows to sort files in ascending time order.
This is broken when timestamp use jan, feb, mar etc for months.

This definitely cause issues in the following cases:

  • mopdb when trying to work out frequency, and there's not frequency label in filename. It's fine if more than one timestep in file but it fails picking the right "next" successive file if there's only one timestep per file.
  • mopper would fail selecting all the files using timestamp

It shouldn't cause issues when concatenating data as by default open_mfdataset() uses combine_by_coords

As the frequency in the above case can be adjusted manually in varlist, and if checking the timestamp fails there's the option of selecting files opening them and checking the time axis, both issue while slowing down the workflow should not cause errors. So for the moment I'm not going to add code to handle this case.

@paolap paolap added the question Further information is requested label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant