Giter Club home page Giter Club logo

rhessysworkflows's People

Contributors

leonard-psu avatar selimnairb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rhessysworkflows's Issues

Installation fail under pip 1.4+

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.

IUHM input data for watershed

Data needed (should be in GIS files with required fields/info)

  1. Conduit (shp file)
    • ID
    • Diameter
    • Upstream Junction ID
    • Upstream Invert elevation
    • Downstream Junction ID
    • Downstream Invert elevation
    • Length
  2. Junctions (shp file)
    • ID
  3. Inlets (shp file)
    • ID
  4. Watershed (shp file)
    • Boundary
  5. Impervious Data
    • Imperviousness
  6. DEM
  7. Soil data (shp file)
    • Soil type
    • Soil class
    • Mean Effective Porosity qe
    • std Mean Effective Porosity qe
    • mean suction [cm/hr]
    • std suction
    • hydra conductivity K [cm]
  8. Landuse Data

RHESSysPlotMassbalance.py fails when observed data has a blank line at the end of file

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

Embed nan check in CreateWorldfile

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.

Some comments on Before you Arrive

  1. On a PC unzipping is a two step process. The first unzip results in the file RHESSysWorkflows-VM-201501.tar. Unzipping this again is needed to obtain the folder with virtual machine files.
  2. When I first opened the virtual machine. I received the error "Failed to open a session for the virtual machine ... Implementation of the USB 2.0 controller not found!
    To resolve this I went to settings USB and unchecked the Enable USB 2.0 EHCI Controller that was checked by default. Then the machine launched.
    untitled

GetUSGSDEMForBoundingbox.py: command not found (UPDATED) still DEM not downloading!

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?

untitled

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:

untitled2

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!

Allow use of local copies of ParamDB

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.

DEM Explorer: Gracefully handle cases where DEM data are not returned

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.

Create RunGRASSCmd.py

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.

PatchToCumulativeMap error in creating legend

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.