Edited downsampleDEM.py

Edited line 104 to remove the error ERROR 4: /home/bryanjim001/dem_test/Coarse_demLat_N15_N16_Lon_E120_E121.dem.wgs84.vrt: No such file or directory
Traceback (most recent call last):
  File "/home/bryanjim001/.conda/envs/isce2expe/bin/downsampleDEM.py", line 104, in <module>
    gdal2isce_xml(coarse_dem_envi+'.vrt')
  File "/home/bryanjim001/.conda/envs/isce2expe/lib/python3.9/site-packages/isce/applications/gdal2isce_xml.py", line 69, in gdal2isce_xml
    width = ds.RasterXSize
AttributeError: 'NoneType' object has no attribute 'RasterXSize'
LT1AB
Bryan Marfito 2022-08-03 19:32:08 +08:00 committed by GitHub
parent 34895d1761
commit cccb634997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -101,5 +101,4 @@ if __name__ == '__main__':
ds = None ds = None
# Generating the ISCE xml and vrt of this coarse DEM # Generating the ISCE xml and vrt of this coarse DEM
gdal2isce_xml(coarse_dem_envi+'.vrt') gdal2isce_xml(coarse_dem_envi)