pypsa-meets-earth/pypsa-earth
Increase clarity of cutout mismatch messaging
Aperta
#1853 aperta il 4 giu 2026
good first issuehelp wantedinterfaces
Metriche repository
- Star
- (351 stelle)
- Metriche merge PR
- (Merge medio 28g 15h) (35 PR mergiate in 30 g)
Descrizione
Describe the feature you'd like to see
We still have check_cutout_match function which throws an error if the cutout doesn't correspond to the area of the requested countries. That is very helpful to support debugging. We have found however that it may be not obvious to understand what exactly is wrong with a cutout you provided given the need to explore nc file which require some additional skills to deal with. It could be a good idea to provide more details on specific discrepancies in the cutout provides.
The simplest solution could be add a comparison between the cutout and the country coordinates.