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

Public Member Functions

def __init__
 Construct a USGSWCSNLCD 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 NLCD data from USGS WCS web service. More...
 
def __init__
 Construct a USGSWCSNLCD 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 NLCD data from USGS WCS web service. 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...
 

Public Attributes

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

Static Public Attributes

tuple SUPPORTED_COVERAGES = ecohydrolib.usgs.nlcdwcs.COVERAGES.keys()
 
 DEFAULT_COVERAGE = ecohydrolib.usgs.nlcdwcs.DEFAULT_COVERAGE
 

Constructor & Destructor Documentation

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

Construct a USGSWCSNLCD 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.landcover.USGSWCSNLCD.__init__ (   self,
  projectDir,
  configFile = None,
  outfp = sys.stdout 
)

Construct a USGSWCSNLCD 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.landcover.USGSWCSNLCD.checkMetadata (   self)

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

def ecohydrolib.command.landcover.USGSWCSNLCD.checkMetadata (   self)

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

def ecohydrolib.command.landcover.USGSWCSNLCD.run (   self,
  args,
  kwargs 
)

Run the command: Acquire NLCD data from USGS WCS web service.

Arguments: lctype – string Source dataset from which NLCD tile should be extracted. outfile – string The name of the NLCD file to be written. File extension ".tif" will be added. verbose – boolean Produce verbose output. Default: False. overwrite – boolean Overwrite existing output. Default: False.

def ecohydrolib.command.landcover.USGSWCSNLCD.run (   self,
  args,
  kwargs 
)

Run the command: Acquire NLCD data from USGS WCS web service.

Arguments: lctype – string Source dataset from which NLCD tile should be extracted. outfile – string The name of the NLCD file to be written. File extension ".tif" will be added. verbose – boolean Produce verbose output. Default: False. overwrite – boolean Overwrite existing output. Default: False.

Member Data Documentation

ecohydrolib.command.landcover.USGSWCSNLCD.DEFAULT_COVERAGE = ecohydrolib.usgs.nlcdwcs.DEFAULT_COVERAGE
static
ecohydrolib.command.landcover.USGSWCSNLCD.manifest
tuple ecohydrolib.command.landcover.USGSWCSNLCD.SUPPORTED_COVERAGES = ecohydrolib.usgs.nlcdwcs.COVERAGES.keys()
static

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