Skip to content
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

Merged
merged 57 commits into from
Jan 24, 2024
Merged

Conversation

mirzaees
Copy link
Collaborator

@mirzaees mirzaees commented Jan 5, 2024

Module added to calculate tropospheric phase delay for each interferogram

Sara Mirzaee and others added 28 commits December 11, 2023 11:09
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
@mirzaees mirzaees requested a review from scottstanie January 5, 2024 18:10
Copy link
Collaborator

@scottstanie scottstanie left a 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

src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
src/dolphin/atmosphere/ionosphere.py Show resolved Hide resolved
@mirzaees
Copy link
Collaborator Author

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

Thanks @scottstanie
I will submit a separate PR for testing. Let's merge this if you think it is good

Copy link
Collaborator

@scottstanie scottstanie left a 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

src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
src/dolphin/atmosphere/ionosphere.py Outdated Show resolved Hide resolved
@scottstanie scottstanie mentioned this pull request Jan 18, 2024
dem_file=dem_file,
geometry_files=opera_static_files_official,
),
unwrap_options=dict(run_unwrap=True),
Copy link
Collaborator

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(
Copy link
Collaborator

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

@scottstanie scottstanie merged commit b92b0b9 into isce-framework:main Jan 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants