tum-ens / pyGRETA

python Generator of REnewable Time series and mAps
GNU General Public License v3.0
38 stars 14 forks source link

How to preprocess "new" land use data #163

Closed simnh closed 4 years ago

simnh commented 4 years ago

I was wondering if already source code exists to pre-process the land use data as stated in the docs.

This is the download a did. But from the statistics, not all different land use types are present in each layer.

So I was wondering:

Thanks again, as you might notice, I am trying to get the Package running..

kais-siala commented 4 years ago

Hi Simon,

When I click on your link, I get this message: "Document not found: 495040ea-2cc9-42da-96c5-a02b443c788e" So I cannot see your dataset. But what you need is a raster with integer values for each land use type. You need to write your own module to read that dataset, it should be similar to lib.input_maps.generate_landuse(paths, param). Also, you need to change the landuse-related assumptions in config. Let me know if you need more guidance! It would be nice if you could share the new module in the repository and update the documentation, so that other users can use your landuse map.

Cheers, Kais

simnh commented 4 years ago

Well I guess the download link was just available for a certain time.

I will try to come up with a new module..the raster should not be to difficult to generate once i have the input data.