MeteoSwiss / pyrad

Python Radar Data Processing
https://meteoswiss.github.io/pyrad/
Other
37 stars 9 forks source link

Make config files parsing more user friendly #39

Open wolfidan opened 1 year ago

wolfidan commented 1 year ago

Currently, the code does not give much information on why the parsing of config files fails.

We plan to improve that by giving more information on the exact location of the parsing error and give hints to the user on why it fails.

We could also add the option for the user to validate the parsed config files by printing the full parsed configuration in a tidy way and wait for user input before continuing with the processing.

wolfidan commented 1 year ago

For the moment I just added some info on the directory in which pyrad searches for radar files, see commit https://github.com/MeteoSwiss/pyrad/commit/ce67680ee9faee6b466e16d95382543e42ff0285