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

Check workflow #103

Closed
2 tasks
energyLS opened this issue May 26, 2022 · 6 comments
Closed
2 tasks

Check workflow #103

energyLS opened this issue May 26, 2022 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@energyLS
Copy link
Collaborator

Checklist

  • I am using the current main branch or the latest release. Please indicate.
  • I am running on an up-to-date pypsa-africa environment. Update via conda env update -f envs/environment.yaml.

Follow the set up instruction:

  • git clone earth and earth sec in the same git folder
  • run from the sec repo, snakemake -j all solve_all_networks
  • modify config-earth.yaml (in the -sec folder) as follows: (a) change tutorial to false (line 6), (b) countries=["MA"] (line 18), and (c) enable.build_cutout=true (line 91)
  • delete data, resources, cutouts, networks folders in the pypsa-africa folder
  • run again snakemake -j all solve_all_networks --forceall from the -sec model
@energyLS energyLS added the bug Something isn't working label May 26, 2022
@energyLS energyLS added this to the v0.0.2 Sector expansion milestone May 26, 2022
@energyLS energyLS self-assigned this May 26, 2022
@davide-f davide-f mentioned this issue May 26, 2022
6 tasks
@energyLS
Copy link
Collaborator Author

In the rule "rule build_renewable_profiles" I get the error:
FileNotFoundError: [Errno 2] No such file or directory: 'java' which powerplantmatching obviously relies on. Had this error earlier to, had to install java manually. @Hazem-IEG I will let you know once I have updates

@hazemakhalek
Copy link
Collaborator

Maybe this happens because you don't have Java installed on your new laptop yet. As you know our servers are down today so I will add the error I have here once it's up again. @energyLS

@energyLS
Copy link
Collaborator Author

I have installed java by conda install -c bioconda java-jdk in the environment, and the error is fixed. I was now able to run the whole workflow.
Once you have your error message I am happy to support you, hopefully the servers aren't down for too long :)

@energyLS
Copy link
Collaborator Author

energyLS commented Jun 1, 2022

Update from my side: I am now stuck with the same error as @Hazem-IEG. The first (successfull) run I did was not with Morocco but with Nigeria. Changig to Morocco leads to this error. We can further discuss the issue/bug on pypsa-meets-earth/pypsa-earth#358

@davide-f
Copy link
Member

davide-f commented Jun 4, 2022

Could you please write what is the procedure to reproduce the error?

On my side, the following procedure worked (some commits ago though):

  1. git clone earth and earth sec in the same git folder
  2. run from the sec repo, snakemake -j all solve_all_networks
  3. modify config-earth.yaml (in the -sec folder) as follows: (a) change tutorial to false (line 6), (b) countries=["MA"] (line 18), and (c) enable.build_cutout=true (line 91)
  4. delete data, resources, cutouts, networks folders in the pypsa-africa folder
  5. run again snakemake -j all solve_all_networks --forceall from the -sec model

@energyLS
Copy link
Collaborator Author

Issue can be closed, it was resolved in pypsa-meets-earth/pypsa-earth#367

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
Development

No branches or pull requests

3 participants