Skip to content

Commit

Permalink
add multi-burst insar spot job spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jtherrmann committed Dec 13, 2024
1 parent 33f3025 commit f6e4d5c
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-multi-burst-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
job_files: >-
job_spec/INSAR_ISCE_BURST.yml
job_spec/INSAR_ISCE_MULTI_BURST.yml
job_spec/INSAR_ISCE_MULTI_BURST_SPOT.yml
instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge
default_max_vcpus: 640
expanded_max_vcpus: 640
Expand Down
83 changes: 83 additions & 0 deletions job_spec/INSAR_ISCE_MULTI_BURST_SPOT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
INSAR_ISCE_MULTI_BURST:
required_parameters:
- reference
- secondary
parameters:
reference:
api_schema:
type: array
minItems: 1
maxItems: 30 # TODO limit based on Spot failure rate?
# TODO: provide an example with multiple bursts
example:
- S1_136231_IW2_20200604T022312_VV_7C85-BURST
items:
description: Name of the reference Sentinel-1 SLC IW burst granule to process
type: string
pattern: '^S1_\d{6}_IW\d_\d{8}T\d{6}_[VH]{2}_([\dA-F]){4}-BURST$'
minLength: 43
maxLength: 43
example: S1_136231_IW2_20200604T022312_VV_7C85-BURST
secondary:
api_schema:
type: array
minItems: 1
maxItems: 30 # TODO limit based on Spot failure rate?
example:
- S1_136231_IW2_20200616T022313_VV_5D11-BURST
items:
description: Name of the secondary Sentinel-1 SLC IW burst granule to process
type: string
pattern: '^S1_\d{6}_IW\d_\d{8}T\d{6}_[VH]{2}_([\dA-F]){4}-BURST$'
minLength: 43
maxLength: 43
example: S1_136231_IW2_20200616T022313_VV_5D11-BURST
apply_water_mask:
api_schema:
description: Sets pixels over coastal and large inland waterbodies as invalid for phase unwrapping.
default: false
type: boolean
looks:
api_schema:
description: Number of looks to take in range and azimuth
type: string
default: 20x4
enum:
- 20x4
- 10x2
- 5x1
cost_profiles:
EDC:
cost: 1.0
DEFAULT:
cost: 1.0
validators:
- check_dem_coverage
- check_valid_polarizations
- check_same_burst_ids
- check_not_antimeridian
steps:
- name: ''
image: ghcr.io/asfhyp3/hyp3-isce2
command:
- ++process
- insar_tops_burst
- --bucket
- '!Ref Bucket'
- --bucket-prefix
- Ref::bucket_prefix
- --apply-water-mask
- Ref::apply_water_mask
- --looks
- Ref::looks
- --reference
- Ref::reference
- --secondary
- Ref::secondary
timeout: 126000 # 35 hours
compute_environment: Default
vcpu: 1
memory: 4 # Memory is always overridden by the step function
secrets:
- EARTHDATA_USERNAME
- EARTHDATA_PASSWORD

0 comments on commit f6e4d5c

Please sign in to comment.