Closed cpranav93 closed 2 years ago
For the Exercise: Compare two ways of bounding box cropping,
TypeError Traceback (most recent call last) /mnt/c/Documents and Settings/PranavChandramouli/Documents/One Drive/OneDrive - Netherlands eScience Center/Projects/Course_Development/Geospatial_python/geospatial-python/Code_cells_check.ipynb Cell 66' in <cell line: 1>() ----> 1 raster_clip_polygon2 = true_color_image.rio.clip(polygon['geometry'], polygon.crs) 2 raster_clip_polygon2.plot.imshow()
TypeError: 'module' object is not subscriptable
Needs to be checked.
Fixed.
For the Exercise: Compare two ways of bounding box cropping,
The example code block gives the following error:
TypeError Traceback (most recent call last) /mnt/c/Documents and Settings/PranavChandramouli/Documents/One Drive/OneDrive - Netherlands eScience Center/Projects/Course_Development/Geospatial_python/geospatial-python/Code_cells_check.ipynb Cell 66' in <cell line: 1>() ----> 1 raster_clip_polygon2 = true_color_image.rio.clip(polygon['geometry'], polygon.crs) 2 raster_clip_polygon2.plot.imshow()
TypeError: 'module' object is not subscriptable
Needs to be checked.