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

clean out all nuts3 references #345

Closed
wants to merge 4 commits into from
Closed

clean out all nuts3 references #345

wants to merge 4 commits into from

Conversation

fneum
Copy link
Member

@fneum fneum commented Mar 24, 2022

The goal is to eliminate shape reprojection from NUTS3 to model regions. Instead, use gridded data from

https://datadryad.org/stash/dataset/doi:10.5061/dryad.dk1j0

and

https://www.worldpop.org/

Checkout:

https://github.com/martacki/pypsa-ua_gdp_data

@fneum
Copy link
Member Author

fneum commented Mar 28, 2022

So using 5 arcmin dataset looks not quite close to NUTS3-level dataset

gridded dataset -> NUTS3 aggregated -> NUTS3 original

image

Using 30 arcsec dataset is quite slow.

@euronion
Copy link
Contributor

Maybe mismatching units? NUTS3 dataset was pop in abs. values IIRC, the gridded pop data should be pop density.

@martacki
Copy link
Member

dunno if you intend to use another formula now. For ua and md, that seems to be the currently best solution, however I have the feeling that for germany the current nuts3 data provides a much better distribution...

nuts3 for germany:
nuts3_germany
suggested data sources (according to the formulas used in my private repo that you're quoting):
gdp+pop_germany

@martacki
Copy link
Member

Using 30 arcsec dataset is quite slow.

ah, but in the repo I'm not using the 30 arcsec data, I think. Sorry, overseen this comment... is unifying the data source with ua and md the only motivation for this pr? (ie. why clean out nuts3?)

@fneum
Copy link
Member Author

fneum commented Mar 28, 2022

I just wanted to sketch how it could work based on what you did for UA/MD and explore how it would compare to NUTS3 data. The motivation would be that it simplifies the code (the whole nuts3 function would be superfluous) and we could possible go to higher resolutions than nuts3. Also: opportunity to remove yet another vresutils dependency.

@euronion
Copy link
Contributor

@FabianHofmann Can we reuse the atlite code used for the ExclusionCalculator to implement the calculation faster than what xagg has to offer? (Determine overlaps between regions / shapes and a raster / the population raster data).

@fneum
Copy link
Member Author

fneum commented Sep 13, 2024

wontfix

@fneum fneum closed this Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants