This repository contains jobs to convert S1-SLCP products to Coherenece Differences (CODs) for creating Damage Proxy Maps v1 (DPMv1).
A COD is created based on the below pairing system, using 3 SLCs --> 2 SLCPs --> 1 COD:

Associated job:
This job does network selection / pairing of pre-event SLCPs with the co-event SLCP in the specified AOI to submit to the S1 COD job (Job 2 below) to create CODs
-
Type: Individual
-
Facet: Not needed
-
User inputs:
Fields Description Type Example dataset_tagSuffix dataset tag to append at the end of the dataset id for differentiating events or settings string 'standard'projectProject category for possible queue propagation later enum 'ariamh'slcp_versionSLCP version to pair CODs for. Default is v1.2string 'v1.2'aoi_nameDataset ID of AOI to find SLCPs for CODs creation based on AOI's coordinates, start, end and event time. string 'AOI_Japan_Earthquake'track_number(Optional) Specific track number (only one allowed) of SLCPs overlapping AOI to process CODs for. If not specified, creates CODs for all tracks overlapping AOI. int 171overriding_range_looks(Optional) Range looks to override SLCP's range looks to create CODs in the format: subswath1, subswath2, subswath3. If not specified, uses the range looks stored in SLCP for all subswaths. int,int,int 16,16,16overriding_azimuth_looks(Optional) Azimuth looks to override SLCP's azimuth looks to create CODs in the format: subswath1, subswath2, subswath3. If not specified, uses the azimuth looks stored in SLCP for all subswaths. int,int,int 4,4,4min_matchMinimum number of CODs to created. Priority of creation is based on temporal baseline. (See Notes below) int 1min_overlapMinimum ratio of overlap between pre-event_SLCP and co-event_SLCP. Should be < 1. (See Notes below) float 0.7 -
Important outputs:
- No products will be directly generated, only S1-COD jobs will be submitted based on pairing results. (Expect 1 job for each subswath)
-
Notes:
- The COD network selector pairs SLCPs to submit to the
S1-CODjob based on the following workflow:-
Gather
pre-event_SLCPs+co-event_SLCPsfrom GRQ. Search criteria:- SLCPs are pre-event if
SLCP_end_time < AOI_event_time - SLCPs are co-event if
SLCP_start_time < AOI_event_time < SLCP_end_time
- SLCPs are pre-event if
-
Match pre-event_SLCP and co-event_SLCP pairs if:
pre-event_SLCP[‘master_time’] - co-event_SLCP[‘master_time’] < 1 dayarea_intersect(pre-event_SLCP,co-event_SLCP) / area(co-event_SLCP) > min_overlap
-
Creates and returns
minmatchor valid SLCP pairs for COD based on shortest temporal baseline, where- temporal baseline =
co-event_SLC['slave_time'] - pre-event_SLCP['slave_time']
- temporal baseline =
-
Hence, if there are multiple pre-event SLCPs as per the following:

- If
minmatch= 1, only COD 1's job will be submitted - If
minmatch= 2, both COD 2 and COD 1 will be submitted
- The COD network selector pairs SLCPs to submit to the
-
Type: Individual
-
Facet: Not needed
-
User inputs:
Fields Description Type Example dataset_tagSuffix dataset tag to append at the end of the dataset id for differentiating events or settings string 'standard'projectProject category for possible queue propagation later enum 'ariamh'url1Pre-event SLCP dataset's s3 url string s3://s3-<region>.amazonaws.com:80/
<bucket_name>/datasets/slc_pair/v1.2/
<year>/<month>/<day>/<S1-SLCP_ID>url2Co-event SLCP dataset's s3 url string s3://s3-<region>.amazonaws.com:80/
<bucket_name>/datasets/slc_pair/v1.2/
<year>/<month>/<day>/<S1-SLCP_ID>overriding_range_looks(Optional) Range looks to override SLCP's range looks to create CODs for that specific SLCP subswath. int 16overriding_azimuth_looks(Optional) Azimuth looks to override SLCP's azimuth looks to create CODs for that specific SLCP subswath. int 4 -
Important outputs:
Product Description Example Coherence Difference Geocoded, multilooked CODs.
Band 1 - Pre-event SLCP's Amplitude.
Band 2 - Coherence Difference (pre-event - co-event).diff_cor_[burst]_[range_lks]_[az_lks].cor.geo Pre-event SLCP Coherence 2-Band geocoded, multilooked coherence (COR) of pre-event SLCP.
Band 1 - Amplitude.
Band 2 - Coherence.cor_[burst]_[range_lks]_[az_lks].cor.geo Co-event SLCP Coherence 2-Band geocoded, multilooked coherence (COR) of co-event SLCP.
Band 1 - Amplitude.
Band 2 - Coherence.cor2_[burst]_[range_lks]_[az_lks].cor.geo -
Notes: