-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Ionosphere Phase Estimation #74
Changes from 4 commits
adc8ab5
96d1447
0d4a705
6390d97
4f39ecb
1b53849
d8d46c8
ff97663
4116d4d
87863ef
3119d1a
c0efbf5
1b56dbd
95c572a
499a927
710af66
bbba477
0b405a1
f70553f
57962c7
b98ecd1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,15 @@ | |
|
||
TEMPLATE_DIR = Path(__file__).parent/'templates' | ||
|
||
GEOCODE_LIST_BASE = ['merged/phsig.cor', | ||
'merged/filt_topophase.unw', | ||
'merged/los.rdr', | ||
'merged/topophase.flat', | ||
'merged/filt_topophase.flat', | ||
'merged/filt_topophase_2stage.unw', | ||
'merged/topophase.cor', | ||
'merged/filt_topophase.unw.conncomp'] | ||
|
||
|
||
def topsapp_processing(*, | ||
reference_slc_zips: list, | ||
|
@@ -33,6 +42,7 @@ def topsapp_processing(*, | |
extent: list, | ||
dem_for_proc: str, | ||
dem_for_geoc: str, | ||
estimate_ionosphere_delay: bool, | ||
azimuth_looks: int = 7, | ||
range_looks: int = 19, | ||
swaths: list = None, | ||
|
@@ -49,6 +59,10 @@ def topsapp_processing(*, | |
with open(TEMPLATE_DIR/'topsapp_template.xml', 'r') as file: | ||
template = Template(file.read()) | ||
|
||
geocode_list = GEOCODE_LIST_BASE.copy() | ||
if estimate_ionosphere_delay: | ||
geocode_list.append('merged/topophase.ion') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cmarshak just to double check if this is the unwrapped topophase or the wrapped variant. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's look at the products together. I was going to just include this raster in the product. |
||
|
||
topsApp_xml = template.render(orbit_directory=orbit_directory, | ||
output_reference_directory='reference', | ||
output_secondary_directory='secondary', | ||
|
@@ -62,9 +76,11 @@ def topsapp_processing(*, | |
do_unwrap=True, | ||
use_virtual_files=True, | ||
esd_coherence_threshold=-1, | ||
estimate_ionosphere_delay=estimate_ionosphere_delay, | ||
azimuth_looks=azimuth_looks, | ||
range_looks=range_looks, | ||
swaths=swaths | ||
swaths=swaths, | ||
geocode_list=geocode_list | ||
) | ||
with open('topsApp.xml', "w") as file: | ||
file.write(topsApp_xml) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should check if we use all of these? I would only geocode the ones that gets used in the product. which would be fitlered coherence and filtered unwrapped phase corrected for DEM and topophase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are taken from here: https://github.com/aria-jpl/ariamh/blob/develop/interferogram/sentinel/topsApp.xml.tmpl#L32