Skip to content

Drought model workflows #153

@rburghol

Description

@rburghol

MLLR Risk map:

Sample gage: 02035000

New gage winter flow distribution

Create the Meta Model

META_MODEL_ROOT=/opt/model/meta_model
export META_MODEL_ROOT
/opt/model/meta_model/scripts/make_model_shell drought "mllr" "download analyze"

outflow

Run for all gages

filename="/var/www/html/tmp/mllr_drought_probs_2025.tsv"
while IFS= read -r line; do
    #echo "Text read from file: $line"
    IFS=$'\t' read hydrocode tsvalue varkey tstime hcode <<< "$line"
    gageno=${hydrocode//"usgs_"/}
    echo "Handling $gageno"
    Rscript /opt/model/meta_model/scripts/usgs/analyze_winter_one.R $gageno
done < $filename

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