Environment class does not support weather files with negative longitudes #24
Labels
Bug
Something isn't working
Environment
Enviroment Class related features
Good first issue
Good for newcomers
Milestone
The current implementation of the Environment class raises an error whenever weather files which make use of negative values for longitude are imported. This error happens in the processNetCDFFile method.
Both longitude ranges, from 0 to 360 and from -180 to 180 should be supported.
One alternative is to try using the 0-360 range and except the -180 to 180 range if an error is raised. This order is motivated by the fact that global models generally use 0-360 ranges, where regional models from the left hemisphere generally use -180 to 180.
The text was updated successfully, but these errors were encountered: