Skip to content

Commit

Permalink
compute basin overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
jsta committed Apr 16, 2024
1 parent 2a016f1 commit d45dc10
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hydropop/dev/end_to_end_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ def _export_hpus(path_gee_csvs, paths, datasets):

# Export watershed/gage information - keep out of class since this is somewhat
# external...for now
# path_watersheds = r"X:\Research\CIMMID\Data\Watersheds\Toronto\initial_basins.gpkg"
# hpus = gpd.read_file(paths["hpu_gpkg"])
# watersheds = gpd.read_file(path_watersheds)
# df = hut.overlay_watersheds(hpus, watersheds)
# df.to_csv(paths["gages"], index=False)
path_watersheds = r"data/initial_basins.gpkg"
watersheds = gpd.read_file(path_watersheds)
hpus = gpd.read_file(paths["hpu_gpkg"])
df = hut.overlay_watersheds(hpus, watersheds)
df.to_csv(paths["gages"], index=False)


def end_to_end_new(
Expand Down

0 comments on commit d45dc10

Please sign in to comment.