-
Notifications
You must be signed in to change notification settings - Fork 0
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
Examples: Running CBP with hspf and hsp2 #2
Comments
Run hspf version of p6 Prep metRun a test in the non-tidal James, Rockfish
Run land segments with sbatch
Run a single segment
Run all segments
|
Run James headwaters
|
Running Occoquan Headwater in Occoquan, PL2_4970_5250:
Run the whole basin in hspf
Test headwater in hsp2: Run the whole basin in hsp2:
|
step by step to debug new subsheds:
|
|
Debug a single watershed
Do a group
|
Full CIA Run - Potomac
^ This is saying the land simulation needs to be run
^ This is saying the meteorology is there, just need to run the land simulation
^ note land_scenario is just the scenario name, hspf_cbp6 is the model Next step: run the river simulation:
Results
SELECT rseg.hydrocode AS "rseg.hydrocode",
model.pid AS "model.pid",
model.propname AS "model.propname",
model.propcode AS "model.propcode",
scenario.pid AS "scenario.pid",
scenario.propname AS "scenario.propname",
scenario.propcode AS "scenario.propcode",
Qout.propvalue AS "Qout"
FROM dh_properties as model
LEFT OUTER JOIN dh_properties as scenario
ON (model.pid = scenario.featureid)
LEFT OUTER JOIN dh_properties as Qout
ON (scenario.pid = Qout.featureid)
LEFT OUTER JOIN dh_feature as rseg
ON (model.featureid = rseg.hydroid)
WHERE model.propcode = 'cbp-6.0' AND scenario.propname = 'hsp2_2022' AND Qout.propname = 'Qout'
ORDER BY model.modified DESC
LIMIT 10; Count scenarios run SELECT COUNT(*)
FROM dh_properties as model
LEFT OUTER JOIN dh_properties as scenario
ON (model.pid = scenario.featureid)
LEFT OUTER JOIN dh_properties as Qout
ON (scenario.pid = Qout.featureid)
LEFT OUTER JOIN dh_feature as rseg
ON (model.featureid = rseg.hydroid)
WHERE model.propcode = 'cbp-6.0' AND scenario.propname = 'hsp2_2022' AND Qout.propname = 'Qout' AND rseg.hydrocode LIKE '%P%';
count
-------
39
(1 row) count number of segs:
|
Potomac Seg QA 2/15/23:
|
Potomac Seg QA2/28/23:
results:
3/1/23:
3/6/23:
|
Running an
hsp2
orhspf
scenarioSee also: how to set up a scenario HARPgroup/HARParchive#288 and HARPgroup/cbp_wsm#58
Overview
cbp get_landsegs PL3_5250_0001
../config/seglists/PL3_5250_0001.land no such file or directory
you should run the "basingen" command:cbp basingen.csh vadeq_2021 5250
Check if Land is already Run
scenario=vadeq_2021
basin=PL3_5250_0001
cbp check_land $scenario $basin
check_land [land_scenario] [river segment]
: https://github.com/HARPgroup/cbp_wsm/blob/p61st/run/useful/check_landcbp get_config [river scenario] river "LAND SCENARIO"
check_met
andcheck_river
,check_met
,check_prad
andcheck_land
: New Helper Functions cbp_wsm#84 give same guidance with regard to the scenario, i.e.MET
config for land will tell you the met scenario to check for runoff, and theMET
config for the river will tell you the met scenario used as direct precip/evap into river channels and impoundments.Code 1: Using
get_config
to determine land scenario for river scenario.Check Meteorology/PRAD Status
met_scen=`cbp get_config $scenario land MET`
cbp check_met $met_scen $basin
prad_scen=`cbp get_config $scenario land "PRECIP ATMOS DEPOSITION"`
cbp check_prad $prad_scen $basin
Code 2: Checking Land and river met scenario status.
Set Up Model Environment
Prepare Meteorology
Note: This is only done in the early spring each year, and during drought re-analysis, or if an error was found in old downloaded met data. Otherwise, this condition can be skipped.
Run Land Simulation
Run Land with HSPF (fast)
Run Land with HSP2 (slow, but detailed output)
Phase 6
Phase 5
Run a Full Basin River Simulation
Manual Method
Run with
mm_run_basin
nohup
-able process.Run Single river with auto temp dir
Run a headwater with specific temp dir
river
moduleRun the next downstream segment:
Run a small basin
river
moduleRun a basin with slurm dependency
The text was updated successfully, but these errors were encountered: