-
Notifications
You must be signed in to change notification settings - Fork 8
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
MissingRuleException issued when changing the region #20
Comments
The issue is caused by data workflow settings for
There are also a number of git-tracked configuration files, in particular
|
@davide-f thanks a lot for discussion and fixes. After some additional testing, I confirm that content of The issue with path definitions is not perfectly reproducible: it persisted when the workflow has been re-run using the previously loaded data (those placed in Change of the paths to local ones may be used as quick-and-dirty fix, while some in-depth investigation may be helpful to understand what is going on there. I suspect, an upcoming release of Snakemake may change a lot there. So, probably it's just worth to wait a bit. |
As the last resort, it's possible to reset git submodule deinit -f --all
git submodule update --init |
Closed as fixed with #36 |
Checklist
main
branch or the latest release. Please indicate.pypsa-earth
environment. Update viaconda env update -f pypsa-earth/envs/environment.yaml
.Describe the Bug
When changing the country (e.g. from
NG
toKZ
orCN
), an attempt to runsolve_network
rule leads toMissingRuleException
which randomly complains about missing data files or a cutout file.All the data files are placed in
"pypsa-distribution/pypsa-earth/data"
and"pypsa-distribution/pypsa-earth/cutouts"
, and are fetched if"NG"
is specified.Error Message
Depending on a run, there may be also
data/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif
orcutouts/africa-2013-era5-tutorial.nc
reported as a missed file.The text was updated successfully, but these errors were encountered: