-
Notifications
You must be signed in to change notification settings - Fork 38
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
Is there a way to optimise looking for files required for recipes? #730
Comments
That would require some changed to the code that looks for files. Maybe it can be taking into account together with #281. |
we have a to-do item that will use wildcards to select all data files with a certain naming template see this too #589 - I will have to get my head around this and start working on it soon 🍺 |
@bouweandela @valeriupredoi that sounds great, thanks! :) |
@mattiarighi The work still needs to be done first.. |
I closed because it looks like a duplicate of #589 |
It's a different problem, only related to the same code. |
@valeriupredoi Maybe you can try writing a cached version of |
@ehogan and I ran this again and it is no longer a problem so I will close the issue. Thanks |
The recipe_diurnal_temperature_index.yml recipe requires 12 files; in the
main_log_debug.txt
file there are 12 entries with the formatLooking for files matching ['<filename>.nc'] in ['<data_path>']
. However, thedata_path
we are using contains many files (38T!), which means that the searching step for each file takes up to 2 minutes, so for 12 files takes over 23 minutes!The workaround we're using is to create a new directory, create links to the required files in this directory, then use this directory as the
data_path
.Is there a way to optimise looking for files required for recipes?
The text was updated successfully, but these errors were encountered: