ClimateCompatibleGrowth / GeoH2-data-prep

Spatial data preparation tools for GeoH2 users.
MIT License
6 stars 3 forks source link

raw data input #1

Closed jome1 closed 5 months ago

jome1 commented 5 months ago

I am trying to use the GeoH2-data-prep tool. Some input data is missing or not clear which data where to put. Below you can find a table where I map the input data with the line of code in spatial_data_prep.py. For the "???" data input is not clear:

data link from github page name of downloaded file line in code of spatial_data_prep.py
The global oceans and seas geopackage can be downloaded from: https://www.marineregions.org/downloads.php GOaS_v1_20211214_gpkg oceanPath = os.path.join(data_path, "GOaS_v1_20211214_gpkg", "goas_v01.gpkg")
The country boundaries shapefile can be downloaded from: https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/ ne_50m_admin_0_countries regionPath = os.path.join(data_path, 'ne_50m_admin_0_countries', 'ne_50m_admin_0_countries.shp')
OpenStreetMap layers can be downloaded from: https://download.geofabrik.de/africa.html ??? ???
The Corine Land Cover dataset can be downloaded from: https://zenodo.org/records/3939050 PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif clcRasterPath = os.path.join(data_path, "PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif")
The protected classes dataset can be downloaded from: ??? ??? protectedAreaPath = os.path.join(data_path, 'Africa_protect_class_1.geojson')
alycialeonard commented 5 months ago

Thanks for asking about this! Changes to address these questions have been pushed to main. Answers below:

alycialeonard commented 5 months ago

Just for clarity as well, you can now see the usage of the OSM data more clearly (i.e., in OSM_path in spatial_data_prep.py)