EcohydroLib  1.29
Public Member Functions | Static Public Attributes | List of all members
ecohydrolib.command.dem.USGSWCSDEM Class Reference
Inheritance diagram for ecohydrolib.command.dem.USGSWCSDEM:
ecohydrolib.command.base.Command ecohydrolib.command.base.Command

Public Member Functions

def __init__
 Construct a USGSWCSDEM command. More...
 
def checkMetadata (self)
 Check to make sure the project directory has the necessary metadata to run this command. More...
 
def run (self, args, kwargs)
 Run the command: Acquire USGS DEM data. More...
 
def __init__
 Construct a USGSWCSDEM command. More...
 
def checkMetadata (self)
 Check to make sure the project directory has the necessary metadata to run this command. More...
 
def run (self, args, kwargs)
 Run the command: Acquire USGS DEM data. More...
 
- Public Member Functions inherited from ecohydrolib.command.base.Command
def __init__
 Construct a EcohydroLib abstract command. More...
 
def checkMetadata (self, args, kwargs)
 Check to make sure the project directory has the necessary metadata to run this command. More...
 
def run (self, args, kwargs)
 Run the command. More...
 
def __init__
 Construct a EcohydroLib abstract command. More...
 
def checkMetadata (self, args, kwargs)
 Check to make sure the project directory has the necessary metadata to run this command. More...
 
def run (self, args, kwargs)
 Run the command. More...
 

Static Public Attributes

tuple SUPPORTED_COVERAGES = ecohydrolib.usgs.demwcs.COVERAGES.keys()
 
 DEFAULT_COVERAGE = ecohydrolib.usgs.demwcs.DEFAULT_COVERAGE
 
 DEFAULT_RASTER_RESAMPLE_METHOD = ecohydrolib.usgs.demwcs.DEFAULT_RASTER_RESAMPLE_METHOD
 
 RASTER_RESAMPLE_METHOD = ecohydrolib.usgs.demwcs.RASTER_RESAMPLE_METHOD
 

Additional Inherited Members

- Public Attributes inherited from ecohydrolib.command.base.Command
 context
 
 outfp
 
 studyArea
 

Constructor & Destructor Documentation

def ecohydrolib.command.dem.USGSWCSDEM.__init__ (   self,
  projectDir,
  configFile = None,
  outfp = sys.stdout 
)

Construct a USGSWCSDEM command.

Arguments: projectDir – string The path to the project directory configFile – string The path to an EcohydroLib configuration file outfp – file-like object Where output should be written to

def ecohydrolib.command.dem.USGSWCSDEM.__init__ (   self,
  projectDir,
  configFile = None,
  outfp = sys.stdout 
)

Construct a USGSWCSDEM command.

Arguments: projectDir – string The path to the project directory configFile – string The path to an EcohydroLib configuration file outfp – file-like object Where output should be written to

Member Function Documentation

def ecohydrolib.command.dem.USGSWCSDEM.checkMetadata (   self)

Check to make sure the project directory has the necessary metadata to run this command.

def ecohydrolib.command.dem.USGSWCSDEM.checkMetadata (   self)

Check to make sure the project directory has the necessary metadata to run this command.

def ecohydrolib.command.dem.USGSWCSDEM.run (   self,
  args,
  kwargs 
)

Run the command: Acquire USGS DEM data.

Arguments: coverage – string Source dataset from which DEM tile should be extracted. outfile – string The name of the DEM file to be written. File extension ".tif" will be added. demResolution list<float>[2] Two floating point numbers representing the desired X and Y output resolution of soil property raster maps; unit: meters. srs – string Target spatial reference system of output, in EPSG:num format. verbose – boolean Produce verbose output. Default: False. overwrite – boolean Overwrite existing output. Default: False.

def ecohydrolib.command.dem.USGSWCSDEM.run (   self,
  args,
  kwargs 
)

Run the command: Acquire USGS DEM data.

Arguments: coverage – string Source dataset from which DEM tile should be extracted. outfile – string The name of the DEM file to be written. File extension ".tif" will be added. demResolution list<float>[2] Two floating point numbers representing the desired X and Y output resolution of soil property raster maps; unit: meters. srs – string Target spatial reference system of output, in EPSG:num format. verbose – boolean Produce verbose output. Default: False. overwrite – boolean Overwrite existing output. Default: False.

Member Data Documentation

ecohydrolib.command.dem.USGSWCSDEM.DEFAULT_COVERAGE = ecohydrolib.usgs.demwcs.DEFAULT_COVERAGE
static
ecohydrolib.command.dem.USGSWCSDEM.DEFAULT_RASTER_RESAMPLE_METHOD = ecohydrolib.usgs.demwcs.DEFAULT_RASTER_RESAMPLE_METHOD
static
ecohydrolib.command.dem.USGSWCSDEM.RASTER_RESAMPLE_METHOD = ecohydrolib.usgs.demwcs.RASTER_RESAMPLE_METHOD
static
tuple ecohydrolib.command.dem.USGSWCSDEM.SUPPORTED_COVERAGES = ecohydrolib.usgs.demwcs.COVERAGES.keys()
static

The documentation for this class was generated from the following file: