Skip to content

Workflow: om model -- model run metrics, and OM functions (need to separate the log file retrieval from the analysis in the old OM functions) #87

@rburghol

Description

@rburghol

Tasks

  • run_shaketree.php caller (set RUN_METHOD = shake_tree)
  • run_model (set RUN_METHOD = run_model) run_model caller #120
  • replace shaketree with slurm + run_model
    • Use .out file date for cache time check -- see raster workflow alt for example
    • How to insure that sub-watersheds are run inside parent?
      • Inititial workflow should grab the custom1/custom2 and skip if segment is type cova_subshed, since it will be run by the parent in either shaketree or regular run mode.4
    • Can use existing segments lists in cbp tree?
    • is it ok to call the run on a contained subshed, which returns rapidly anyhow without running? Or better yet, load the cache property in the run work step
  • om -> usgs module for area-weighted gages  #128
  • Create land module
  • Create facility module, with copy from template, and steps for each in the VWP model setup workflow

Workflow Modules and Steps

  • river
  • land
    • prep
      • 01_copy_baseline - optional
      • 02_run_runoff
        • get runoff container by riverseg/custom2, and send to run_model with cache checking
        • does the run_model.php check cache and return?
  • usgs
  • facility
    • prep
      • 01_create_model - optional
      • 02_local_impoundment
      • 03_parent_impoundment
      • 04_ps_advanced
      • 05_impoundment_control
  • manage
    • migrate migrate data from dh to om by model elementid
      • Use: run_model om 401 351476 auto manage migrate
      • 01_dh_to_om - runs the migration script (TBD spit this into an 01_export_dh_json and 02_json_to_om)

Examples

Banister River SOVA

  • sudo -u www-data run_model om 17 OD3_8520_8621 auto river run 01_run_shaketree
  • sudo -u www-data run_model om 17 TU0_0000_0000 auto river run 01_run_shaketree

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions