Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling Marquette to reduce the amount of user input #4

Closed
6 tasks
taddyb opened this issue Jan 3, 2024 · 2 comments
Closed
6 tasks

Scaling Marquette to reduce the amount of user input #4

taddyb opened this issue Jan 3, 2024 · 2 comments

Comments

@taddyb
Copy link
Owner

taddyb commented Jan 3, 2024

What is the issue:

  • Currently, there is a decent amount of offline scripting and ArcGIS Pro manipulation that needs to be done for a map to be created.
  • The maps that are created are localized to the end point of a basin, so depending on where you want to map you may have to run this program many times.
  • The MERIT flow lines already separate CONUS, and other global basins, so it makes sense to have Marquette work for a whole MERIT area, rather than just a defined basin

TODOS:

  • Scalability!
    • We need to ensure that we can run this code for a whole merit basin in a small amount of time. This code needs to scale to the global level!
    • Implement Zarr file storage since shp/csv files are too large to read/write
  • No end points
    • Run this code for basins of all size
  • triple check that the code works and integrates with the routing product.
@taddyb
Copy link
Owner Author

taddyb commented Jan 8, 2024

The scalable edge creation has finished and is working well.

Next is to create the Transition Matrix (TM) for HUC10 to MERIT basin, then MERIT basin to edges

@taddyb
Copy link
Owner Author

taddyb commented Jan 22, 2024

This is finished up and #5 should be closed today.

Currently, the only MERIT requirements for generating river connectivity and formatting streamflow are:

save_paths:
  attributes: ${data_path}/streamflow/attributes_dpl_v3.csv
  basins: ${data_path}/${name}/raw/basins/cat_pfaf_${continent}${area}_MERIT_Hydro_v07_Basins_v01_bugfix1.shp
  flow_lines: ${data_path}/${name}/raw/flowlines
  huc10: ${data_path}/HUC/huc_10_CONUS.shp
  streamflow_files: ${data_path}/streamflow/predictions/dpl_v3/
  • attributes is a list of the basin IDS from your streamflow predictions
  • basins is a list of the MERIT basins with no formatting required
  • flow_lines is the MERIT flowlines with no formatting required
  • huc10 is the shp file for all of the HUC 10 files to then run an intersection with the MERIT basins
  • streamflow_files is the streamflow predictions. This can be in either numpy format or separated out.

@taddyb taddyb closed this as completed Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant