ESMValGroup / ESMValCore

ESMValCore: A community tool for pre-processing data from Earth system models in CMIP and running analysis scripts.
https://www.esmvaltool.org
Apache License 2.0
43 stars 38 forks source link

Have a checker that inspects auxiliary_data_dir and exit if desired data is not there #842

Open valeriupredoi opened 4 years ago

valeriupredoi commented 4 years ago

Is your feature request related to a problem? Please describe. Not really a problem, but if you run a recipe as n00b (like I did with the Carvalhais one) and you don't bother check the data requirements, you'll bite the bait and run the whole show only to have the thing die on you at diagnostic stage coz some aux data ain't there. I can see this happen to a lot of first timers, and some of them will not even bother reading the recipe documentation and straight open an issue saying the thing's broken.

Would you be able to help out? Yeah, for sure! I'm thinking the best way is to have it part of the data finder module and initialized from the recipe via an additional field eg auxiliary_data

stefsmeets commented 4 years ago

This might be very easy to do via a validator when #785 comes through, where we want to introduce validated config variables.