Open Narayana-Rao opened 2 years ago
@Narayana-Rao Thanks for trying out isce3 and reporting this issue. I think that syntax is only valid in Python version 3.8, and I presume you're using an earlier version. We've already revised this part of the code in our development version to support Python 3.7. Maybe @gunter-jpl can suggest a workaround.
Yup, sorry, we had patched this issue internally but I neglected to sync the updates to the public repo.
I just pushed the latest changes to develop. @Narayana-Rao, the issue should now be resolved as of 42af64e. Can you checkout the latest version of the code and give it another try? Thanks!
Thank you @gmgunter and @bhawkins-jpl for the prompt response. I have tried with the updated version, and the count of failed tests is reduced to 6. The following is the list of failed tests (LastTest.log)
96% tests passed, 6 tests failed out of 166
Total Test time (real) = 202.93 sec
The following tests FAILED:
110 - test.python.pybind.geocode.radar_grid_cube (Failed)
153 - test.python.pkg.nisar.workflows.stage_dem (Failed)
154 - test.python.pkg.nisar.workflows.gcov (Failed)
156 - test.python.pkg.nisar.workflows.geocode_insar (Failed)
157 - test.python.pkg.nisar.workflows.gslc (Failed)
158 - test.python.pkg.nisar.workflows.insar (Failed)
Errors while running CTest
I think some version issues with GDAL. Except for stage_dem
(#5) all other tests are throwing the following error. I am using GDAL 2.4.0
E AttributeError: 'SpatialReference' object has no attribute 'GetName'
Hi @Narayana-Rao, thanks for pointing this out -- I wasn't aware of this issue.
It looks like you're correct that the issue has to do with the GDAL version. ISCE3 relies on the GetName()
method of osgeo.osr.SpatialReference
in order to populate some metadata of NISAR products. Unfortunately, although ISCE3 nominally supports GDAL>=2.3, it looks like this functionality actually requires GDAL>=3.0.
After some discussion with @gshiroma about the best path forward, I think we will be dropping support for GDAL 2.x. It's not clear to me that we can reproduce the functionality that we need w/ older GDAL versions, and GDAL 3.0 has been available for ~3 years now.
Could you please upgrade your GDAL version to 3.x in order to resolve this issue?
Thanks again for the report.
I am trying to install ISCE3 on a Debian GNU/Linux 10 machine. While checking the installation with ctest, I have encountered the following errors. Any help would be appreciated (LastTest.log ).
Most these failed tests has a common block of code