Open webgisdeveloper opened 1 year ago
error from profile tool, it seems the location is totally wrong or something else
/mnt/SGG/G1/NAS/QuakeSim/insar/geotiff/uid_294/uid294_unw.tiff
ERROR 5: /mnt/SGG/G1/NAS/QuakeSim/insar/geotiff/uid_294/uid294_unw.tiff, band 1: Access window out of range in RasterIO(). Requested
(9944,-12960) of size 1x1 on raster of 30878x6900.
Traceback (most recent call last):
File "/home/geogateway/lostool/gdaldemo/profiletool_testsource.py", line 266, in <module>
main()
File "/home/geogateway/lostool/gdaldemo/profiletool_testsource.py", line 257, in main
profile = gdalprofiletool(uid,path,resolution,debug=False)
File "/home/geogateway/lostool/gdaldemo/profiletool_testsource.py", line 184, in gdalprofiletool
value = data[0,0]
TypeError: 'NoneType' object is not subscriptable
something wrong with the test code, seems not a bug
may with uid<1000
https://geo-gateway.org/geogateway_django_app/UAVSAR_csv/?uid=294&dataname=Salton_26513_12009-002_12022-003_0090d_s01_L090HH_01&lat1=33.40857&lon1=-115.63934&lat2=33.42686&lon2=-115.75195&losLength=10.650&azimuth=-79.0