pypsa-meets-earth/pypsa-earth

Increase clarity of cutout mismatch messaging

Aberta

#1.853 aberto em 4 de jun. de 2026

 (2 comentários) (0 reação) (0 responsável)Python (349 forks)auto 404
good first issuehelp wantedinterfaces

Métricas do repositório

Stars
 (351 estrelas)
Métricas de merge de PR
 (Mesclagem média 28d 15h) (35 fundiu PRs em 30d)

Description

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.

Guia do colaborador