AriaTS_setup

100 views
Skip to first unread message

Nourma

unread,
Nov 13, 2023, 11:21:28 PM11/13/23
to MintPy
Hello All

I am trying to run the code for AriaTS_setup . when I hit the command:

!ariaTSsetup.py -f 'products/*.nc' -b '36.97 39.04 35.73 38.99' -d Download --mask Download

I got this error:

All (45) GUNW products meet spatial bbox criteria. Group GUNW products into spatiotemporally continuous interferograms. All (15) interferograms are spatially continuous. Thread count specified for gdal multiprocessing = 2 /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] Download/cropping DEM /home/jovyan/.local/ARIA-tools/tools/ARIAtools/shapefile_util.py:70: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. if file_bbox.type == 'Polygon': file_bbox = [file_bbox] Traceback (most recent call last): File "/home/jovyan/.local/ARIA-tools/tools/bin/ariaTSsetup.py", line 18, in <module> main(inps) File "/home/jovyan/.local/ARIA-tools/tools/ARIAtools/tsSetup.py", line 432, in main inps.demfile, demfile, Latitude, Longitude = prep_dem( ^^^^^^^^^ File "/home/jovyan/.local/ARIA-tools/tools/ARIAtools/extractProduct.py", line 355, in prep_dem gdal.Warp(aria_dem, demfilename, format=outputFormat, File "/home/jovyan/.local/envs/earthscope_insar/lib/python3.11/site-packages/osgeo/gdal.py", line 776, in Warp srcDSTab = [Open(srcDSOrSrcDSTab)] ^^^^^^^^^^^^^^^^^^^^^ File "/home/jovyan/.local/envs/earthscope_insar/lib/python3.11/site-packages/osgeo/gdal.py", line 4716, in Open return _gdal.Open(*args) ^^^^^^^^^^^^^^^^^ RuntimeError: `./DEM/SRTM_3arcsec_uncropped.tif' not recognized as a supported file format.

Any help please, I already have API key and the DEM file in my directory just has the file
SRTM_3arcsec_uncropped.tif' thanks

Eric Fielding

unread,
Nov 15, 2023, 10:38:59 AM11/15/23
to MintPy
This error message usually means that the SRTM data download from OpenTopography was unsuccessful. The file `./DEM/SRTM_3arcsec_uncropped.tif` is probably a text file with an additional error message about what failed.

Eric Fielding

unread,
Nov 15, 2023, 10:51:58 AM11/15/23
to MintPy
It is better to ask questions about the ARIA-tools software on the ARIA-tools GitHub site https://github.com/aria-tools/ARIA-tools/issues where the developers can see your questions. 

Nariman Mohammad

unread,
Nov 15, 2023, 10:53:54 AM11/15/23
to min...@googlegroups.com
Thank you so much Eric . I'll post it now.

--
You received this message because you are subscribed to a topic in the Google Groups "MintPy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mintpy/jT-Tp_3JiyE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mintpy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mintpy/d7ea3a0e-c3b8-489b-b4ae-dcd7cdf292ban%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages