-
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
Output files #243
Comments
Update: New scenario called hsp2_2022 created in the directory |
Trees in forA51800
(*) tables in each subcategory |
from #237 DEFINITIONS: A51800.h5This includes what the data points look like from the HDFView tables RESULTS/PERLND_P001/PWATER/tableAGWET = evapotranspiration from groundwater [in/interval] AGWI = active groundwater inflow [in/ivld] AGWLI = active groundwater lateral inflow [in/ivld] AGWO = active groundwater outflow [in/interval] AGWS = active groundwater storage at the start of the interval [in] BASET = E-T taken for active groundwater outflow (baseflow) [in/ivld] CEPE = evap. From interception storage [in/ivld] CEPS = interception storage [in] GWVS = index to groundwater slope [in] IFWI = interflow inflow (excluding lateral) [in/ivld] IFWLI = interflow lateral inflow [in/ivld] IFWO = interflow outflow [in/interval] IFWS = interflow storage at the start of the interval [in] IGWI = inflow to inactive (deep) GW [in/ivld] INFFAC = factor to account for frozen ground effects, if applicable [none] INFIL = infiltration to the soil [in/ivld] LZET = E-T from lower zone [in/ivld] (does E-T mean evapotranspiration here?) LZI = lower zone inflow [in/ivld] LZLI = lower zone lateral inflow [in/ivld] LZS = initial lower zone storage [in] PERC = percolation from upper to lower zone [in/ivld] PERO = total outflow from PLS [in/ivld] (what is PLS? - It is a “Pervious Land Segment”) PERS = total water stored in the PLS [in] PET = potential E-T, adjusted for snow cover and air temperature [in/ivld] PETADJ = adjustment factor for potential ET [no units (fraction)] SUPY = water supply to soil surface [in/ivld] SURI = surface inflow [in/ivld] SURLI = surface lateral inflow [in/ivld] SURO = surface outflow [in/ivld] SURS = surface detention storage [in] TAET = total simulated E-T [in/ivld] TGWS = total groundwater storage [in] UZET = E-T from upper zone [in/ivld] UZI = upper zone inflow [in/ivld] UZLI = upper zone lateral inflow [in/ivld] UZS = upper zone storage [in] RESULTS/PERLND_P001/ATEMP/tableAIRTMP = corrected air temperature [degrees F] GATMP = air temperature at gage [degrees F] RESULTS/PERLND_P001/SNOW/tableALBEDO = reflectivity of snowpack (only available if SNOPFG = 0) [none] CONVINX = snow cover index [in] DEWTMP = dew point [degrees F] DULL = dullness index of snowpack, available if SNOPFG = 0) [none] MELT = quantity of melt from PACKF [in/ivld] NEGHTS = negative heat storage [in] PACK = total contents of pack (water equivalent) [in] PACKF = frozen contents of the pack (snow and ice) [in] PACKI = ice in pack [in] PACKW = liquid water in pack [in] PAKTMP = mean temperature of the snowpack [degrees F] PDEPTH = pack depth [in] PRAIN = rainfall directly onto the snowpack [in/ivld] RAINF = rainfall [in/ivld] RDENPF = relative density of frozen contents of pack (PACKF/PDEPTH) [none] SKYCLR = fraction of sky assumed clear [none] SNOCOV = fraction of land segment covered by pack [none] SNOTMP = max air temperature for which snowfall occurs [degrees F] SNOWE = evaporation from PACKF (sublimation) [in/ivld] SNOWF = snowfall [in/invld] WYIELD = water yielded by the pack (released to the land-surface) [in/ivld] XLNMLT = maximum increment to ice in pack [in] |
Generating .csv's From .h5 Files in Online hsp2_2022 Directory (with timestamps!)We were able to take the PWATER table from the RESULTS group of A51800.h5 and turn it into a .csv with converted timestamps through the method below:
For reference, this is Glenn's error while following the same workflow that was successful for Megan yesterday:
|
I was able to connect to the directory, but these are all the errors I received in R...
|
We are still receiving the same error even after Rob's effort to fix it. |
@juliabruneau thansk for the extensive details on this. I think for now we should limit our exports to the "PWATER" series for land models. Everyone -- I believe we're in business. For real this time. :) Update from Analysts: yes we are in business, all of us are now able to write .csv files to the online index/directory hsp2_2022 without accessibility errors |
Overview
One work product will be to define the format that we will output for river segment model files, and land Segment model files. The output formats will contain a mixture of columns representing the data that comes out of the model and its raw form, as well as some things that may be derived products where we calculate something and add a column with the results, or in some cases just a renamed, or "alias" version of one of the standard model output columns.
One reason for aliasing, the main reason really, is that we have existing model post processing routines that expect certain call names in the files that they analyze. Qout is one of these, which is the outflow from a river segment at any time step.
General
Write R script to harvest values and save to csv
HYDR
Use columns already defined in #237
File: [uci base]_hydr.csv
Path: /media/model/p6/out/river/[scenario]/stream/
Ex: OR1_7700_7980_hydr.csv
PERLND
Default to all outputs in a single tree. Describe trees found in the forA51037.h5 file here.
File: [uci base]_perlnd_pwater.csv
Ex: forA51037_perlnd_pwater.csv
Path: /media/model/p6/out/land/[scenario]/eos/
Note: we need to create a scenario for these, we will name it hsp2_2022
The text was updated successfully, but these errors were encountered: