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 4cf8eb4 commit 1fd4a18Copy full SHA for 1fd4a18
openeogeotrellis/integrations/gdal.py
@@ -532,6 +532,8 @@ def read_gdal_info(asset_uri: str) -> GDALInfo:
532
if os.path.exists(asset_uri + GDALINFO_SUFFIX):
533
with open(asset_uri + GDALINFO_SUFFIX) as f:
534
data_gdalinfo = json.load(f)
535
+ # We can safely assume that this json is valid and return early.
536
+ return data_gdalinfo
537
538
if backend_config.gdalinfo_python_call:
539
start = time.time()
0 commit comments