Module Expr Str ImportFrom alias Import alias ImportFrom alias Import alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpNot CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpNot CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpNot CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpNot CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpNot CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num BinOpMod Str TupleLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A @package ecohydrolib.tests.test_metadata
    
    @brief Test methods for ecohydrolib.metadata
    
    This software is provided free of charge under the New BSD License. Please see
    the following license information:
    
    Copyright (c) 2013, 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>
    
    Usage: 
    @code
    python -m unittest test_metadata
    @endcode
    
 unittest TestCase N/A os datetime datetime N/A tempfile shutil ecohydrolib.context Context ecohydrolib.metadata GenericMetadata ecohydrolib.metadata ClimatePointStation ecohydrolib.metadata AssetProvenance ecohydrolib.metadata MetadataVersionError TestMetadata N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self projectDir N/A N/A tempfile mkdtemp N/A N/A self testMetadataPath N/A N/A N/A os path join N/A self projectDir N/A GenericMetadata METADATA_FILENAME N/A N/A N/A N/A os path exists N/A self testMetadataPath N/A N/A N/A N/A os unlink N/A self testMetadataPath N/A lockFilePath N/A N/A N/A os path join N/A self projectDir N/A GenericMetadata METADATA_LOCKFILE N/A N/A N/A N/A os path exists lockFilePath N/A N/A N/A N/A os unlink lockFilePath N/A N/A self context N/A Context projectDir N/A self projectDir N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A os path exists N/A self testMetadataPath N/A N/A N/A N/A os unlink N/A self testMetadataPath N/A lockFilePath N/A N/A N/A os path join /tmp N/A GenericMetadata METADATA_LOCKFILE N/A N/A N/A N/A os path exists lockFilePath N/A N/A N/A N/A os unlink lockFilePath N/A N/A N/A shutil rmtree N/A self projectDir N/A test_empty_read N/A N/A self N/A N/A N/A manifest N/A N/A GenericMetadata readManifestEntries N/A self context N/A N/A N/A self assertTrue N/A N/A len manifest 0 N/A studyArea N/A N/A GenericMetadata readStudyAreaEntries N/A self context N/A N/A N/A self assertTrue N/A N/A len studyArea 0 N/A climatePoint N/A N/A GenericMetadata readClimatePointEntries N/A self context N/A N/A N/A self assertTrue N/A N/A len climatePoint 0 N/A climateGrid N/A N/A GenericMetadata readClimateGridEntries N/A self context N/A N/A N/A self assertTrue N/A N/A len climateGrid 0 N/A test_write_and_read N/A N/A self N/A N/A N/A N/A N/A GenericMetadata writeManifestEntry N/A self context key1 value_one N/A N/A N/A GenericMetadata writeManifestEntry N/A self context key2 value_two N/A manifest N/A N/A GenericMetadata readManifestEntries N/A self context N/A N/A N/A self assertTrue N/A N/A manifest N/A key1 value_one N/A N/A N/A GenericMetadata writeStudyAreaEntry N/A self context key1 value_one N/A N/A N/A GenericMetadata writeStudyAreaEntry N/A self context key2 value_two N/A studyArea N/A N/A GenericMetadata readStudyAreaEntries N/A self context N/A N/A N/A self assertTrue N/A N/A studyArea N/A key1 value_one N/A N/A N/A GenericMetadata writeClimatePointEntry N/A self context key1 value_one N/A N/A N/A GenericMetadata writeClimatePointEntry N/A self context key2 value_two N/A climatePoint N/A N/A GenericMetadata readClimatePointEntries N/A self context N/A N/A N/A self assertTrue N/A N/A climatePoint N/A key1 value_one N/A N/A N/A GenericMetadata writeClimateGridEntry N/A self context key1 value_one N/A N/A N/A GenericMetadata writeClimateGridEntry N/A self context key2 value_two N/A climateGrid N/A N/A GenericMetadata readClimateGridEntries N/A self context N/A N/A N/A self assertTrue N/A N/A climateGrid N/A key1 value_one N/A N/A N/A GenericMetadata writeHydroShareEntry N/A self context resource_id fae3688aa1354fb2a558380669229a66 N/A hydroshare N/A N/A GenericMetadata readHydroShareEntries N/A self context N/A N/A N/A self assertTrue N/A N/A hydroshare N/A resource_id fae3688aa1354fb2a558380669229a66 N/A test_delete N/A N/A self N/A N/A N/A N/A N/A GenericMetadata writeManifestEntry N/A self context key1 value_one N/A manifest N/A N/A GenericMetadata readManifestEntries N/A self context N/A N/A N/A self assertTrue N/A N/A manifest N/A key1 value_one N/A N/A N/A GenericMetadata deleteManifestEntry N/A self context key1 N/A manifest N/A N/A GenericMetadata readManifestEntries N/A self context N/A N/A N/A self assertTrue N/A N/A key1 manifest N/A N/A N/A GenericMetadata writeStudyAreaEntry N/A self context key1 value_one N/A studyArea N/A N/A GenericMetadata readStudyAreaEntries N/A self context N/A N/A N/A self assertTrue N/A N/A studyArea N/A key1 value_one N/A N/A N/A GenericMetadata deleteStudyAreaEntry N/A self context key1 N/A studyArea N/A N/A GenericMetadata readStudyAreaEntries N/A self context N/A N/A N/A self assertTrue N/A N/A key1 studyArea N/A N/A N/A GenericMetadata writeClimatePointEntry N/A self context key1 value_one N/A climatePoint N/A N/A GenericMetadata readClimatePointEntries N/A self context N/A N/A N/A self assertTrue N/A N/A climatePoint N/A key1 value_one N/A N/A N/A GenericMetadata deleteClimatePointEntry N/A self context key1 N/A climatePoint N/A N/A GenericMetadata readClimatePointEntries N/A self context N/A N/A N/A self assertTrue N/A N/A key1 climatePoint N/A N/A N/A GenericMetadata writeClimateGridEntry N/A self context key1 value_one N/A climateGrid N/A N/A GenericMetadata readClimateGridEntries N/A self context N/A N/A N/A self assertTrue N/A N/A climateGrid N/A key1 value_one N/A N/A N/A GenericMetadata deleteClimateGridEntry N/A self context key1 N/A climateGrid N/A N/A GenericMetadata readClimateGridEntries N/A self context N/A N/A N/A self assertTrue N/A N/A key1 climateGrid N/A N/A N/A GenericMetadata deleteClimateGridEntry N/A self context not_in_store N/A N/A N/A GenericMetadata writeHydroShareEntry N/A self context resource_id fae3688aa1354fb2a558380669229a66 N/A hydroshare N/A N/A GenericMetadata readHydroShareEntries N/A self context N/A N/A N/A self assertTrue N/A N/A hydroshare N/A resource_id fae3688aa1354fb2a558380669229a66 N/A N/A N/A GenericMetadata deleteHydroShareEntry N/A self context resource_id N/A hydroshare N/A N/A GenericMetadata readHydroShareEntries N/A self context N/A N/A N/A self assertTrue N/A N/A resource_id hydroshare N/A test_write_climate_point1 N/A N/A self N/A N/A N/A  Test case where there is a single data file the station  N/A station N/A ClimatePointStation N/A N/A station type GHCN N/A N/A station id US1MDBL0027 N/A N/A station longitude -76.716 N/A N/A station latitude 39.317 N/A N/A station elevation 128.0 N/A N/A station name My station name N/A N/A station data clim.txt N/A N/A station startDate N/A N/A datetime strptime 201007 %Y%m N/A N/A station endDate N/A N/A datetime strptime 201110 %Y%m N/A N/A station variables N/A N/A ClimatePointStation VAR_PRECIP N/A ClimatePointStation VAR_SNOW N/A N/A N/A station writeToMetadata N/A self context N/A climatePointStation N/A N/A N/A GenericMetadata readClimatePointStations N/A self context N/A 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A station type lower N/A climatePointStation type N/A N/A N/A self assertTrue N/A N/A N/A N/A station id lower N/A climatePointStation id N/A N/A N/A self assertTrue N/A N/A station longitude N/A climatePointStation longitude N/A N/A N/A self assertTrue N/A N/A station latitude N/A climatePointStation latitude N/A N/A N/A self assertTrue N/A N/A station elevation N/A climatePointStation elevation N/A N/A N/A self assertTrue N/A N/A station name N/A climatePointStation name N/A N/A N/A self assertTrue N/A N/A station data N/A climatePointStation data N/A N/A N/A self assertTrue N/A N/A station startDate N/A climatePointStation startDate N/A N/A N/A self assertTrue N/A N/A station endDate N/A climatePointStation endDate N/A N/A N/A self assertTrue N/A N/A station variables N/A climatePointStation variables N/A test_write_climate_point1_overwrite N/A N/A self N/A N/A N/A  Test case where there is a single data file the station, the entry is overwritten  N/A station N/A ClimatePointStation N/A N/A station type GHCN N/A N/A station id US1MDBL0027 N/A N/A station longitude -76.716 N/A N/A station latitude 39.317 N/A N/A station elevation 128.0 N/A N/A station name My station name N/A N/A station data clim.txt N/A N/A station startDate N/A N/A datetime strptime 201007 %Y%m N/A N/A station endDate N/A N/A datetime strptime 201110 %Y%m N/A N/A station variables N/A N/A ClimatePointStation VAR_PRECIP N/A ClimatePointStation VAR_SNOW N/A N/A N/A station writeToMetadata N/A self context N/A climatePointStation N/A N/A N/A GenericMetadata readClimatePointStations N/A self context N/A 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A station type lower N/A climatePointStation type N/A N/A N/A self assertTrue N/A N/A N/A N/A station id lower N/A climatePointStation id N/A N/A N/A self assertTrue N/A N/A station longitude N/A climatePointStation longitude N/A N/A N/A self assertTrue N/A N/A station latitude N/A climatePointStation latitude N/A N/A N/A self assertTrue N/A N/A station elevation N/A climatePointStation elevation N/A N/A N/A self assertTrue N/A N/A station name N/A climatePointStation name N/A N/A N/A self assertTrue N/A N/A station data N/A climatePointStation data N/A N/A N/A self assertTrue N/A N/A station startDate N/A climatePointStation startDate N/A N/A N/A self assertTrue N/A N/A station endDate N/A climatePointStation endDate N/A N/A N/A self assertTrue N/A N/A station variables N/A climatePointStation variables N/A N/A station longitude -76.716 N/A N/A station latitude 39.317 N/A N/A station elevation 128.0 N/A N/A station name My (longer) station name N/A N/A station data clim.dat N/A N/A station startDate N/A N/A datetime strptime 201006 %Y%m N/A N/A station endDate N/A N/A datetime strptime 201310 %Y%m N/A N/A station variables N/A N/A ClimatePointStation VAR_PRECIP N/A ClimatePointStation VAR_SNOW N/A N/A N/A station writeToMetadata N/A self context N/A climatePointStation N/A N/A N/A GenericMetadata readClimatePointStations N/A self context N/A 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A station type lower N/A climatePointStation type N/A N/A N/A self assertTrue N/A N/A N/A N/A station id lower N/A climatePointStation id N/A N/A N/A self assertTrue N/A N/A station longitude N/A climatePointStation longitude N/A N/A N/A self assertTrue N/A N/A station latitude N/A climatePointStation latitude N/A N/A N/A self assertTrue N/A N/A station elevation N/A climatePointStation elevation N/A N/A N/A self assertTrue N/A N/A station name N/A climatePointStation name N/A N/A N/A self assertTrue N/A N/A station data N/A climatePointStation data N/A N/A N/A self assertTrue N/A N/A station startDate N/A climatePointStation startDate N/A N/A N/A self assertTrue N/A N/A station endDate N/A climatePointStation endDate N/A N/A N/A self assertTrue N/A N/A station variables N/A climatePointStation variables N/A test_write_climate_point2 N/A N/A self N/A N/A N/A  Test case where there are separate data files for each variable and there are two climate stations  N/A station N/A ClimatePointStation N/A N/A station type GHCN N/A N/A station id US1MDBL0027 N/A N/A station longitude -76.716 N/A N/A station latitude 39.317 N/A N/A station elevation 128.0 N/A N/A station name My station name N/A N/A station startDate N/A N/A datetime strptime 201007 %Y%m N/A N/A station endDate N/A N/A datetime strptime 201110 %Y%m N/A N/A station variables N/A N/A ClimatePointStation VAR_PRECIP N/A ClimatePointStation VAR_SNOW N/A N/A N/A station variablesData N/A N/A ClimatePointStation VAR_PRECIP N/A N/A ClimatePointStation VAR_PRECIP .txt N/A N/A N/A station variablesData N/A N/A ClimatePointStation VAR_SNOW N/A N/A ClimatePointStation VAR_SNOW .txt N/A N/A N/A station writeToMetadata N/A self context N/A station2 N/A ClimatePointStation N/A N/A station2 type GHCN N/A N/A station2 id US1MDBL4242 N/A N/A station2 longitude -42.716 N/A N/A station2 latitude 42.317 N/A N/A station2 elevation 42.0 N/A N/A station2 name My 42 station N/A N/A station2 startDate N/A N/A datetime strptime 199907 %Y%m N/A N/A station2 endDate N/A N/A datetime strptime 200110 %Y%m N/A N/A station2 variables N/A N/A ClimatePointStation VAR_PRECIP N/A ClimatePointStation VAR_SNOW N/A N/A N/A station2 variablesData N/A N/A ClimatePointStation VAR_PRECIP N/A N/A ClimatePointStation VAR_PRECIP .txt N/A N/A N/A station2 variablesData N/A N/A ClimatePointStation VAR_SNOW N/A N/A ClimatePointStation VAR_SNOW .txt N/A N/A N/A station2 writeToMetadata N/A self context N/A climatePointStation N/A N/A N/A GenericMetadata readClimatePointStations N/A self context N/A 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A station type lower N/A climatePointStation type N/A N/A N/A self assertTrue N/A N/A N/A N/A station id lower N/A climatePointStation id N/A N/A N/A self assertTrue N/A N/A station longitude N/A climatePointStation longitude N/A N/A N/A self assertTrue N/A N/A station latitude N/A climatePointStation latitude N/A N/A N/A self assertTrue N/A N/A station elevation N/A climatePointStation elevation N/A N/A N/A self assertTrue N/A N/A station name N/A climatePointStation name N/A N/A N/A self assertTrue N/A N/A station startDate N/A climatePointStation startDate N/A N/A N/A self assertTrue N/A N/A station endDate N/A climatePointStation endDate N/A N/A N/A self assertTrue N/A N/A station variables N/A climatePointStation variables N/A N/A N/A self assertTrue N/A N/A N/A station variablesData N/A N/A ClimatePointStation VAR_PRECIP N/A N/A climatePointStation variablesData N/A N/A ClimatePointStation VAR_PRECIP N/A N/A N/A self assertTrue N/A N/A N/A station variablesData N/A N/A ClimatePointStation VAR_SNOW N/A N/A climatePointStation variablesData N/A N/A ClimatePointStation VAR_SNOW N/A test_provenance N/A N/A self N/A N/A N/A  Test case writing provenance metadata  N/A asset N/A AssetProvenance N/A N/A asset section N/A GenericMetadata MANIFEST_SECTION N/A N/A asset name dem N/A N/A asset dcIdentifier dem.tif N/A N/A asset dcSource http://www.demexplorer.com/... N/A N/A asset dcTitle Study area DEM N/A N/A asset dcDate N/A N/A datetime strptime 201303 %Y%m N/A N/A asset dcPublisher USGS N/A N/A asset dcDescription RegisterDEM.py ... N/A N/A N/A asset writeToMetadata N/A self context N/A assetProvenance N/A N/A N/A GenericMetadata readAssetProvenanceObjects N/A self context N/A 0 N/A N/A N/A self assertTrue N/A N/A asset section N/A assetProvenance section N/A N/A N/A self assertTrue N/A N/A asset name N/A assetProvenance name N/A N/A N/A self assertTrue N/A N/A asset dcIdentifier N/A assetProvenance dcIdentifier N/A N/A N/A self assertTrue N/A N/A asset dcSource N/A assetProvenance dcSource N/A N/A N/A self assertTrue N/A N/A asset dcTitle N/A assetProvenance dcTitle N/A N/A N/A self assertTrue N/A N/A asset dcDate N/A assetProvenance dcDate N/A N/A N/A self assertTrue N/A N/A asset dcPublisher N/A assetProvenance dcPublisher N/A N/A N/A self assertTrue N/A N/A asset dcDescription N/A assetProvenance dcDescription N/A test_provenance_overwrite N/A N/A self N/A N/A N/A  Test case writing provenance metadata, with overwrite  N/A asset N/A AssetProvenance N/A N/A asset section N/A GenericMetadata MANIFEST_SECTION N/A N/A asset name dem N/A N/A asset dcIdentifier dem.tif N/A N/A asset dcSource http://www.demexplorer.com/... N/A N/A asset dcTitle Study area DEM N/A N/A asset dcDate N/A N/A datetime strptime 201303 %Y%m N/A N/A asset dcPublisher USGS N/A N/A asset dcDescription RegisterDEM.py ... N/A N/A N/A asset writeToMetadata N/A self context N/A assetProvenance N/A N/A N/A GenericMetadata readAssetProvenanceObjects N/A self context N/A 0 N/A N/A N/A self assertTrue N/A N/A asset section N/A assetProvenance section N/A N/A N/A self assertTrue N/A N/A asset name N/A assetProvenance name N/A N/A N/A self assertTrue N/A N/A asset dcIdentifier N/A assetProvenance dcIdentifier N/A N/A N/A self assertTrue N/A N/A asset dcSource N/A assetProvenance dcSource N/A N/A N/A self assertTrue N/A N/A asset dcTitle N/A assetProvenance dcTitle N/A N/A N/A self assertTrue N/A N/A asset dcDate N/A assetProvenance dcDate N/A N/A N/A self assertTrue N/A N/A asset dcPublisher N/A assetProvenance dcPublisher N/A N/A N/A self assertTrue N/A N/A asset dcDescription N/A assetProvenance dcDescription N/A N/A asset dcIdentifier foo.img N/A N/A asset dcSource http://a.different.url/... N/A N/A asset dcTitle A different study area DEM N/A N/A asset dcDate N/A N/A datetime strptime 201304 %Y%m N/A N/A asset dcPublisher NASA N/A N/A asset dcDescription GetDEMExplorerDEM.py ... N/A N/A N/A asset writeToMetadata N/A self context N/A assetProvenance N/A N/A N/A GenericMetadata readAssetProvenanceObjects N/A self context N/A 0 N/A N/A N/A self assertTrue N/A N/A asset section N/A assetProvenance section N/A N/A N/A self assertTrue N/A N/A asset name N/A assetProvenance name N/A N/A N/A self assertTrue N/A N/A asset dcIdentifier N/A assetProvenance dcIdentifier N/A N/A N/A self assertTrue N/A N/A asset dcSource N/A assetProvenance dcSource N/A N/A N/A self assertTrue N/A N/A asset dcTitle N/A assetProvenance dcTitle N/A N/A N/A self assertTrue N/A N/A asset dcDate N/A assetProvenance dcDate N/A N/A N/A self assertTrue N/A N/A asset dcPublisher N/A assetProvenance dcPublisher N/A N/A N/A self assertTrue N/A N/A asset dcDescription N/A assetProvenance dcDescription N/A test_processing_history N/A N/A self N/A N/A N/A  Test processing history metadata  N/A projectDir /tmp N/A step1 mkdir foo; cd foo N/A step2 touch README.txt N/A step3 git init N/A N/A N/A GenericMetadata appendProcessingHistoryItem N/A self context step1 N/A N/A N/A GenericMetadata appendProcessingHistoryItem N/A self context step2 N/A N/A N/A GenericMetadata appendProcessingHistoryItem N/A self context step3 N/A history N/A N/A GenericMetadata getProcessingHistoryList N/A self context N/A N/A N/A self assertTrue N/A N/A len history 3 N/A Expected history length to be 3, but it is %d N/A N/A len history N/A N/A N/A self assertTrue N/A N/A history N/A 0 step1 N/A N/A N/A self assertTrue N/A N/A history N/A 1 step2 N/A N/A N/A self assertTrue N/A N/A history N/A 2 step3 N/A test_version_conflict N/A N/A self N/A N/A N/A  Induce a version conflict  N/A step1 mkdir foo; cd foo N/A step2 touch README.txt N/A N/A N/A GenericMetadata appendProcessingHistoryItem N/A self context step1 N/A _prevVersion N/A GenericMetadata _ecohydrolibVersion N/A N/A GenericMetadata _ecohydrolibVersion 11 N/A caughtMetadataVersionError False N/A N/A N/A N/A N/A GenericMetadata appendProcessingHistoryItem N/A self context step2 N/A N/A N/A MetadataVersionError N/A N/A caughtMetadataVersionError True N/A N/A N/A self assertTrue caughtMetadataVersionError Expected metadata version mismatch, but none found. N/A N/A GenericMetadata _ecohydrolibVersion _prevVersion N/A test_check_metadata_version N/A N/A self N/A N/A N/A  Test check metadata version  N/A step1 mkdir foo; cd foo N/A N/A N/A GenericMetadata appendProcessingHistoryItem N/A self context step1 N/A N/A N/A GenericMetadata checkMetadataVersion N/A N/A self context projectDir N/A _prevVersion N/A GenericMetadata _ecohydrolibVersion N/A N/A GenericMetadata _ecohydrolibVersion 11 N/A caughtMetadataVersionError False N/A N/A N/A N/A N/A GenericMetadata checkMetadataVersion N/A N/A self context projectDir N/A N/A N/A MetadataVersionError N/A N/A caughtMetadataVersionError True N/A N/A N/A self assertTrue caughtMetadataVersionError Expected metadata version mismatch, but none found. N/A N/A GenericMetadata _ecohydrolibVersion _prevVersion N/A N/A