use lower resolution EEZ shapes to reduce excessive RAM use (#1210)
This commit is contained in:
parent
6ca8e80095
commit
f263862455
@ -92,7 +92,7 @@ rule build_shapes:
|
||||
countries=config_provider("countries"),
|
||||
input:
|
||||
naturalearth=ancient("data/naturalearth/ne_10m_admin_0_countries_deu.shp"),
|
||||
eez=ancient("data/eez/World_EEZ_v12_20231025_gpkg/eez_v12.gpkg"),
|
||||
eez=ancient("data/eez/World_EEZ_v12_20231025_LR/eez_v12_lowres.gpkg"),
|
||||
nuts3=ancient("data/bundle/NUTS_2013_60M_SH/data/NUTS_RG_60M_2013.shp"),
|
||||
nuts3pop=ancient("data/bundle/nama_10r_3popgdp.tsv.gz"),
|
||||
nuts3gdp=ancient("data/bundle/nama_10r_3gdp.tsv.gz"),
|
||||
|
@ -226,9 +226,9 @@ if config["enable"]["retrieve"]:
|
||||
|
||||
rule retrieve_eez:
|
||||
params:
|
||||
zip="data/eez/World_EEZ_v12_20231025_gpkg.zip",
|
||||
zip="data/eez/World_EEZ_v12_20231025_LR.zip",
|
||||
output:
|
||||
gpkg="data/eez/World_EEZ_v12_20231025_gpkg/eez_v12.gpkg",
|
||||
gpkg="data/eez/World_EEZ_v12_20231025_LR/eez_v12_lowres.gpkg",
|
||||
run:
|
||||
import os
|
||||
import requests
|
||||
@ -239,7 +239,7 @@ if config["enable"]["retrieve"]:
|
||||
|
||||
response = requests.post(
|
||||
"https://www.marineregions.org/download_file.php",
|
||||
params={"name": "World_EEZ_v12_20231025_gpkg.zip"},
|
||||
params={"name": "World_EEZ_v12_20231025_LR.zip"},
|
||||
data={
|
||||
"name": name,
|
||||
"organisation": org,
|
||||
|
Loading…
Reference in New Issue
Block a user