-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add ionospheric correction #185
Conversation
Co-authored-by: Scott Staniewicz <[email protected]>
Co-authored-by: Scott Staniewicz <[email protected]>
Co-authored-by: Scott Staniewicz <[email protected]>
Co-authored-by: Scott Staniewicz <[email protected]>
updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.7 → v0.1.8](astral-sh/ruff-pre-commit@v0.1.7...v0.1.8) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* add option for overwriting in `atomic_output` * return the outputs from snaphu unwrap
* use GTiff instead of ENVI for conncomps * add changelog * fix unw.conncomp test check
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.
looks pretty good!
let's figure out how we can come up with some test for the code to make sure it's doing what we want
Co-authored-by: Scott Staniewicz <[email protected]>
Thanks @scottstanie |
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.
Still need to figure out how to adjust the group_by_date
call in displacement
so that we can accommodate two different file naming conventions
Co-authored-by: Scott Staniewicz <[email protected]>
tests/test_workflows_displacement.py
Outdated
dem_file=dem_file, | ||
geometry_files=opera_static_files_official, | ||
), | ||
unwrap_options=dict(run_unwrap=True), |
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.
@mirzaees since run_unwrap
was false here, adding the corrections_options
arguments wasn't doing anything- the workflow would exit before trying corrections (no unwrwapped phase means theres nothing to correct)
@@ -557,3 +557,110 @@ def flatten(list_of_lists: Iterable[Iterable[Any]]) -> chain[Any]: | |||
|
|||
def _format_date_pair(start: DateOrDatetime, end: DateOrDatetime, fmt="%Y%m%d") -> str: | |||
return f"{start.strftime(fmt)}_{end.strftime(fmt)}" | |||
|
|||
|
|||
def prepare_geometry( |
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.
this function might make more sense in the stitching
module, but we can revisit later
Module added to calculate tropospheric phase delay for each interferogram