Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

aggregate to NHD catchments #16

Open
jsadler2 opened this issue May 25, 2022 · 0 comments
Open

aggregate to NHD catchments #16

jsadler2 opened this issue May 25, 2022 · 0 comments

Comments

@jsadler2
Copy link
Contributor

For the PGDL water temperature sub-quest to account for GW influence, the gridmet data will need to be aggregated to the nhd network. The DO project might also use this more fine-scale data.

I think the only things we'll need to change are:

  1. make available a new geopackage with the nhd catchment polygons for the DRB. I believe it makes most sense for this to come from "https://github.com/USGS-R/drb-network-prep/"
  2. Revise the Snakemake code to accept the layer name as variable instead of hard coded
    gdf = gpd.read_file(input[0], layer="GFv1_catchments_edited")
  3. Probably change the "prefix" value to say something about "nhd" so we can distinguish the output
    g2s_file_prefix='drb_',
  4. Change the value on this line to the nhd catchment geopackage
    drb_hru_file = "data/GFv1_catchments_edited.gpkg"

cc @msleckman @lekoenig

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant