Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.81 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.81 KB

S1-Enumerator

Uses asf-search to enumerate Sentinel-1 A/B pairs for interferograms.

example

Also provides functions to check if a S1-GUNW exists in the ASF DAAC.

Install

  1. Clone this repo git clone https://github.com/ACCESS-Cloud-Based-InSAR/s1-enumerator.git
  2. Navigate with your terminal to the repo.
  3. Create a new environment and install requirements using conda env update --file environment.yml (or use mamba to speed install up)
  4. Install the package from cloned repo using python -m pip install -e .

Requires asf_search, geopandas, rasterio, requests, tqdm, and hyp3-sdk. See the environment.yml.

Usage

See notebooks for examples.

from s1_enumerator import distill_all_pairs, enumerate_ifgs

# Over Los Padres National Forest, CA
point = Point(-120.0048, 34.8923)
aoi = point.buffer(1)

# Get all data from ASF Search
ifg_pairs_tiles = enumerate_ifgs(aoi,
                                 min_reference_date=datetime.datetime(2021, 7, 9),
                                 enumeration_type='tile',
                                 min_days_backward = 364,
                                 num_neighbors_ref=3,
                                 num_neighbors_sec=1,
                                 temporal_window_days=60,
                                 min_ref_tile_overlap_perc=.2,
                                 min_tile_aoi_overlap_km2=1e3,
                                 minimum_path_intersection_km2=1e3,
                                 minimum_ifg_area_km2=3e4,
                                 entire_s1_catalog=False
                                 )
# Distill for Generating IFGs
df_pairs = distill_all_pairs(ifg_pairs_tiles)