Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolepaul committed May 18, 2021
1 parent fb0e627 commit 8086c89
Show file tree
Hide file tree
Showing 8 changed files with 70,501 additions and 407,000 deletions.
8 changes: 3 additions & 5 deletions _config.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# In the same units as the desired_crs (e.g. degrees for EPSG:4326)
# Cannot be equal to or less than the original resolution of the downloaded
# data
res = 0.00833
res = 0.05

# Desired coordinate reference system corresponding to input files
desired_crs = "EPSG:4326"
Expand All @@ -66,8 +66,7 @@
# Input shapefile parameters - field_name needs to exist in both the input
# shapefile and the input exposure CSV file. Directly replace field_name
# with the field of interest
adm_level = 3
# adm_level = 1
adm_level = 1
field_name = f"ID_{adm_level}"

# Threshold for checking that sampled asset counts match original input
Expand Down Expand Up @@ -105,8 +104,7 @@
wp_directory = os.path.join("data", "worldpop")

# File locations - inputs
name = "Portugal"
# name = "Austria"
name = "Austria"
shp_file = f"Adm{adm_level}_{name}.shp"

# Directory locations - outputs
Expand Down
446 changes: 0 additions & 446 deletions data/exposure_in/Exposure_Res_Portugal.csv

This file was deleted.

Binary file removed data/shapefile_in/Adm3_Portugal.dbf
Binary file not shown.
1 change: 0 additions & 1 deletion data/shapefile_in/Adm3_Portugal.prj

This file was deleted.

1 change: 0 additions & 1 deletion data/shapefile_in/Adm3_Portugal.qpj

This file was deleted.

Binary file removed data/shapefile_in/Adm3_Portugal.shp
Binary file not shown.
Binary file removed data/shapefile_in/Adm3_Portugal.shx
Binary file not shown.
477,045 changes: 70,498 additions & 406,547 deletions output/Exposure_Res_Austria.csv

Large diffs are not rendered by default.

0 comments on commit 8086c89

Please sign in to comment.