Open Narayana-Rao opened 1 month ago
@Narayana-Rao
Transport_endpoint
sounds like you're trying to download directly to a path with the name bucket
in it. This is an S3 location, downloading very large files directly to S3 with wget/maap-py is not advised. Best practices would be to download to a local folder first.
Using this S1 example, I tested copying from EarthDataCloud.
Modified search to get the granule of interest:
results = maap.searchGranule(cmr_host="cmr.earthdata.nasa.gov",
short_name='SENTINEL-1A_SLC',
producer_granule_id="S1A_IW_SLC__1SDV_20190126T002213_20190126T002240_025641_02D8E5_6F5E",
limit=10,
)
In an ISCE2 workspace you might also need to set the host on maap
import (bug the current image points to dit)
maap = MAAP(maap_host="api.maap-project.org")
TODO: Test ISCE2 process, need more info from @Narayana-Rao on how to do that.
Thanks @wildintellect !
maap.downloadGranule()
is working fine to download the granules now.
However, the bus error still persist while processing. As suggested, i have avoided using buckets
either in input or output paths, by directly reading and writing to projects
folder.
projects
folder to store input data and processed dataSentinelWrapper.py
command from topsStack
workflowHere are the details of the error.
(isce2) root@workspace3xf7prc53yo79zll:~# ./run_files/run_01_unpack_topo_reference Completed Parsing the Configuration file Functions to be executed: ['Function-1', 'Function-2'] Running: Sentinel1_TOPS ['--dirname', '/projects/S1B_IW_SLC__1SDV_20180423T161524_20180423T161551_010613_0135DD_33F0.zip', '--swaths', '1 2 3', '--orbit', '/projects/orbits/20180423/S1B_OPER_AUX_POEORB_OPOD_20210312T225246_V20180422T225942_20180424T005942.EOF', '--outdir', '/projects/reference', '--auxdir', '/projects/aux', '--bbox', '19.4000 19.6000 -155.5000 -155.3000', '--pol', 'vv'] Using default ISCE Path: /opt/conda/envs/isce2/lib/python3.10/site-packages/isce Input XML files: ['/vsizip//projects/S1B_IW_SLC__1SDV_20180423T161524_20180423T161551_010613_0135DD_33F0.zip/S1B_IW_SLC__1SDV_20180423T161524_20180423T161551_010613_0135DD_33F0.SAFE/annotation/s1b-iw1-slc-vv-20180423t161526-20180423t161551-010613-0135dd-004.xml'] Input TIFF files: ['/vsizip//projects/S1B_IW_SLC__1SDV_20180423T161524_20180423T161551_010613_0135DD_33F0.zip/S1B_IW_SLC__1SDV_20180423T161524_20180423T161551_010613_0135DD_33F0.SAFE/measurement/s1b-iw1-slc-vv-20180423t161526-20180423t161551-010613-0135dd-004.tiff'] Manifest files: ['/vsizip//projects/S1B_IW_SLC__1SDV_20180423T161524_20180423T161551_010613_0135DD_33F0.zip/S1B_IW_SLC__1SDV_20180423T161524_20180423T161551_010613_0135DD_33F0.SAFE/manifest.safe'] MANS: /projects/S1B_IW_SLC__1SDV_20180423T161524_20180423T161551_010613_0135DD_33F0.zip S1B_IW_SLC__1SDV_20180423T161524_20180423T161551_010613_0135DD_33F0.SAFE/manifest.safe Setting IPF version to : 002.90 Extracting orbit from Orbit File: /projects/orbits/20180423/S1B_OPER_AUX_POEORB_OPOD_20210312T225246_V20180422T225942_20180424T005942.EOF Number of Bursts before cropping: 9 Number of Bursts after cropping: 3 /opt/conda/envs/isce2/lib/python3.10/site-packages/osgeo/gdal.py:287: FutureWarning: Neither gdal.UseExceptions() nor gdal.DontUseExceptions() has been explicitly called. In GDAL 4.0, exceptions will be enabled by default. warnings.warn( ./run_files/run_01_unpack_topo_reference: line 1: 1653 Bus error SentinelWrapper.py -c /projects/configs/config_reference
Unable to download or process Sentinel-1 SLC .zip files (~ 4GB)
If I try to download/copy any Sentinel-1 SLC .zip file to the workspace, the processing is breaking and reconnecting the workspace buckets.
To Reproduce Steps to reproduce the behavior:
Workaround to download We can download into the
/projects
directory but cannot copy/move the files for further processing.Bus error while processing While trying to process them directly from
/projects
directory using ISCE2 , I gotBus error
as shown below/projects/../projects/my-public-bucket/iscetest/s1stack/vv/run_files/run_01_unpack_topo_reference: line 1: 297 Bus error SentinelWrapper.py -c /projects/my-public-bucket/iscetest/s1stack/vv/configs/config_reference