
在该网站https://github.com/ASFHyP3/burst2safe学习如何下载并安装
建议用conda装比较好,容易下载数据
先建一个burst2safe的虚拟环境,然后装一下软件
(base) wangxin@wangxindeMac-mini ~ % conda activate burst2safe
(burst2safe) wangxin@wangxindeMac-mini ~ % conda install -c conda-forge burst2safe
验证安装是否成功
burst2safe) wangxin@wangxindeMac-mini ~ % burst2safe -h
usage: burst2safe [-h] [--orbit ORBIT] [--extent EXTENT [EXTENT ...]]
[--pols POLS [POLS ...]] [--swaths SWATHS [SWATHS ...]]
[--mode MODE] [--min-bursts MIN_BURSTS] [--all-anns]
[--output-dir OUTPUT_DIR] [--keep-files]
[granules ...]
Convert a set of ASF burst SLCs to the ESA SAFE format. You can either provide
a list of burst granules, or define a burst group by providing the absolute
orbit number, extent, and polarizations arguments.
positional arguments:
granules List of bursts to convert to SAFE
options:
-h, --help show this help message and exit
--orbit ORBIT Absolute orbit number of the bursts
--extent EXTENT [EXTENT ...]
Bounds (W S E N in lat/lon) or geometry file
describing spatial extent
--pols POLS [POLS ...]
Polarizations to include (i.e., VV VH). Default: VV
--swaths SWATHS [SWATHS ...]
Swaths to include (i.e., IW1 IW2 IW3). Defaults to all
swaths.
--mode MODE Collection mode to use (IW or EW). Default: IW
--min-bursts MIN_BURSTS
Minimum # of bursts per swath/polarization.
--all-anns Include product annotations files for all swaths,
regardless of included bursts.
--output-dir OUTPUT_DIR
Output directory to save to
--keep-files Keep the intermediate files
(burst2safe) wangxin@wangxindeMac-mini ~ %
跑一下自己的区域,比如这是柳州区域
burst2stack --rel-orbit 157 --start-date 2014-01-01 --end-date 2025-05-25 --swaths IW3 --extent 109.21 24.3 109.31 24.4

