AFD-Illinois / ipole

Polarized covariant radiative transport code
16 stars 12 forks source link

warn when "required" parameters unspecified #8

Open gnwong opened 5 years ago

gnwong commented 5 years ago

It's not clear what the right way to do this is, but maybe (per model) check whether required parameters have been specified and if not, print an error message that specifies exactly what ipole is expecting? Right now, if I just run ipole with no arguments, it defaults to loading (or trying to) dump.h5 and then dies ingloriously.

gnwong commented 5 years ago

All model "help" messages could automatically be printed if the "--help" argument were passed ...

bprather commented 4 years ago

I just ran into this again and took some time figuring out what was happening. I recall the same happening at the EHTC meeting 2mo ago as well. Assigning myself to at least code up spot checks for the worst offenders.