-
Notifications
You must be signed in to change notification settings - Fork 4
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
DHSVM groundwater output #1
Comments
map, snow map, depth to groundwater (Ronda and Christina) |
Not using 1915-2010 data - using SeYeun's model time periods instead. |
|
Number of Rows = 1020 # Number of rows snow ice |
#SBATCH --time=300:00:00 |
Draft matlab code for processing and checking that depth to water table values work as expected. See %Print Livneh data watertabledata=load('Map.Soil.TableDepth.asc'); dateswatertableCNRM45=load('dates-watertableCNRM45.txt'); % WATER TABLE DEPTH check length of data read in GCM='CNRM-CM5__rcp45'; %Print depth to groundwater data for i=3:mapcount % SNOW & ICE check length of data read in GCM='CNRM-CM5__rcp45'; %Print depth to groundwater data for i=3:mapcount SaveAsciiRaster(varname, header) |
It works!! |
@ChristinaB What does this mean in English? What worked? |
To Do by May 2, 2019
Steps: Read in header Loop through files Clip to model extent Calculate a probability distribution of each time period at each grid cell (150 m). Attach to landlab raster model grid Use the same distribution at 30 m resolution Coupling complete! Test input to landlab landsliding component. |
Updating before adding new sat extent files for the Skagit
Here is code for processing binary grid outputs into ascii files Number of Rows = 1020 # Number of rows Historic 44 year for depth to groundwater, 43 years for ice and snow depth to groundwater |
@NCristea |
@NCristea Hyak shuts down on May 14, so it won't let me start a two week run that won't finish in time. I am running for the next 150 hours, which may get a good way into the new runs. But we need to just develop the code to work from Map.Depth.X with inputs of rows, columns, and number of maps, and convert into ascii with names by date (see above). The final results won't be ready until end of May. |
See oxl.calculateUTMbounds() and oxl.mappingfileToRaster() functions in https://github.com/Freshwater-Initiative/Observatory/blob/master/ogh/ogh_xarray_landlab.py |
@NCristea you can download a zipped file of raster and ascii files and headers at this link: SCL Domain
|
Let's use this list to verify the dates in NetCDF DHSVM output/Landlab input using the Skagit input config files and Skagit data on HydroShare in GIS folder. https://www.hydroshare.org/resource/70d746c7da584ae6bd2f88deb5a4c188/ |
To Do - Run model for dates from Sauk extent (done - spatially representative for rain and rain-snow dominated area), Skagit extent (will bias toward snow melt days for max saturated event), GoodellCreek extent (will be specific to the fire; rain-snow focus). Is the landslide model sensitive? Does all of this matter? Or is Queen Slope the Master of the Slippery Future Universe? |
@NCristea |
Here is code for processing binary grid outputs into ascii files for Skagit Model Skagit List of Max Annual Dates - continuous 1960-2011 and from 2006-2099 for future data Number of Rows = 1020 # Number of rows Future 95 year for depth to groundwater, 61 years for ice and snow Historic 52 year for depth to groundwater, 43 years for ice and snow |
Script for converting binary to asciiforeach F(output_*) |
|
foreach F(output_SCLlandslide_bc*) |
|
|
The output for the Skagit model is uploaded in the Code
The text was updated successfully, but these errors were encountered: