Skip to content

Commit

Permalink
Updated example runconfigs for CSLC/RTC to v2.0.0-er.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Collins committed Jan 20, 2023
1 parent 2b0c30c commit 241bd59
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sample RunConfig for use with the CSLC-S1 PGE v2.0.0-er.4.0
# Sample RunConfig for use with the CSLC-S1 PGE v2.0.0-er.5.0
# This RunConfig should require minimal changes in order to be used with the
# OPERA PCM.

Expand Down Expand Up @@ -34,6 +34,9 @@ RunConfig:
# or more .tif files
dem_file: /home/compass_user/input_dir/dem_4326.tiff

# Burst database, must be an .sqlite3 file
burst_database_file: /home/compass_user/input_dir/opera_burst_database_deploy_2022_1212.sqlite3

ProductPathGroup:
# Path to where output products should be stored
# Must correspond to the file system within the Docker container,
Expand Down Expand Up @@ -137,7 +140,7 @@ RunConfig:

static_ancillary_file_group:
# burst database sqlite file
burst_database_file: /home/compass_user/input_dir/burst_database.sqlite3
burst_database_file: /home/compass_user/input_dir/opera_burst_database_deploy_2022_1212.sqlite3

product_path_group:
# This should match the path used for OutputProductPath
Expand All @@ -147,7 +150,7 @@ RunConfig:
scratch_path: /home/compass_user/output_dir/scratch_dir

# Intermediate file name, this field is currently unused
sas_output_file: output.slc
sas_output_file: /home/compass_user/output_dir

primary_executable:
# This should match the value used for ProductIdentifier
Expand All @@ -160,19 +163,9 @@ RunConfig:
geocoding:
output_format: GTiff
flatten: True
# Dem margin (in units of input DEM)
lines_per_block: 1000
output_epsg: 32611
x_posting: 5
y_posting: 10
x_snap:
y_snap:
top_left:
x: 393220.0
y: 3897270.0
bottom_right:
x: 498265.0
y: 3935210.0
geo2rdr:
lines_per_block: 1000
threshold: 1.0e-8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sample RunConfig for use with the RTC-S1 PGE v2.0.0-er.4.0
# Sample RunConfig for use with the RTC-S1 PGE v2.0.0-er.5.0
# This RunConfig should require minimal changes in order to be used with the
# OPERA PCM.

Expand Down Expand Up @@ -34,6 +34,9 @@ RunConfig:
# or more .tif files
dem_file: /home/rtc_user/input_dir/dem.tif

# Burst database, must be an .sqlite3 file
burst_database_file: /home/rtc_user/input_dir/opera_burst_database_deploy_2022_1212.sqlite3

ProductPathGroup:
# Path to where output products should be stored
# Must correspond to the file system within the Docker container,
Expand All @@ -47,7 +50,7 @@ RunConfig:
# Must correspond to the file system within the Docker container,
# and must have write permissions for the User/Group used with
# the "Docker run" command
ScratchPath: /home/rtc_user/scratch_dir
ScratchPath: /home/rtc_user/output_dir/scratch_dir

PrimaryExecutable:
# Identifier for the PGE executable, should always be RTC_S1 for
Expand All @@ -64,8 +67,9 @@ RunConfig:
# List of command-line options to use with ProgramPath
ProgramOptions:
- run
- --no-capture-output
- -n
- isce3_rtc
- RTC
- rtc_s1.py

# The Error Code base value added to the offset values to make
Expand Down Expand Up @@ -138,14 +142,18 @@ RunConfig:

static_ancillary_file_group:
# burst database sqlite file
burst_database_file: /home/rtc_user/input_dir/burst_database.sqlite3
burst_database_file: /home/rtc_user/input_dir/opera_burst_database_deploy_2022_1212.sqlite3

product_group:
processing_type: 'NOMINAL'

product_version: 1.0

product_path_group:
# This should match the path used for OutputProductPath
product_path: /home/rtc_user/output_dir

# This should match the path used for ScratchPath
scratch_path: /home/rtc_user/scratch_dir
scratch_path: /home/rtc_user/output_dir/scratch_dir

# This should match the path used for OutputProductPath
output_dir: /home/rtc_user/output_dir
Expand All @@ -154,10 +162,12 @@ RunConfig:
# by the SAS for its output products. These products will
# be renamed by the PGE to match the OPERA file name conventions.
product_id: rtc_product
mosaic_bursts: False

# Output format, should be NETCDF for v2.0.0-er.4.0
output_format: NETCDF
save_bursts: True
save_mosaics: False
output_imagery_format: COG
output_imagery_compression: ZSTD
output_imagery_nbits: 16

primary_executable:
# This should match the value used for ProductIdentifier
Expand All @@ -166,8 +176,22 @@ RunConfig:
# SLC processing options
# Consult the RTC-S1 SAS User's Guide for more info on each field
processing:

# Check if ancillary input covers entirely output products
check_ancillary_inputs_coverage: True

polarization: dual-pol

# Options to run geo2rdr
geo2rdr:
threshold: 1.0e-7
numiter: 50

# Options to run rdr2geo
rdr2geo:
threshold: 1.0e-7
numiter: 25

# Apply absolute radiometric correction
apply_absolute_radiometric_correction: True

Expand All @@ -177,6 +201,12 @@ RunConfig:
# OPTIONAL - Apply RTC
apply_rtc: True

# Apply bistatic delay correction
apply_bistatic_delay_correction: True

# Apply dry tropospheric delay correction
apply_dry_tropospheric_delay_correction: True

# OPTIONAL - to control behavior of RTC module
# (only applicable if geocode.apply_rtc is True)
rtc:
Expand All @@ -199,7 +229,7 @@ RunConfig:
rtc_min_value_db:

# RTC DEM upsampling
dem_upsampling: 1
dem_upsampling: 2

# OPTIONAL - Mechanism to specify output posting and DEM
geocoding:
Expand All @@ -213,10 +243,10 @@ RunConfig:
geogrid_upsampling: 1

# Save the incidence angle
save_incidence_angle: True
save_incidence_angle: False

# Save the local-incidence angle
save_local_inc_angle: True
save_local_inc_angle: False

# Save the projection angle
save_projection_angle: False
Expand All @@ -228,14 +258,17 @@ RunConfig:
save_range_slope: False

# Save the number of looks used to compute GCOV
save_nlooks: True
save_nlooks: False

# Save the RTC area factor used to compute GCOV
save_rtc_anf: True
save_rtc_anf: False

# Save interpolated DEM used to compute GCOV
save_dem: False

# Save layover shadow mask
save_layover_shadow_mask: True

# OPTIONAL - Absolute radiometric correction
abs_rad_cal: 1

Expand Down

0 comments on commit 241bd59

Please sign in to comment.