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

orbit type when orbit_file_path is a list #71

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

seongsujeong
Copy link
Contributor

@seongsujeong seongsujeong commented Sep 5, 2023

This PR is to take care of the case when a list of orbit file was provided in RTC-S1's runconfig when populating the orbit information into /metadata/orbit/orbitType in metadata.
In case of using restituted orbit (RESORB) file, there is a rare chance that a single RESORB file does not cover sentinel-1 frame's sensing start/stop with ~100 minutes of margin at the sensing start. The margin is necessary to ensure at least one ascending node crossing event before sensing start, so that ascending node crossing time (ANX time) can be corrected properly.

In case when the list of orbit file was provided, it extracts the types of each individual orbit file, concatenate them with a separator ;, and put the string into /metadata/orbit/orbitType.

Copy link
Collaborator

@gshiroma gshiroma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, @seongsujeong . Thank you for the update. I just have one minor comment below.

src/rtc/h5_prep.py Outdated Show resolved Hide resolved
Co-authored-by: Gustavo H. X. Shiroma <[email protected]>
Copy link
Collaborator

@gshiroma gshiroma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you, @seongsujeong

@gshiroma gshiroma merged commit 908c744 into opera-adt:main Sep 8, 2023
3 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