-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Goal, migrate the CHaMP topo metrics into a Riverscapes tool that can be run in cyber castor. Create it just like any other RS tool...
- folder inside the
riverscapes-toolsrepo - fargate script for running the tool.
- Takes a ChaMP topo project (just like VBET takes an RSContext project)
Here's the original code:
https://github.com/Riverscapes/champ_metrics
Notes
Two options for where to put the output CHaMP topo metrics:
- Inside the input topo project as new metrics XML file. (updating the topo project.rs.xml to reference this file)
- As a new project type.
@MattReimer and I prefer the first approach. Much less work and noise to just keep the metrics alongside the topo data.
If you are going to the trouble of updating the project.rs.xml file with the path to the topo metrics, then please also consider adding a new project level metadata entry along the lines of metrics_calculated and the date. This will help with Data Exchange (or Athena) queries to tease out which topo projects we have already calculated metrics.
There might be other parameters that are needed to run the metrics (discharge etc?). IF this is true then talk to @MattReimer about how to do this. to keep things simple we might just inject these parameters into the project meta data of the topo project. This keeps the metric calculation simple and avoids the need for other external data sources. Alternatively, they might be passed as environment variables.
For now we are just talking TOPO METRICS. This ticket does not include aux, or topo+aux metrics.
Be sure to update the readme on the old repo to explain that the code is now retired and moved to a new home.