Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore NameLoad For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Assign NameStore NameLoad If CompareNotEq NameLoad Num body Continue Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore NameLoad For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Assign NameStore NameLoad If CompareNotEq NameLoad Num body Continue Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Return CompareNotEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad AugAssignBitOr NameStore Call NameLoad NameLoad NameLoad keyword NameLoad AugAssignBitOr NameStore Call NameLoad NameLoad NameLoad keyword NameLoad AugAssignBitOr NameStore Call NameLoad NameLoad NameLoad keyword NameLoad If NameLoad body If NameLoad body Print Str orelse Print Str Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Print Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A sys N/A os N/A argparse N/A shutil N/A pusher N/A splitter N/A scene_index_maker osgeo gdal fix_tiling N/A N/A scene_root files verbose N/A False N/A N/A ret False N/A filename files N/A N/A N/A N/A N/A filename endswith .TIF N/A N/A N/A ds N/A N/A gdal Open filename N/A N/A bx by N/A N/A N/A N/A ds GetRasterBand 1 GetBlockSize N/A ds None N/A N/A by 1 N/A N/A N/A ret True N/A N/A N/A splitter internally_compress filename verbose verbose N/A ret N/A fix_pyramid N/A N/A scene_root files verbose N/A False N/A N/A ret False N/A filename files N/A N/A N/A N/A N/A filename endswith .TIF N/A N/A N/A ds N/A N/A gdal Open filename N/A ov_count N/A N/A N/A N/A ds GetRasterBand 1 GetOverviewCount N/A ds None N/A N/A ov_count 0 N/A N/A N/A ret True N/A N/A N/A splitter build_pyramid filename verbose verbose N/A ret N/A fix_index N/A N/A scene_root scene_dir verbose N/A False N/A N/A index_filename N/A scene_dir /index.html N/A old_index N/A N/A N/A open index_filename read N/A N/A N/A scene_index_maker make_index scene_root scene_dir verbose verbose N/A new_index N/A N/A N/A open index_filename read N/A N/A new_index old_index N/A reprocess N/A N/A scene_root local_path verbose N/A False N/A N/A files N/A N/A N/A N/A os path join local_path x N/A x N/A N/A os listdir local_path N/A ret False N/A ret N/A fix_tiling scene_root files verbose verbose N/A ret N/A fix_pyramid scene_root files verbose verbose N/A ret N/A fix_index scene_root local_path verbose verbose N/A verbose N/A N/A ret N/A N/A Changes made, re-upload N/A N/A No changes made. N/A ret N/A get_parser N/A N/A N/A N/A N/A aparser N/A N/A argparse ArgumentParser description Reprocess a local, or s3 Landsat8 scene. N/A N/A N/A aparser add_argument -v --verbose action store_true help Generate verbose output N/A N/A N/A aparser add_argument --s3-path help Path on S3 to scene, ie. L8/011/022/LC8011022201509LGN00 N/A N/A N/A aparser add_argument --local-path help Path to local directory for local update. N/A aparser N/A main N/A N/A rawargs N/A N/A N/A args N/A N/A N/A get_parser parse_args rawargs N/A N/A N/A args s3_path None N/A N/A scene_root N/A N/A N/A os path basename N/A args s3_path N/A N/A args local_path scene_root N/A N/A N/A pusher pull_scene scene_root N/A args local_path verbose N/A args verbose N/A N/A N/A N/A args local_path None N/A N/A ERROR: Please specify one of --s3-path or --local-path N/A N/A N/A sys exit 1 N/A scene_root N/A N/A N/A os path basename N/A args local_path N/A upload N/A reprocess scene_root N/A args local_path verbose N/A args verbose N/A N/A upload N/A args s3_path N/A N/A scene_dict N/A N/A N/A N/A pusher push scene_root N/A args local_path scene_dict verbose N/A args verbose overwrite True N/A N/A args s3_path N/A N/A N/A N/A shutil rmtree N/A args local_path N/A N/A N/A __name__ __main__ N/A N/A status N/A main N/A N/A sys argv N/A 1 N/A N/A N/A sys exit status