zalf-rpm / monica

license
Mozilla Public License 2.0
24 stars 10 forks source link

Add helpful error message when incorrect structure of climate file #13

Open specka opened 6 years ago

specka commented 6 years ago

I was missing a column for global radation when reading in climate information via csv file. But instead of providing a useful error message, MONICA just did write (in activated debug mode), that climate data could not be read in. This error message is too general and does not help the user to identify the problem.

Please add some checks when reading in the climate csv files and provide some useful error messages for the most common errors.