Skip to content

Commit 2dca198

Browse files
committed
correct typo
1 parent 106db10 commit 2dca198

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

python/packages/nisar/workflows/insar_runconfig.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def yaml_check(self):
161161
# Extract split-spectrum dictionary
162162
split_cfg = iono_cfg['split_range_spectrum']
163163
iono_freq_pol = iono_cfg['list_of_frequencies']
164-
iono_method = split_cfg['spectral_diversity']
164+
iono_method = iono_cfg['spectral_diversity']
165165

166166
# Extract main range bandwidth from reference SLC
167167
ref_slc_path = self.cfg['input_file_group']['input_file_path']
@@ -206,7 +206,7 @@ def yaml_check(self):
206206
for iono_pol in iono_freq_pol['A']:
207207
if (iono_pol not in ref_pols_freqA) or \
208208
(iono_pol not in sec_pols_freqA):
209-
err_str = f"polarzations {iono_pol} for ionosphere estimation are given, but not found"
209+
err_str = f"polarzations {iono_pol} for ionosphere estimation are requested, but not found"
210210
error_channel.log(err_str)
211211
raise FileNotFoundError(err_str)
212212

@@ -236,13 +236,13 @@ def yaml_check(self):
236236
if split_cfg['low_band_bandwidth'] is None:
237237
split_cfg['low_band_bandwidth'] = rg_main_bandwidth / 3.0
238238
info_str = "low band width for low sub-bands are not given;"\
239-
"It is automatically set by 1/3 of range bandwidth of freqeuncyA"
239+
"It is automatically set by 1/3 of range bandwidth of frequencyA"
240240
warning_channel.log(info_str)
241241

242242
if split_cfg['high_band_bandwidth'] is None:
243243
split_cfg['high_band_bandwidth'] = rg_main_bandwidth / 3.0
244244
info_str = "high band width for high sub-band are not given;"\
245-
"It is automatically set by 1/3 of range bandwidth of freqeuncyA"
245+
"It is automatically set by 1/3 of range bandwidth of frequencyA"
246246
warning_channel.log(info_str)
247247

248248
# methods that use side band
@@ -287,7 +287,7 @@ def yaml_check(self):
287287
if (iono_pol not in ref_pols_freqB) or \
288288
(iono_pol not in sec_pols_freqB):
289289
err_str = f"polarzations {iono_pol} for ionosphere"\
290-
"estimation are given, but not found"
290+
"estimation are requested, but not found"
291291
error_channel.log(err_str)
292292
raise FileNotFoundError(err_str)
293293

0 commit comments

Comments
 (0)