EcohydroLib  1.29
Todo List
Namespace ecohydrolib.metadata

Refactor storage of climate station to embedded database

Refactor storage of climate station to embedded database

Class ecohydrolib.metadata.GenericMetadata

Implement lock file semantics as decorators

Implement lock file semantics as decorators

Namespace ecohydrolib.spatialdata.utils

Refactor raster and vector functions into their own sub-packages Refactor bounding box as class

Refactor raster and vector functions into their own sub-packages Refactor bounding box as class

Member ecohydrolib::nhdplus2::networkanalysis.getCatchmentFeaturesForReaches

Detect and fix non-closed geometries, e.g. kalisti:archive miles$ ./GetCatchmentsForComidsSP.py -p test -c 10462287 Traceback (most recent call last): File "./GetCatchmentsForComidsSP.py", line 29, in <module> catchmentFilename, comid) File "/Users/miles/Dropbox/EarthCube-Multilayered/RHESSys-workflow/eclipse/EcohydroWorkflowLib/ecohydrolib/nhdplus2/networkanalysis.py", line 506, in getCatchmentFeaturesForComid outGeom = outGeom.Union( inGeom ) File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/osgeo/ogr.py", line 4065, in Union return _ogr.Geometry_Union(self, *args) RuntimeError: TopologyException: found non-noded intersection between LINESTRING (-77.9145 37.0768, -77.9147 37.0768) and LINESTRING (-77.9147 37.0768, -77.9145 37.0768) at -77.914621661942761 37.076822779115943

Detect and fix non-closed geometries, e.g. kalisti:archive miles$ ./GetCatchmentsForComidsSP.py -p test -c 10462287 Traceback (most recent call last): File "./GetCatchmentsForComidsSP.py", line 29, in <module> catchmentFilename, comid) File "/Users/miles/Dropbox/EarthCube-Multilayered/RHESSys-workflow/eclipse/EcohydroWorkflowLib/ecohydrolib/nhdplus2/networkanalysis.py", line 506, in getCatchmentFeaturesForComid outGeom = outGeom.Union( inGeom ) File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/osgeo/ogr.py", line 4065, in Union return _ogr.Geometry_Union(self, *args) RuntimeError: TopologyException: found non-noded intersection between LINESTRING (-77.9145 37.0768, -77.9147 37.0768) and LINESTRING (-77.9147 37.0768, -77.9145 37.0768) at -77.914621661942761 37.076822779115943

Detect and fix non-closed geometries, e.g. kalisti:archive miles$ ./GetCatchmentsForComidsSP.py -p test -c 10462287 Traceback (most recent call last): File "./GetCatchmentsForComidsSP.py", line 29, in <module> catchmentFilename, comid) File "/Users/miles/Dropbox/EarthCube-Multilayered/RHESSys-workflow/eclipse/EcohydroWorkflowLib/ecohydrolib/nhdplus2/networkanalysis.py", line 506, in getCatchmentFeaturesForComid outGeom = outGeom.Union( inGeom ) File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/osgeo/ogr.py", line 4065, in Union return _ogr.Geometry_Union(self, *args) RuntimeError: TopologyException: found non-noded intersection between LINESTRING (-77.9145 37.0768, -77.9147 37.0768) and LINESTRING (-77.9147 37.0768, -77.9145 37.0768) at -77.914621661942761 37.076822779115943

Detect and fix non-closed geometries, e.g. kalisti:archive miles$ ./GetCatchmentsForComidsSP.py -p test -c 10462287 Traceback (most recent call last): File "./GetCatchmentsForComidsSP.py", line 29, in <module> catchmentFilename, comid) File "/Users/miles/Dropbox/EarthCube-Multilayered/RHESSys-workflow/eclipse/EcohydroWorkflowLib/ecohydrolib/nhdplus2/networkanalysis.py", line 506, in getCatchmentFeaturesForComid outGeom = outGeom.Union( inGeom ) File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/osgeo/ogr.py", line 4065, in Union return _ogr.Geometry_Union(self, *args) RuntimeError: TopologyException: found non-noded intersection between LINESTRING (-77.9145 37.0768, -77.9147 37.0768) and LINESTRING (-77.9147 37.0768, -77.9145 37.0768) at -77.914621661942761 37.076822779115943

Namespace GenerateSoilPropertyRastersFromSOLIM

Recognize when DEM resolution is less than 10m, resample temporary DEM, run SOLIM with resampled DEM

Recognize when DEM resolution is less than 10m, resample temporary DEM, run SOLIM with resampled DEM

Namespace GetGHCNDailyClimateDataForBoundingboxCentroid

parse data files to determine start date, start time, and variables

parse data files to determine start date, start time, and variables

Namespace GetGHCNDailyClimateDataForStationsInBoundingbox

parse data files to determine start date, start time, and variables

parse data files to determine start date, start time, and variables

Namespace GetHYDRO1kDEMForBoundingbox

Debug case where t_srs is specified as NAD83, with unit degree, and 1000 is used as default DEM resolution

Debug case where t_srs is specified as NAD83, with unit degree, and 1000 is used as default DEM resolution

Namespace RegisterDEM

Add targer SRS, if present, call GDAL warp instead of just copying the file

Set date in provenance to file modification date

Add targer SRS, if present, call GDAL warp instead of just copying the file

Set date in provenance to file modification date

Namespace RegisterGage

Set date in provenance to file modification date

Set date in provenance to file modification date

Namespace RegisterRaster

Set date in provenance to file modification date

Set date in provenance to file modification date