Skip to content

Commit

Permalink
more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq committed Feb 22, 2024
1 parent aa63e57 commit d33589d
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ python -m hyp3_isce2 ++process insar_tops_fufiters \
--apply-water-mask False
```

#### Generate a set of interferograms for a specific year

This workflow will do the search automatically and create 3 pairs for every acquisition date in a year (n+1, n+2, n+3 pairs).
```
gh -R relativeorbit/fufiters workflow run insar_timeseries.yml \
-f year=2023 \
-f burstId=012_023790_IW1
```

#### Generate a set of interferograms for all years

Expand Down
40 changes: 40 additions & 0 deletions docs/fufiters-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Comparision with hyp3-isce2

fufiters uses a custom workflow that is forked from ASF's hyp3-isce2 https://github.com/relativeorbit/hyp3-isce2 . The reason for using a fork is to quickly iterate on potentially breaking changes and not interfere with ASF's production workflows (https://github.com/ASFHyP3/hyp3-isce2/issues/170), though we intend to make upstream contributions where possible.


## Workflow deviations

### Full SLC inputs versus pre-preprocessed bursts
*hyp3-isce2 uses pre-processed SLC bursts as inputs, but those products are currently only available from June 2023 onwards, whereas the full SLC archive goes back to October 2014. ASF plans to pre-process the entire burst archive eventually, but we needed to process data going back to 2017:

> Single-burst datasets are currently available for data collected after June 9th, 2023. Creation of burst products for the entire SLC archive is expected to be complete by the end of June, 2024 (https://asf.alaska.edu/datasets/data-sets/derived-data-sets/sentinel-1-bursts/)
We therefore added a routine to extract a full burstId (`[Track]_[Burst]_[Subswath]`) from the original SLCs using ASF's burst extractor API (https://sentinel1-burst-documentation.asf.alaska.edu), allowing for processing any burst but requiring a change in workflow inputs. For example, the example hyp3-isce2 workflow:

```
python -m hyp3_isce2 ++process insar_tops_burst \
S1_136231_IW2_20200604T022312_VV_7C85-BURST \
S1_136231_IW2_20200616T022313_VV_5D11-BURST \
```

To process the same pair with fufiters the syntax becomes:
```
python -m hyp3_isce2 ++process insar_tops_fufiters \
S1A_IW_SLC__1SDV_20200604T022251_20200604T022318_032861_03CE65_7C85 \
S1A_IW_SLC__1SDV_20200616T022252_20200616T022319_033036_03D3A3_5D11 \
--burstId=064_136231_IW2
```

### Cloud-optimized outputs

Because we are generating a large dataset covering Nepal it is important to use Cloud-optimized outputs, so we add a workflow step to convert Geotiffs to Cloud-Optimized-Geotiffs (COGS) with Spatio-Temporal Asset Catalog (STAC) metadata

### Static Product IDs

hyp3-isce2 creates unique output folder names so that re-runing a workflow never overwrites pre-existing outputs. We wanted re-runing a workflow to overwrite ouputs and therefore remove this unique identifier suffix:
`S1_023790_IW1_20230621_20231218_VV_INT20_B6F2 -> S1_023790_IW1_20230621_20231218_VV_INT20`

### Compute Denseoffsets

Hyp3-isce2 disables runnning the denseOffsets step of the topsApp.py isce2 workflow. We needed to generate offset maps for long time spans in addition to short timespan interferograms, so we have an additional workflow to just compute offsets and skip interferogram creation, unwrapping, filtering, etc.

0 comments on commit d33589d

Please sign in to comment.