Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str ListLoad Str ListLoad Str Str Str ListLoad Str ListLoad Str Str Str ListLoad Str Str Str ListLoad Str Str Str Str ListLoad Str ListLoad Str Str Str ListLoad Str Str Str ListLoad Str Str Str Str ListLoad Str Str Str Str Str Str ListLoad Str Str ListLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str ListLoad Num ListLoad Num Num ListLoad Num Num Num ListLoad Num Assign NameStore Dict TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num Str Str Str Str Str Str Str Assign NameStore Dict TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num ListLoad Str Str Str ListLoad Str ListLoad Str Str ListLoad Str Str Str Str Str Str ListLoad Str Str ListLoad Str ListLoad Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad If Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr body Raise Call NameLoad Str Assert CompareIs AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assert AttributeLoad NameLoad attr Str Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assert UnaryOpNot AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assert CompareEq NameLoad NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assert CompareIn NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num orelse Assign NameStore Str Assign NameStore BinOpMod Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse TryExcept body Expr Call AttributeLoad NameLoad attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad For NameStore SubscriptLoad NameLoad Index NameLoad body Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad For NameStore SubscriptLoad NameLoad Index NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad NameLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr Call NameLoad
N/A N/A 
    test_abstract_ingester.py - tests for the top level ingestion algorithm
 N/A re N/A os N/A logging N/A unittest N/A subprocess N/A dbutil cube_util DatasetError abstract_ingester AbstractIngester N/A LOGGER N/A N/A logging getLogger __name__ N/A N/A N/A LOGGER setLevel N/A logging INFO N/A TEMP_TILE_DIR temp_tile_dir N/A DATASET_PATH_DICT N/A single_path multi_path skip_one skip_two skip_three skip_four rollback_one rollback_two rollback_three rollback_four mixed_ops no_paths empty N/A path1 N/A path1 path2 path3 N/A skip1 N/A path1 skip2 path3 N/A path1 path2 skip3 N/A skip1 skip2 path3 path4 N/A rollback1 N/A path1 rollback2 path3 N/A path1 path2 rollback3 N/A path1 path2 rollback3 rollback4 N/A rollback1 rollback2 path3 path4 skip5 skip6 N/A rollback1 skip2 N/A N/A DATASET_DICT N/A path1 path2 path3 path4 dataset1 dataset2 dataset3 dataset4 N/A TILE_TYPE_DICT N/A dataset1 dataset2 dataset3 dataset4 N/A 1 N/A 1 2 N/A 1 2 3 N/A 4 N/A BANDS_DICT N/A N/A dataset1 1 N/A dataset2 1 N/A dataset2 2 N/A dataset3 1 N/A dataset3 2 N/A dataset3 3 N/A dataset4 4 bands1.1 bands2.1 bands2.2 bands3.1 bands3.2 bands3.3 bands4.4 N/A COVERAGE_DICT N/A N/A dataset1 1 N/A dataset2 1 N/A dataset2 2 N/A dataset3 1 N/A dataset3 2 N/A dataset3 3 N/A dataset4 4 N/A tile1 empty2 tile3 N/A tile4 N/A tile5 tile6 N/A tile1 tile2 tile3 tile4 empty5 empty6 N/A tile7 empty8 N/A empty9 N/A tile4 DummyCollection N/A object N/A N/A Dummy collection class for testing. __init__ N/A N/A self N/A N/A N/A N/A self tiles N/A N/A check_metadata N/A N/A self dataset N/A N/A N/A Raise a DatasetError if the dataset path starts with 'skip'. N/A N/A N/A LOGGER info Check metadata. N/A N/A N/A re match ^skip N/A dataset dataset_path N/A N/A N/A DatasetError Testing skip dataset. N/A get_temp_tile_directory N/A N/A self N/A N/A N/A N/A N/A LOGGER info Get temporary tile directory. N/A N/A N/A LOGGER info     returning: '%s' TEMP_TILE_DIR N/A TEMP_TILE_DIR N/A begin_transaction N/A N/A self N/A N/A N/A N/A N/A LOGGER info Begin transaction. N/A commit_transaction N/A N/A self N/A N/A N/A N/A N/A LOGGER info Commit transaction. N/A rollback_transaction N/A N/A self N/A N/A N/A N/A N/A LOGGER info Rollback transaction. N/A create_acquisition_record N/A N/A self dataset N/A N/A N/A N/A N/A LOGGER info Create acquistion record: N/A N/A N/A LOGGER info     dataset = %s dataset N/A acquisition_record N/A DummyAcquisitionRecord self dataset N/A N/A N/A LOGGER info     returning: %s acquisition_record N/A acquisition_record N/A create_tile_contents N/A N/A self tile_type_id tile_footprint band_stack N/A N/A N/A N/A N/A LOGGER info Create tile contents: N/A N/A N/A LOGGER info     tile_type_id = %s tile_type_id N/A N/A N/A LOGGER info     tile_footprint = %s tile_footprint N/A N/A N/A LOGGER info     band_stack = %s band_stack N/A tile_contents N/A DummyTileContents tile_type_id tile_footprint band_stack N/A N/A N/A LOGGER info     returning: %s tile_contents N/A tile_contents N/A print_tiles N/A N/A self N/A N/A N/A Print the final tile list to the log file. N/A N/A print_tiles output tiles N/A self tiles N/A N/A DummyAcquisitionRecord N/A object N/A N/A Dummy aquisition record class for testing. __init__ N/A N/A self collection dataset N/A N/A N/A N/A self collection collection N/A N/A self dataset dataset N/A __str__ N/A N/A self N/A N/A N/A N/A [AcquisitionRecord %s] N/A self dataset N/A create_dataset_record N/A N/A self dataset N/A N/A N/A Raise a DatasetError if the dataset path starts with 'rollback'. N/A N/A N/A LOGGER info Create dataset record: N/A N/A N/A LOGGER info     dataset = %s dataset N/A N/A N/A re match ^rollback N/A dataset dataset_path N/A N/A N/A DatasetError Testing transaction rollback. N/A N/A N/A self dataset dataset Mismatched datasets in acquisition record. N/A dataset_record N/A DummyDatasetRecord N/A self collection N/A self dataset N/A N/A N/A LOGGER info     returning: %s dataset_record N/A dataset_record N/A N/A DummyDatasetRecord N/A object N/A N/A Dummy dataset record class for testing. __init__ N/A N/A self collection dataset N/A N/A N/A N/A self collection collection N/A N/A self dataset_id N/A DATASET_DICT N/A N/A dataset dataset_path N/A __str__ N/A N/A self N/A N/A N/A N/A [DatasetRecord %s] N/A self dataset_id N/A mark_as_tiled N/A N/A self N/A N/A N/A N/A N/A LOGGER info %s: mark as tiled. self N/A list_tile_types N/A N/A self N/A N/A N/A N/A N/A LOGGER info %s: list tile types. self N/A tile_types N/A TILE_TYPE_DICT N/A N/A self dataset_id N/A N/A N/A LOGGER info     returning: %s tile_types N/A tile_types N/A get_tile_bands N/A N/A self tile_type_id N/A N/A N/A N/A N/A LOGGER info %s: get tile bands: self N/A N/A N/A LOGGER info     tile_type_id = %s tile_type_id N/A tile_bands N/A BANDS_DICT N/A N/A N/A self dataset_id tile_type_id N/A N/A N/A LOGGER info     returning: %s tile_bands N/A tile_bands N/A get_coverage N/A N/A self tile_type_id N/A N/A N/A N/A N/A LOGGER info %s: get_coverage: self N/A N/A N/A LOGGER info     tile_type_id = %s tile_type_id N/A coverage N/A COVERAGE_DICT N/A N/A N/A self dataset_id tile_type_id N/A N/A N/A LOGGER info     returning: %s coverage N/A coverage N/A create_tile_record N/A N/A self tile_contents N/A N/A N/A N/A N/A LOGGER info %s: create tile record: self N/A N/A N/A LOGGER info     tile_contents = %s tile_contents N/A N/A DummyTileRecord N/A self collection N/A self dataset_id tile_contents N/A N/A DummyTileRecord N/A object N/A N/A Dummy tile record class for testing. __init__ N/A N/A self collection dataset_id tile_contents N/A N/A N/A Creates a dummy tile record, and adds the tile to the
        collection tile list. N/A N/A self collection collection N/A N/A self dataset_id dataset_id N/A N/A self tile_footprint N/A tile_contents tile_footprint N/A N/A self band_list N/A N/A tile_contents band_stack band_list N/A N/A tile_contents reprojected Expected tile_contents to have been reprojected. N/A tile_tuple N/A N/A self dataset_id N/A self tile_footprint N/A self band_list N/A N/A N/A N/A N/A self collection tiles append tile_tuple N/A __str__ N/A N/A self N/A N/A N/A N/A [TileRecord %s %s %s] N/A N/A self dataset_id N/A self tile_footprint N/A self band_list N/A make_mosaics N/A N/A self N/A N/A N/A N/A N/A LOGGER info %s: make mosaics self N/A N/A DummyTileContents N/A object N/A N/A Dummy tile contents class for testing. __init__ N/A N/A self tile_type_id tile_footprint band_stack N/A N/A N/A N/A self tile_type_id tile_type_id N/A N/A self tile_footprint tile_footprint N/A N/A self band_stack band_stack N/A N/A self reprojected False N/A N/A self removed False N/A N/A band_stack vrt_built Expected band_stack to have had a vrt built. N/A __str__ N/A N/A self N/A N/A N/A N/A [TileContents %s %s %s] N/A N/A self tile_type_id N/A self tile_footprint N/A self band_stack N/A reproject N/A N/A self N/A N/A N/A N/A N/A LOGGER info %s: reproject self N/A N/A self reprojected True N/A has_data N/A N/A self N/A N/A N/A Returns False if the tile footprint starts with 'empty',
        True otherwise. N/A N/A N/A LOGGER info %s: has_data self N/A N/A N/A self removed N/A %s: has been removed. self N/A result N/A bool N/A N/A N/A re match ^empty N/A self tile_footprint N/A N/A N/A LOGGER info     returning: %s result N/A result N/A remove N/A N/A self N/A N/A N/A N/A N/A LOGGER info %s: remove self N/A N/A self removed True N/A N/A DummyDataset N/A object N/A N/A Dummy dataset class for testing. __init__ N/A N/A self dataset_path N/A N/A N/A N/A self dataset_path dataset_path N/A __str__ N/A N/A self N/A N/A N/A N/A [Dataset %s] N/A self dataset_path N/A get_x_ref N/A N/A self N/A N/A N/A None N/A get_y_ref N/A N/A self N/A N/A N/A None N/A get_start_datetime N/A N/A self N/A N/A N/A None N/A stack_bands N/A N/A self band_list N/A N/A N/A N/A N/A LOGGER info %s: stack_bands: self N/A N/A N/A LOGGER info     band_list = %s band_list N/A band_stack N/A DummyBandStack band_list N/A N/A N/A LOGGER info     returning: %s band_stack N/A band_stack N/A N/A DummyBandStack N/A object N/A N/A Dummy band stack class for testing. __init__ N/A N/A self band_list N/A N/A N/A N/A self band_list band_list N/A N/A self vrt_built False N/A __str__ N/A N/A self N/A N/A N/A N/A [BandStack %s] N/A self band_list N/A buildvrt N/A N/A self temp_dir N/A N/A N/A N/A N/A LOGGER info %s: buildvrt: self N/A N/A N/A LOGGER info     temp_dir = '%s' temp_dir N/A N/A temp_dir TEMP_TILE_DIR N/A Unexpected temp_dir, should be '%s'. TEMP_TILE_DIR N/A N/A self vrt_built True N/A N/A DummyIngester N/A AbstractIngester N/A N/A Dummy Ingester subclass for testing. __init__ N/A N/A self collection N/A N/A N/A Initialise the source_dir cache then call Ingester init N/A N/A self source_dir None N/A N/A N/A AbstractIngester __init__ self collection collection N/A find_datasets N/A N/A self source_dir N/A N/A N/A Cache source directory then return dummy dataset paths. N/A N/A N/A LOGGER info Ingester: find datasets N/A N/A N/A LOGGER info     source_dir = %s source_dir N/A N/A self source_dir source_dir N/A dataset_list N/A DATASET_PATH_DICT N/A source_dir N/A N/A N/A LOGGER info     returning: %s dataset_list N/A dataset_list N/A open_dataset N/A N/A self dataset_path N/A N/A N/A Check dataset_path then return dummy dataset object. N/A N/A N/A LOGGER info Ingester: open dataset N/A N/A N/A LOGGER info     dataset_path = %s dataset_path N/A N/A dataset_path N/A DATASET_PATH_DICT N/A N/A self source_dir Unexpected dataset path while opening dataset. N/A dataset N/A DummyDataset dataset_path N/A N/A N/A LOGGER info     returning: %s dataset N/A dataset N/A N/A print_tiles N/A N/A title tiles N/A N/A N/A Print a list of tiles to the log file. N/A N/A N/A LOGGER info N/A N/A N/A LOGGER info %s: title N/A tile tiles N/A N/A N/A N/A LOGGER info     %s tile N/A TestIngester N/A N/A unittest TestCase N/A N/A Unit test for the AbstractIngester class.

    This is a partially abstract class, so the DummyIngester subclass
    (defined above) is actually under test here. N/A MODULE abstract_ingester N/A SUITE TestIngester N/A OUTPUT_DIR N/A N/A dbutil output_directory MODULE SUITE N/A EXPECTED_DIR N/A N/A dbutil expected_directory MODULE SUITE setUp N/A N/A self N/A N/A N/A match N/A N/A re search \.([^\.]+)$ N/A N/A self id N/A match N/A N/A name N/A N/A match group 1 N/A N/A name TestIngester N/A logfile_name N/A %s.log name N/A N/A self logfile_path N/A N/A N/A os path join N/A self OUTPUT_DIR logfile_name N/A N/A self expected_path N/A N/A N/A os path join N/A self EXPECTED_DIR logfile_name N/A N/A self handler N/A N/A logging FileHandler N/A self logfile_path mode w N/A N/A N/A N/A self handler setLevel N/A logging INFO N/A N/A N/A N/A self handler setFormatter N/A N/A logging Formatter %(message)s N/A root_logger N/A N/A logging getLogger N/A N/A N/A root_logger addHandler N/A self handler N/A N/A N/A root_logger setLevel N/A logging DEBUG N/A N/A self collection N/A DummyCollection N/A N/A self ingester N/A DummyIngester N/A self collection N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self handler flush N/A root_logger N/A N/A logging getLogger N/A N/A N/A root_logger removeHandler N/A self handler N/A check_log_file N/A N/A self N/A N/A N/A If an expected logfile exists, check to see if it matches. N/A N/A N/A N/A self handler flush N/A N/A N/A N/A N/A os path isfile N/A self expected_path N/A N/A N/A N/A self skipTest Expected log file not found. N/A N/A N/A N/A N/A N/A subprocess check_output N/A diff N/A self logfile_path N/A self expected_path N/A N/A N/A N/A subprocess CalledProcessError N/A err N/A N/A N/A N/A self fail N/A Log file does not match the expected log file:
 N/A err output N/A remove_log_file N/A N/A self N/A N/A N/A Remove the logfile from the output directory. N/A N/A N/A os remove N/A self logfile_path N/A check_tiles N/A N/A self source_dir N/A N/A N/A Check the tiles recorded in the collection against expectations. N/A output_tiles N/A N/A self collection tiles N/A expected_tiles N/A N/A self generate_tiles source_dir N/A N/A N/A self assertEqual N/A set output_tiles N/A set expected_tiles N/A generate_tiles N/A N/A source_dir N/A N/A N/A Generate the expected tiles for a given source directory.

        This replicates the ingest algorithm, only it is much simpler
        because it only has to deal with the test data. N/A tiles N/A N/A dataset_path N/A DATASET_PATH_DICT N/A source_dir N/A N/A N/A N/A N/A re match (skip)|(rollback) dataset_path N/A N/A dataset_id N/A DATASET_DICT N/A dataset_path N/A tile_type_id N/A TILE_TYPE_DICT N/A dataset_id N/A N/A tup N/A dataset_id tile_type_id N/A bands N/A BANDS_DICT N/A tup N/A tile_footprint N/A COVERAGE_DICT N/A tup N/A N/A N/A N/A N/A re match empty tile_footprint N/A N/A N/A N/A tiles append N/A dataset_id tile_footprint bands N/A tiles N/A staticmethod test_single_path_tiles N/A N/A self N/A N/A N/A Test for a single dataset path: check tiles. N/A N/A N/A N/A self ingester ingest single_path N/A N/A N/A self check_tiles single_path N/A N/A N/A self remove_log_file N/A test_multi_path_tiles N/A N/A self N/A N/A N/A Test for multiple dataset paths: check tiles. N/A N/A N/A N/A self ingester ingest multi_path N/A N/A N/A self check_tiles multi_path N/A N/A N/A self remove_log_file N/A test_skip_one_tiles N/A N/A self N/A N/A N/A Test for skipped datasets, test one: check tiles. N/A N/A N/A N/A self ingester ingest skip_one N/A N/A N/A self check_tiles skip_one N/A N/A N/A self remove_log_file N/A test_skip_two_tiles N/A N/A self N/A N/A N/A Test for skipped datasets, test two: check tiles. N/A N/A N/A N/A self ingester ingest skip_two N/A N/A N/A self check_tiles skip_two N/A N/A N/A self remove_log_file N/A test_skip_three_tiles N/A N/A self N/A N/A N/A Test for skipped datasets, test three: check tiles. N/A N/A N/A N/A self ingester ingest skip_three N/A N/A N/A self check_tiles skip_three N/A N/A N/A self remove_log_file N/A test_skip_four_tiles N/A N/A self N/A N/A N/A Test for skipped datasets, test four: check tiles. N/A N/A N/A N/A self ingester ingest skip_four N/A N/A N/A self check_tiles skip_four N/A N/A N/A self remove_log_file N/A test_rollback_one_tiles N/A N/A self N/A N/A N/A Test for transaction rollback, test one: check tiles. N/A N/A N/A N/A self ingester ingest rollback_one N/A N/A N/A self check_tiles rollback_one N/A N/A N/A self remove_log_file N/A test_rollback_two_tiles N/A N/A self N/A N/A N/A Test for transaction rollback, test two: check tiles. N/A N/A N/A N/A self ingester ingest rollback_two N/A N/A N/A self check_tiles rollback_two N/A N/A N/A self remove_log_file N/A test_rollback_three_tiles N/A N/A self N/A N/A N/A Test for transaction rollback, test three: check tiles. N/A N/A N/A N/A self ingester ingest rollback_three N/A N/A N/A self check_tiles rollback_three N/A N/A N/A self remove_log_file N/A test_rollback_four_tiles N/A N/A self N/A N/A N/A Test for transaction rollback, test four: check tiles. N/A N/A N/A N/A self ingester ingest rollback_four N/A N/A N/A self check_tiles rollback_four N/A N/A N/A self remove_log_file N/A test_mixed_ops_tiles N/A N/A self N/A N/A N/A Test for mixed dataset operations: check tiles. N/A N/A N/A N/A self ingester ingest mixed_ops N/A N/A N/A self check_tiles mixed_ops N/A N/A N/A self remove_log_file N/A test_no_paths_tiles N/A N/A self N/A N/A N/A Test for source directory with no valid datasets: check tiles. N/A N/A N/A N/A self ingester ingest no_paths N/A N/A N/A self check_tiles no_paths N/A N/A N/A self remove_log_file N/A test_empty_tiles N/A N/A self N/A N/A N/A Test for source directory with no datasets: check tiles. N/A N/A N/A N/A self ingester ingest empty N/A N/A N/A self check_tiles empty N/A N/A N/A self remove_log_file N/A test_single_path_log N/A N/A self N/A N/A N/A Test for a single dataset path: check tiles. N/A N/A N/A N/A self ingester ingest single_path N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_multi_path_log N/A N/A self N/A N/A N/A Test for multiple dataset paths: check log file. N/A N/A N/A N/A self ingester ingest multi_path N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_skip_one_log N/A N/A self N/A N/A N/A Test for skipped datasets, test one: check log file. N/A N/A N/A N/A self ingester ingest skip_one N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_skip_two_log N/A N/A self N/A N/A N/A Test for skipped datasets, test two: check log file. N/A N/A N/A N/A self ingester ingest skip_two N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_skip_three_log N/A N/A self N/A N/A N/A Test for skipped datasets, test three: check log file. N/A N/A N/A N/A self ingester ingest skip_three N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_skip_four_log N/A N/A self N/A N/A N/A Test for skipped datasets, test four: check log file. N/A N/A N/A N/A self ingester ingest skip_four N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_rollback_one_log N/A N/A self N/A N/A N/A Test for transaction rollback, test one: check log file. N/A N/A N/A N/A self ingester ingest rollback_one N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_rollback_two_log N/A N/A self N/A N/A N/A Test for transaction rollback, test two: check log file. N/A N/A N/A N/A self ingester ingest rollback_two N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_rollback_three_log N/A N/A self N/A N/A N/A Test for transaction rollback, test three: check log file. N/A N/A N/A N/A self ingester ingest rollback_three N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_rollback_four_log N/A N/A self N/A N/A N/A Test for transaction rollback, test four: check log file. N/A N/A N/A N/A self ingester ingest rollback_four N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_mixed_ops_log N/A N/A self N/A N/A N/A Test for mixed dataset operations: check log file. N/A N/A N/A N/A self ingester ingest mixed_ops N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_no_paths_log N/A N/A self N/A N/A N/A Test for source directory with no valid datasets: check log file. N/A N/A N/A N/A self ingester ingest no_paths N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A test_empty_log N/A N/A self N/A N/A N/A Test for source directory with no datasets: check log file. N/A N/A N/A N/A self ingester ingest empty N/A N/A N/A N/A self collection print_tiles N/A N/A N/A self check_log_file N/A N/A the_suite N/A N/A N/A N/A N/A Returns a test suite of all the tests in this module. N/A test_classes N/A TestIngester N/A suite_list N/A map N/A N/A unittest defaultTestLoader loadTestsFromTestCase test_classes N/A suite N/A N/A unittest TestSuite suite_list N/A suite N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A N/A unittest TextTestRunner verbosity 2 run N/A the_suite