We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c46ef1 commit 2caa5e1Copy full SHA for 2caa5e1
geemap/common.py
@@ -11592,12 +11592,7 @@ def image_to_numpy(image):
11592
11593
gdal.UseExceptions()
11594
11595
- handler = gdal.PushErrorHandler("CPLQuietErrorHandler")
11596
-
11597
- try:
11598
- yield handler
11599
- finally:
11600
- gdal.PopErrorHandler()
+ gdal.PushErrorHandler("CPLQuietErrorHandler")
11601
11602
if not os.path.exists(image):
11603
raise FileNotFoundError("The provided input file could not be found.")
0 commit comments