-
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
Land Model Post-Processing Workflow Summary #342
Comments
Update on data harvesting:
Use:
Batch scripts that run the Rscripts on an entire basin:Example basin: OR1_7700_7980, and scenario: hsp2_2022. Arguments for both batch scripts:
1. Land Segment Data Harvesting
Use:
2. Pervious Land Segment Data Summary and Analysis
Use:
Batch scripts for data harvesting and analyzing river segments can be found in issue: #312 Script to Export river h5s
|
Hey @juliabruneau -- the hard drive was finally filling up, so I finally responded and made the change to where the h5 files get stored after a model run. So, that means that the data harvesting scripts need to look in a slightly different file path:
|
I used the already working batch_harvest.bat script to check that the new path works & received this error:
Permission issue? |
That looks like a path issue, I don't think you ned to be able to write to the h5 in order to read it, but I will check that for sure. Can you give me the full command with paths, etc? |
This is what I used:
|
I've tried to reset the permiossions uin case they weren't already done (even tho I did them yesterday). No luck. Here are some observations:
|
@juliabruneau - I just verified that I can run the following commands manually from your tree (i.e. using your permissions), and they both work.
So, there must be:
FYI I added: |
Batch Script to Harvest Land Segment CSVsThis is the updated batch script:
Use: The iwater.csv's in their folder:
The new batch script to harvest river segment files is in issue #312 . |
Summary of Use for batch harvesting and pwater analysis scriptsbatch_harvest_land.bat batch_harvest_river.bat batch_analysis_pwater.bat |
Analyze the data for forest land use, median AGWC levels
|
The Complete Data Harvesting and Post-Processing Workflow with Examples
From issues: #261 and #280
Example land segment: A51019 , scenario: hsp2_2022, and landuse: for.
Rscript HARParchive/HARP-2022-Summer/AutomatedScripts/export_hsp_h5.R /opt/model/p53/p532c-sova/output/hspf/land/out/for/hsp2_2022/forA51019.h5 /opt/model/p53/p532c-sova/output/hspf/land/out/for/hsp2_2022/eos/forA51019_pwater.csv /RESULTS/PERLND_P001/PWATER/table
forA51019_pwater.csv
in/opt/model/p53/p532c-sova/output/hspf/land/out/for/hsp2_2022/eos
hsp_pwater.R
path to hsp_pwater.R
land_segment
scenario_name
landuse
output_file_path
image_file_path
Use:
Rscript HARParchive/HARP-2022-Summer/AutomatedScripts/hsp_pwater.R A51019 hsp2_2022 for /opt/model/p53/p532c-sova/output/hspf/land/out/for/hsp2_2022/eos/forA51019_pwater.csv /media/model/p532/out/land/hsp2_2022/images
fig.AGWS
fig.totalFlowOut
l90_Runit
l90_agwo_Runit
hsp_pwater_stats.R
path to hsp_pwater_stats.R
land_segment
scenario_name
landuse
output_file_path
image_file_path
Use:
Rscript HARParchive/HARP-2022-Summer/AutomatedScripts/hsp_pwater_stats.R A51019 hsp2_2022 for /opt/model/p53/p532csova/output/hspf/land/out/for/hsp2_2022/eos/forA51019_pwater.csv /media/model/p532/out/land/hsp2_2022/images
Output in VAHydro:
AGWS25perc
- containerfig.AGWS25perc
rsquared_25th
slope_25th
p_25th
AGWSmedian
- containerfig.AGWSmedian
rsquared_med
slope_med
p_med
fig.AGWSdecomp
The text was updated successfully, but these errors were encountered: