Skip to content

Commit

Permalink
better results folder org
Browse files Browse the repository at this point in the history
  • Loading branch information
jsta committed Apr 10, 2024
1 parent 28366bb commit 79743de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions docs/paper_fig/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# https://code.earthengine.google.com/

all:
python hydropop/dev/end_to_end_new.py \
--pop_breaks -11 -10 -4 0 100 \
Expand Down
8 changes: 4 additions & 4 deletions hydropop/dev/end_to_end_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,14 @@ def end_to_end_new(
overwrite=False
):

path_results = r"results" # folder to store results
gee_asset = "users/jstacompute/coarse_coarse_small_hpus" # the asset path to the hydropop shapefile--this might not be known beforehand but is created upon asset loading to GEE
path_results = r"results/" + run_name # folder to store results
gee_asset = "projects/ee-rabpro/assets/" + run_name + "_hpus"
gdrive_folder_name = "CIMMID_{}".format(run_name)
path_gee_csvs = r"results/" + run_name + "/gee"

## Pseduo-fixed parameters/variables """
path_hthi = r"data/hydrotopo_hab_index.tif"
path_pop = r"data/pop_density_americas.tif"
path_gee_csvs = r"results/toronto_new_hpu_method/gee"
path_pop = r"data/pop_density_americas.tif"
paths = hut.prepare_export_paths(path_results, run_name)

if not overwrite and os.path.exists(paths["hpu_gpkg"]):
Expand Down

0 comments on commit 79743de

Please sign in to comment.