Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword BinOpAdd Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A @package GetUSGSNLCDForBoundingbox

@brief Download NLCD 2006 or 2011 data hosted by U.S. Geological Survey Web 
Coverage Service (WCS) interface.

This software is provided free of charge under the New BSD License. Please see
the following license information:

Copyright (c) 2015, University of North Carolina at Chapel Hill
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution.
    * Neither the name of the University of North Carolina at Chapel Hill nor the
      names of its contributors may be used to endorse or promote products
      derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


@author Brian Miles <brian_miles@unc.edu>
 N/A sys N/A os N/A argparse N/A traceback ecohydrolib.command.exceptions * ecohydrolib.command.landcover USGSWCSNLCD KNOWN_LC_TYPES DEFAULT_LC_TYPE N/A N/A __name__ __main__ N/A N/A parser N/A N/A argparse ArgumentParser description Download NLCD data via USGS-hosted WCS web service N/A N/A N/A parser add_argument -i --configfile dest configfile required False help The configuration file. N/A N/A N/A parser add_argument -p --projectDir dest projectDir required True help The directory to which metadata, intermediate, and final files should be saved N/A N/A N/A parser add_argument -f --outfile dest outfile required False help The name of the DEM file to be written.  File extension ".tif" will be added. N/A N/A N/A parser add_argument -t --lctype dest lctype required False default DEFAULT_LC_TYPE choices KNOWN_LC_TYPES help N/A Type of NLCD landcover data to download.  N/A N/A Defaults to '{0}'. format DEFAULT_LC_TYPE N/A N/A N/A parser add_argument --overwrite dest overwrite action store_true required False help Overwrite existing data in project directory.  If not specified, program will halt if a dataset already exists. N/A N/A N/A parser add_argument -v --verbose dest verbose action store_true help Print detailed information about what the program is doing N/A args N/A N/A parser parse_args N/A configFile None N/A N/A args configfile N/A N/A configFile N/A args configfile N/A command N/A USGSWCSNLCD N/A args projectDir configFile N/A exitCode N/A os EX_OK N/A N/A N/A N/A N/A command run lctype N/A args lctype outfile N/A args outfile verbose N/A args verbose overwrite N/A args overwrite N/A N/A N/A CommandException N/A e N/A N/A N/A N/A traceback print_exc file N/A sys stderr N/A exitCode N/A os EX_DATAERR N/A N/A N/A sys exit exitCode