Skip to content

Commit

Permalink
iono_split_spectrum: hardwire dset while inverting for iono TS (#1239)
Browse files Browse the repository at this point in the history
+ iono_split_spectrum:
   - hardwire dataset name to "unwrapPhase" while inverting for iono TS
   - remove the template file input, so it can ignore the template inputs, such as the "unwrapPhase_bridging" if one turns on the PU error correction.

+ defaults.smallbaselineApp.cfg: update correct_ionosphere reference, to be consistent with iono_split_spectrum.py help message.
  • Loading branch information
yunjunz authored Jul 26, 2024
1 parent d2e551a commit 67b7624
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/mintpy/defaults/smallbaselineApp.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,10 @@ mintpy.solidEarthTides = auto #[yes / no], auto for no

########## 7. correct_ionosphere (optional but recommended)
## correct ionospheric delay [need split spectrum results from ISCE-2 stack processors]
## reference: Fattahi et al. (2017, IEEE-TGRS); Liang et al. (2017 IEEE-TGRS; 2018 IEEE-TGRS)
## reference:
## ISCE-2 topsApp/topsStack: Liang et al. (2019, IEEE-TGRS)
## ISCE-2 stripmapApp/stripmapStack: Fattahi et al. (2017, IEEE-TGRS)
## ISCE-2 alos2App/alosStack: Liang et al. (2018, IEEE-TGRS)
mintpy.ionosphericDelay.method = auto #[split_spectrum / no], auto for no
mintpy.ionosphericDelay.excludeDate = auto #[20080520,20090817 / no], auto for no
mintpy.ionosphericDelay.excludeDate12 = auto #[20080520_20090817 / no], auto for no
Expand Down
3 changes: 2 additions & 1 deletion src/mintpy/iono_split_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ def run_iono_split_spectrum(inps):
reference_point.main(cmd.split()[1:])

# 3. estimate iono time-series
# hardwire "--dset unwrapPhase" to ignore dataset name change from unwrapping error correction options
print('\n'+'-'*80)
print('Estimate ionospheric delay time-series via ifgram_inversion.py ...')
cmd = f'ifgram_inversion.py {inps.iono_stack_file} -t {inps.template_file} -w no --update'
cmd = f'ifgram_inversion.py {inps.iono_stack_file} --dset unwrapPhase --weight-func no --update'
print(cmd)
ifgram_inversion.main(cmd.split()[1:])

Expand Down

0 comments on commit 67b7624

Please sign in to comment.