### Run burst2stack with relative orbit and date range Source: https://github.com/asfhyp3/burst2safe/blob/develop/README.md Example command for running burst2stack for a specific area and date range. Requires specifying relative orbit, start and end dates, and extent. Other arguments like --pols, --swaths, --min-bursts, and --all-anns behave as in burst2safe. ```bash burst2stack --rel-orbit 64 --start-date 2020-06-03 --end-date 2020-06-17 --extent 53.57 27.54 53.78 27.60 ``` -------------------------------- ### Set up burst2safe development environment Source: https://github.com/asfhyp3/burst2safe/blob/develop/README.md Run these commands in sequence to clone the repository, create the conda environment, activate it, and install the package in development mode. ```bash git clone https://github.com/ASFHyP3/burst2safe.git cd burst2safe mamba env create -f environment.yml mamba activate burst2safe python -m pip install -e . ``` -------------------------------- ### Install burst2safe with pip Source: https://github.com/asfhyp3/burst2safe/blob/develop/README.md Installs the burst2safe package from PyPI using pip. ```bash pip install burst2safe ``` -------------------------------- ### Install burst2safe with conda Source: https://github.com/asfhyp3/burst2safe/blob/develop/README.md Installs the burst2safe package from the conda-forge channel using conda. ```bash conda install -c conda-forge burst2safe ``` -------------------------------- ### Identify changing IPF versions Source: https://github.com/asfhyp3/burst2safe/blob/develop/README.md Run this command from the activated mamba environment to identify which IPF versions result in different SAFE structures. It downloads large files and takes a while to run. ```bash python tests/etc/identify_ipf_differences.py identify_changing_versions ``` -------------------------------- ### Search bursts by orbit and extent Source: https://github.com/asfhyp3/burst2safe/blob/develop/README.md Runs burst2safe with an absolute orbit number and a bounding box extent. The --extent argument accepts minlon minlat maxlon maxlat or a path to a GDAL-compatible vector file. Optional arguments include --pols (default VV), --swaths (default all), --mode (default IW), --min-bursts, and --all-anns. The output SAFE is written to --output-dir, which defaults to the current directory. ```bash burst2safe --orbit 32861 --extent 53.57 27.54 53.78 27.60 ``` -------------------------------- ### burst2safe [burst granule IDs] Source: https://github.com/asfhyp3/burst2safe/blob/develop/README.md Runs burst2safe with specific burst granule IDs to merge into a SAFE file. ```APIDOC ## burst2safe [burst granule IDs] ### Description Runs burst2safe with specific burst granule IDs to merge into a SAFE file. This search is equivalent to the previous search. ### Method CLI ### Endpoint burst2safe ### Parameters #### Command Line Arguments - **burst granule IDs** (string) - Required - One or more burst granule IDs to be merged into a SAFE file. - **--pols** (string) - Optional - Polarizations to include. Options: `VV`, `VH`, `HV`, `HH`. Default: `VV`. - **--swaths** (string) - Optional - Swaths to include. Options: `IW1`, `IW2`, `IW3` for IW mode; `EW1`, `EW2`, `EW3`, `EW4`, `EW5` for EW mode. Default: all swaths. - **--mode** (string) - Optional - Acquisition mode. Options: `IW` or `EW`. Default: `IW`. - **--min-bursts** (integer) - Optional - Minimum number of bursts per polarization/swath combination. - **--all-anns** (flag) - Optional - Include all product annotation datasets in the SAFE file. Required for ISCE3/s1-reader compatibility. - **--output-dir** (string) - Optional - Directory for the output SAFE file. Default: current directory. ### Request Example ```bash burst2safe S1_136231_IW2_20200604T022312_VV_7C85-BURST S1_136232_IW2_20200604T022315_VV_7C85-BURST ``` ### Response #### Success Response - Output SAFE file created in the specified output directory. #### Error Handling - Raises an error if burst granules do not meet eligibility requirements (same acquisition mode, same absolute orbit, contiguous in time and space, same footprint for all polarizations). ``` -------------------------------- ### Merge specific burst granules Source: https://github.com/asfhyp3/burst2safe/blob/develop/README.md Runs burst2safe with specific burst granule IDs to merge into a SAFE file. This search is equivalent to the previous search. All burst granules must have the same acquisition mode, be from the same absolute orbit, be contiguous in time and space, and have the same footprint for all polarizations; otherwise the tool raises an error. ```bash burst2safe S1_136231_IW2_20200604T022312_VV_7C85-BURST S1_136232_IW2_20200604T022315_VV_7C85-BURST ``` -------------------------------- ### burst2safe --orbit --extent Source: https://github.com/asfhyp3/burst2safe/blob/develop/README.md Runs burst2safe with an orbit number and an area of interest specified as a bounding box or vector file. ```APIDOC ## burst2safe --orbit --extent ### Description Runs burst2safe with an absolute orbit number and an area of interest specified as a bounding box or a path to a GDAL-compatible vector file. ### Method CLI ### Endpoint burst2safe ### Parameters #### Command Line Arguments - **--orbit** (integer) - Required - Absolute orbit number of the Sentinel-1 data. - **--extent** (string) - Required - Area of interest as a bounding box in the format `minlon minlat maxlon maxlat` or a path to a GDAL-compatible vector file. - **--pols** (string) - Optional - Polarizations to include. Options: `VV`, `VH`, `HV`, `HH`. Default: `VV`. - **--swaths** (string) - Optional - Swaths to include. Options: `IW1`, `IW2`, `IW3` for IW mode; `EW1`, `EW2`, `EW3`, `EW4`, `EW5` for EW mode. Default: all swaths. - **--mode** (string) - Optional - Acquisition mode. Options: `IW` or `EW`. Default: `IW`. - **--min-bursts** (integer) - Optional - Minimum number of bursts per polarization/swath combination. - **--all-anns** (flag) - Optional - Include all product annotation datasets in the SAFE file. Required for ISCE3/s1-reader compatibility. - **--output-dir** (string) - Optional - Directory for the output SAFE file. Default: current directory. ### Request Example ```bash burst2safe --orbit 32861 --extent 53.57 27.54 53.78 27.60 ``` ### Response #### Success Response - Output SAFE file created in the specified output directory. #### Error Handling - Raises an error if burst granules do not meet eligibility requirements (same acquisition mode, same absolute orbit, contiguous in time and space, same footprint for all polarizations). ```