Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOS profile tool: it is not working for some dataset #267

Open
webgisdeveloper opened this issue Mar 21, 2023 · 3 comments
Open

LOS profile tool: it is not working for some dataset #267

webgisdeveloper opened this issue Mar 21, 2023 · 3 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@webgisdeveloper
Copy link
Contributor

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

Salton_26513_12009-002_12022-003_0090d_s01_L090HH_01
start,33.40857,-115.63934
end,33.42686,-115.75195
azimuth,-79.0
length,10.650
Lon, Lat, Distance (km), Displacement, Elevation Angle
<!doctype html>
<html lang=en>
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
@webgisdeveloper webgisdeveloper added the bug Something isn't working label Mar 21, 2023
@webgisdeveloper webgisdeveloper self-assigned this Mar 21, 2023
@webgisdeveloper
Copy link
Contributor Author

webgisdeveloper commented Mar 21, 2023

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

@webgisdeveloper webgisdeveloper added the wontfix This will not be worked on label Apr 11, 2023
@webgisdeveloper
Copy link
Contributor Author

something wrong with the test code, seems not a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant