-
Notifications
You must be signed in to change notification settings - Fork 221
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
Cannot convert float NaN to integer in offwind renewable profiles for NZ #640
Comments
Can you share the config and snakemake command which trigger the issue? |
Sure! I'm sending it in discord. The snakemake command is snakemake -j all solve_all_networks |
By doing an additional check, it is clear that some data from copernicus are nans, those most likely trigger the issue A possible fix could be to fill nans with zeros. What do you think @euronion ? may this feature be interesting for atlite? |
Let's please first track down where the problem is coming from, instead of filling with zero values. Did you check the data from |
That was the data saved into cutout and it happened twice: it's the second time that I download this type of data with missing values. However I am unsure whether this can be generated by atlite, personally I don't think so. This is also known link |
I'm asking because we have another issue currently under investigation with If I understand the link you sent correctly, it's about a different dataset and observational data, not ERA5 reanalysis. The whole point of using reanalysis is, that values for each grid are calculated using climate models. NaNs shouldn't occur. |
Could you directly use the Adjust the request below as you see fit:
|
I think this issue is outdated; a simple fix in atlite has been added to account for this. |
Checklist
main
branch or the latest release. Please indicate.pypsa-earth
environment. Update viaconda env update -f envs/environment.yaml
.Describe the Bug
When running the workflow for NZ the following error message is thrown.
This may be an issue to be notified to atlite PyPSA/atlite#282
Error Message
If applicable, paste any terminal output to help illustrating your problem.
In some cases it may also be useful to share your list of installed packages:
conda list
.The text was updated successfully, but these errors were encountered: