selimnairb / rhessysworkflows Goto Github PK
View Code? Open in Web Editor NEWRHESSysWorkflows provides Python scripts for building RHESSys models
RHESSysWorkflows provides Python scripts for building RHESSys models
If binary for current platform isn't available, compile it.
Acquire MODIS data from SOAP web service provided by ORNL DAAC:
If you get an error message similar to:
Downloading/unpacking pytz (from OWSLib)
Could not find a version that satisfies the requirement pytz (from OWSLib) (from versions: 2007i, 2009j, 2011e, 2009u, 2009r, 2009i, 2005m, 2010h, 2013b, 2011c, 2010k, 2012b, 2009g, 2010g, 2012g, 2012f, 2009f, 2010b, 2009d, 2006g, 2009e, 2011j, 2009i, 2010e, 2007d, 2008c, 2008h, 2008i, 2011n, 2005m, 2011e, 2010l, 2009p, 2008h, 2010b, 2009u, 2008c, 2006j, 2009f, 2005m, 2009g, 2010g, 2010h, 2007c, 2009i, 2007k, 2008g, 2009j, 2007i, 2008i, 2006p, 2009p, 2010k, 2007f, 2008i, 2008g, 2007d, 2010l, 2007k, 2007g, 2009g, 2007c, 2009n, 2009e, 2008a, 2006g, 2009a, 2010l, 2007k, 2007c, 2009r, 2009p, 2006j, 2011j, 2006g, 2009n, 2009u, 2005k, 2007i, 2011b, 2013b, 2005k, 2006p, 2010b, 2005r, 2006j, 2009n, 2009l, 2008h, 2009d, 2008b, 2010o, 2008b, 2011k, 2009a, 2009r, 2010k, 2007f, 2008a, 2008a, 2008b, 2009e, 2007d, 2011g, 2005r, 2012c, 2011c, 2012g, 2011n, 2011g, 2010h, 2011k, 2012d, 2009f, 2010g, 2011e, 2012c, 2008c, 2007g, 2012c, 2009l, 2011n, 2012g, 2012j, 2009a, 2009l, 2011h, 2012f, 2010e, 2011g, 2012j, 2011d, 2010e, 2011c, 2012j, 2005k, 2011d, 2007g, 2012f, 2011j, 2012b, 2013d, 2009d, 2005r, 2010o, 2013b, 2011k, 2006p, 2013d, 2012d, 2012h, 2011h, 2012d, 2011h, 2008g, 2009j, 2007f, 2012b, 2011d, 2012h, 2013d, 2010o, 2004b)
Cleaning up...
No distributions matching the version for pytz (from OWSLib)
Storing complete log in /Users/miles/.pip/pip.log
Try installing using the "--pre" option:
sudo pip install --pre rhessysworkflows
The roof problem is caused by a package that rhessysworkflows depends on, and is described here: selimnairb/EcohydroLib#4
With luck the broken package will be fixed, requiring no changes to rhessysworkflows/ecohydrolib.
vegetation parameters, e.g., CN, stemc_leafc ratio, SLA,... etc in both allometric file and veg.def in the database are in-consistent, specially the non-veg and evergreen.
Scripts need to support file paths with escaped spaces.
Add option to CreateWorldfile to skip template generation if a template already exists.
Data needed (should be in GIS files with required fields/info)
Old .o and binary files should be removed before compilation is attempted.
Added tests for wcs4dem
RHESSysPlotMassbalance.py fails when observed data has a blank line at the end of file.
Example command line:
RHESSysPlotMassbalance.py -n test_massbalance -o Baisman_data/RHESSys_USGS_01583580_Baisman-20070101_20130930.txt -d Baisman_10m/rhessys/output/test/rhessys_basin.daily -t "Massbalance - Baisman 10-m test" --figureX 8 --figureY 6 --color
Suggestion. The grep to check for nan after the creation of a world file should be embedded in it with a warning printed if nan is encountered so simplify the flow for a user.
Hello,
I've meen following the RHESSysWorkflows provided and reached the point where I need to Acquire terrain data from U.S. Geological Survey .. however, when I enter the prompt ""GetUSGSDEMForBoundingbox.py -p standard"" it shows an error message that the command not found. How can I solve this?
UPDATE ::
I used the command prompt "sudo pip install rhessysworkflows --upgrade --force-reinstall" and then previous command became available. However, now I am receiveing a new error message:
Since I am using the virtual machine provided by "UNC RHESSys workshop – April 2014" PDF file, I assumed that everything should be installed already. Nonetheless, I tried to start the instalation from the beginning and was faced with another error messages that goes in the lines of "access denied" and "are you root?".
Please help me solve my issue!
Non-file parameters, such as CreateGRASSLocationFromDEM.py's -d option, are expended into absolute paths if they happen to match the name of a file/directory name in the current directory.
In ImportRHESSysSource, ParamDB can only be obtained from GitHub at this point. To allow for customized workflows, users must be able to use their own local copies of the ParamDB database.
The DEM Explorer service queried by GetDEMExplorerDEMForBoundingbox occasionally goes down for maintenance. In such cases, queries for DEM data may result not in a binary DEM, but in an XML error message such as:
Can not read the source DEM files. The errors were caused by failed RAID connection or incorrect configration.
Current, such an error causes GetDEMExplorer... to fail with the following unhelpful error:
ERROR 4: `/Users/miles/Dropbox/EarthCube-Multilayered/RHESSys-workflow/scratchspace/standard/DEM-TEMP.tif' not recognised as a supported file format.
Traceback (most recent call last):
File "/Users/miles/Dropbox/EarthCube-Multilayered/RHESSys-workflow/eclipse/EcohydroWorkflowLib/bin/GetDEMExplorerDEMForBoundingbox.py", line 153, in
demSrs = getSpatialReferenceForRaster(tmpDEMFilepath)
File "/Users/miles/Dropbox/EarthCube-Multilayered/RHESSys-workflow/eclipse/EcohydroWorkflowLib/ecohydrolib/spatialdata/utils.py", line 747, in getSpatialReferenceForRaster
return (pixelWidth, pixelHeight, linearUnitsName, linearUnitsConversionFactor, pszProjection, epsgStr)
UnboundLocalError: local variable 'epsgStr' referenced before assignment
Instead of failing like this, GetDEMExplorerDEM... should check the content type of the data returned and report the appropriate error to the user.
Add script RunGRASSCmd.py, that would allow you to run GRASS commands against the GRASS location and mapset associated with your project directory, without having to start up GRASS.
Traceback (most recent call last): File "/usr/local/bin/PatchToCumulativeMap.py", line 359, in <module> ax.legend( data_plt, args.outputFile, 'upper left', fontsize='x-small', ncol=1, frameon=False) File "/usr/local/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 536, in legend raise TypeError('Invalid arguments to legend.') TypeError: Invalid arguments to legend.
Add support for parameterizing green infrastructure for a RHESSys model via GI Notebook.
RunLAIRead is currently limited to point time series data.
Add ability to incorporate percent impervious data from NLCD into world files, setting the Ksat vertical multiplier.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.