Skip to content

Commit

Permalink
Merge pull request #2574 from ASFHyP3/opera-disp-tms-frame-by-frame
Browse files Browse the repository at this point in the history
Update `OPERA_DISP_TMS.yml` for frame-by-frame
  • Loading branch information
jtherrmann authored Jan 28, 2025
2 parents 2d30050 + ba77df5 commit 7f66eda
Showing 1 changed file with 20 additions and 30 deletions.
50 changes: 20 additions & 30 deletions job_spec/OPERA_DISP_TMS.yml
Original file line number Diff line number Diff line change
@@ -1,79 +1,69 @@
OPERA_DISP_TMS:
required_parameters:
- tile_type
- bounds
- orbit_direction
- measurement_type
- frames
- start_date
- end_date
parameters:
tile_type:
measurement_type:
api_schema:
description: Type of tile map to create
description: Data measurement to visualize
type: string
enum:
- displacement
- secant_velocity
- velocity
example: displacement
bounds:
frames:
api_schema:
description: Integer bounds in EPSG:4326, formatted like (minlon minlat maxlon maxlat)
description: List of frame IDs to include in mosaic
type: array
minItems: 4
maxItems: 4
minItems: 1
example:
- -121
- 38
- -120
- 39
- 11113
- 11114
- 11115
items:
description: Frame ID
type: integer
example: -121
orbit_direction:
api_schema:
description: Orbit direction of data
type: string
enum:
- ascending
- descending
example: descending
minimum: 1
maximum: 46986
example: 11113
start_date:
api_schema:
description: Start of secondary date range for which to generate a tile map (%Y%m%d)
type: string
pattern: "^\\d{8}$"
minLength: 8
maxLength: 8
example: 20200101
example: 20140101
end_date:
api_schema:
description: End of secondary date range for which to generate a tile map (%Y%m%d)
type: string
pattern: "^\\d{8}$"
minLength: 8
maxLength: 8
example: 20200814
example: 20260101
cost_profiles:
EDC:
cost: 1.0
DEFAULT:
cost: 1.0
validators:
- check_bounds_formatting
validators: []
steps:
- name: ''
image: ghcr.io/asfhyp3/opera-disp-tms
command:
- Ref::tile_type
- Ref::bounds
- Ref::orbit_direction
- Ref::measurement_type
- Ref::frames
- Ref::start_date
- Ref::end_date
- --bucket
- '!Ref Bucket'
- --bucket-prefix
- Ref::bucket_prefix
timeout: 10800
timeout: 21600 # 6 hr
compute_environment: Default
vcpu: 1
memory: 31500
Expand Down

0 comments on commit 7f66eda

Please sign in to comment.