Skip to content

MenakaRevel/LakeCalibration

Repository files navigation

# Description

## Scripts
1. run_array_job.sh         - run the multiple calibration experiment
2. run_Ostrich_single.sh    - run the single calibration model
3. run_best_Raven_single.sh - run the best Raven model after calibration

## Folders
1. OstrichRaven - consist of base Raven and Ostrich model
2. img_code     - consist of scripts for making images
3. figures      - saving the figures

## Pre-requsits
1. Compile Raven and copy Raven excutable to ./OstrichRaven/RavenInput
2. Compile Ostrich and copy Ostrch excutable to ./OstrichRaven

# Updates
## 2024 Apr
1. Update experiments using different variables rather than experiment name
    a. Routing method
    b. Observation data {Q, WL, WA, or Q+WL, Q+WA}
    c. List of observations {Q_list, WL_list, WA_list}
    d. ObjFunction and parts
    e. Calibration buget
    f. Random seed
2. Observations were read from final_cat_info_updated.csv file 
    ** Note: need special treatment for multiple observation e.g., [Obs_SF_IS, Obs_WL_IS]
3. src script for initializing the calibrations
4. create Lakes.rvh.tpl file --> observed Lakes can directly amended -->no need for create_lake_rvh.py

# Things to do:
1. [done] Run Ostrich part by part - warmstart on for run calibration in batches
    a. Write ostIn.txt using the end file: start parameter ==> {OstrichWarmStart: If set to "yes" OSTRICH will read the contents of any previously created "OstModel" output files and use the entries therein to restart an optimization or calibration exercise.}

# Code Structure
## LakeCalibration
   |- src
       |- write_ostIn.py - to write ostIn.txt file {read final_cat_update.csv | write CW ranges}
       |- write_cw_para_tpl.py - to write the crest_width_par.csv.tpl
       |- update_rvh_tpl.py - to update the number of lake subbasins in NonObserevedLakesubbasins
       |- update_rvt.py - add all the observations [ optional** if all the observations used ]

About

LakeCalibration in the Raven Hydrologic Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published