Module Import alias Import alias ImportFrom alias identifier FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num Assign NameStore ListLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num Assign NameStore ListLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore NameLoad Assign SubscriptStore NameLoad ExtSlice Index Num Slice Num Assign SubscriptStore NameLoad ExtSlice Slice Index Num Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Num Assert Call AttributeLoad CompareEq SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad ExtSlice Slice Num Num Slice Num Num attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Num Assert Call AttributeLoad CompareEq SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad ExtSlice Slice Num Num Slice Num Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body With Call AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list
N/A N/A pytest N/A rasterio rasterio.mask mask mask_tool test_nodata N/A N/A basic_image_file basic_geometry N/A N/A N/A nodata_val 0 N/A geometries N/A basic_geometry N/A N/A N/A rasterio open basic_image_file r src N/A N/A N/A masked transform N/A mask_tool src geometries crop False nodata nodata_val invert True N/A N/A N/A N/A N/A masked data all nodata_val N/A test_no_nodata N/A N/A basic_image_file basic_geometry N/A N/A N/A default_nodata_val 0 N/A geometries N/A basic_geometry N/A N/A N/A rasterio open basic_image_file r src N/A N/A N/A masked transform N/A mask_tool src geometries crop False invert True N/A N/A N/A N/A N/A masked data all default_nodata_val N/A test_crop N/A N/A basic_image basic_image_file basic_geometry N/A N/A N/A geometries N/A basic_geometry N/A N/A N/A rasterio open basic_image_file r src N/A N/A N/A masked transform N/A mask_tool src geometries crop True N/A image basic_image N/A N/A image N/A N/A 4 N/A 0 N/A N/A image N/A N/A N/A 4 0 N/A N/A N/A masked shape N/A 1 4 3 N/A N/A N/A N/A N/A masked N/A 0 N/A image N/A N/A 1 5 N/A 2 5 all N/A test_crop_all_touched N/A N/A basic_image basic_image_file basic_geometry N/A N/A N/A geometries N/A basic_geometry N/A N/A N/A rasterio open basic_image_file r src N/A N/A N/A masked transform N/A mask_tool src geometries crop True all_touched True N/A N/A N/A masked shape N/A 1 4 3 N/A N/A N/A N/A N/A masked N/A 0 N/A basic_image N/A N/A 1 5 N/A 2 5 all N/A test_crop_and_invert N/A N/A basic_image_file basic_geometry N/A N/A N/A geometries N/A basic_geometry N/A N/A N/A rasterio open basic_image_file src N/A N/A N/A N/A pytest raises ValueError N/A N/A N/A masked transform N/A mask_tool src geometries crop True invert True N/A