Skip to content
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

Validate headers of meteo file #60

Open
markvdbrink opened this issue Feb 26, 2025 · 0 comments · May be fixed by #67
Open

Validate headers of meteo file #60

markvdbrink opened this issue Feb 26, 2025 · 0 comments · May be fixed by #67
Labels
bug Something isn't working

Comments

@markvdbrink
Copy link
Collaborator

The headers of the meteo file are not yet validated. I imported a custom csv file as meteo file, which didn't have the right columns. It caused SWAP to crash, it would be nice if this could be validated by pySWAP beforehand and give more meaningful errors than SWAP does.

A way to do this (idea from @zawadzkim) is to import the meteofile as a table yet to be defined in tables.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant