Skip to content

Commit

Permalink
Fix ionosphere error by adding back in xarray. Update configs/burst…
Browse files Browse the repository at this point in the history
… DB files. (#249)

* Fix ionosphere error by adding back in `xarray`

* Update configs: overrides, burst_db files, runconfigs pointing to these

* fix test path

* add missing symlink
  • Loading branch information
scottstanie authored Jan 17, 2025
1 parent efe5054 commit 94b11df
Show file tree
Hide file tree
Showing 13 changed files with 12,330 additions and 12,726 deletions.
2 changes: 1 addition & 1 deletion conda-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
# Corrections
- pysolid # For solid earth tide corrections
# - pyaps3
# - xarray
- xarray
# Unwrappers:
- snaphu>=0.4.1
- isce3-cpu>=0.16.0 # For baseline
Expand Down
13 changes: 8 additions & 5 deletions configs/algorithm_parameters_historical.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# JSON file containing frame-specific algorithm parameters to override the defaults passed
# in the `algorithm_parameters.yaml`.
# Type: string | null.
algorithm_parameters_overrides_json: opera-disp-s1-algorithm-parameters-overrides-2024-12-23.json
algorithm_parameters_overrides_json: opera-disp-s1-algorithm-parameters-overrides-2025-01-09.json
ps_options:
# Amplitude dispersion threshold to consider a pixel a PS.
# Type: number.
amp_dispersion_threshold: 0.20
amp_dispersion_threshold: 0.2
phase_linking:
# Size of the ministack for sequential estimator.
# Type: integer.
Expand Down Expand Up @@ -84,7 +84,7 @@ unwrap_options:
unwrap_method: snaphu
# Number of interferograms to unwrap in parallel.
# Type: integer.
n_parallel_jobs: 2
n_parallel_jobs: 4
# Set wrapped phase/correlation to 0 where mask is 0 before unwrapping. .
# Type: boolean.
zero_where_masked: false
Expand Down Expand Up @@ -116,7 +116,7 @@ unwrap_options:
- 400
# Number of tiles to unwrap in parallel for each interferogram.
# Type: integer.
n_parallel_tiles: 5
n_parallel_tiles: 7
# Initialization method for SNAPHU.
# Type: string.
# Options: ['mcf', 'mst'].
Expand Down Expand Up @@ -156,6 +156,10 @@ unwrap_options:
# `similarity_threshold` *or* above the temporal coherence threshold is chosen.
# Type: number.
similarity_threshold: 0.5
# After running spurt, interpolate the values that were masked during unwrapping (which are
# otherwise left as nan).
# Type: boolean.
run_ambiguity_interpolation: true
general_settings:
# Tile up data spatially.
# Type: boolean.
Expand Down Expand Up @@ -210,7 +214,6 @@ unwrap_options:
min_overlap_points: 25
# Currently, only 'dirichlet' is supported.
# Type: dirichlet.
# Options: ['dirichlet'].
method: dirichlet
# Method used to estimate bulk offset between tiles.
# Type: string.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"23210": {
"phase_linking": {
"compressed_slc_plan": "last_per_ministack"
},
"unwrap_options": {
"unwrap_method": "spurt"
}
},
"23211": {
"phase_linking": {
"compressed_slc_plan": "last_per_ministack"
},
"unwrap_options": {
"unwrap_method": "spurt"
}
},
"33038": {
"phase_linking": {
"compressed_slc_plan": "last_per_ministack"
},
"unwrap_options": {
"unwrap_method": "spurt"
}
},
"33039": {
"phase_linking": {
"compressed_slc_plan": "last_per_ministack"
},
"unwrap_options": {
"unwrap_method": "spurt"
}
}
}
8 changes: 4 additions & 4 deletions configs/runconfig_historical.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ dynamic_ancillary_file_group:
static_ancillary_file_group:
# JSON file containing the mapping from frame_id to frame/burst information.
# Type: string | null.
frame_to_burst_json: static_ancillary_files/opera-s1-disp-0.5.0-frame-to-burst.json.zip
frame_to_burst_json: static_ancillary_files/opera-s1-disp-0.7.0-frame-to-burst.json.zip
# JSON file containing list of reference date changes for each frame.
# Type: string | null.
reference_date_database_json: static_ancillary_files/opera-disp-s1-reference-dates-minimal-2024-09-19.json
reference_date_database_json: static_ancillary_files/opera-disp-s1-reference-dates-2025-01-15-minimal.json
primary_executable:
# Product type of the PGE.
# Type: string.
Expand Down Expand Up @@ -64,11 +64,11 @@ worker_settings:
# Number of threads to use per worker. This sets the OMP_NUM_THREADS environment variable in
# each python process.
# Type: integer.
threads_per_worker: 16
threads_per_worker: 2
# If processing separate spatial bursts, number of bursts to run in parallel for wrapped-
# phase-estimation.
# Type: integer.
n_parallel_bursts: 4
n_parallel_bursts: 9
# Size (rows, columns) of blocks of data to load at a time.
# Type: array.
block_shape:
Expand Down
Loading

0 comments on commit 94b11df

Please sign in to comment.