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

Added orbit nomenclature condition #100

Open
wants to merge 1 commit into
base: pygmtsar2
Choose a base branch
from

Conversation

SteffanDavies
Copy link

Some orbits are not found, must be (date, date+2days)

Some orbits are not found (must be date, date+2days)
@AlexeyPechnikov
Copy link
Owner

This is not an expected orbit, use the configuration below to download the correct one:

from datetime import timedelta
ASF.poeorb_start_offset = timedelta(seconds=(12 * 86400.0) // 175.0 + 60)

For now, the offset is defined to 0 to overtake issues when orbit is unexpectedly short; but I see now, that the fix can produce other issues. It seems better to set the standalone offsets as default and fix them is case of incomplete orbit.

@SteffanDavies
Copy link
Author

This is not an expected orbit, use the configuration below to download the correct one:

from datetime import timedelta
ASF.poeorb_start_offset = timedelta(seconds=(12 * 86400.0) // 175.0 + 60)

For now, the offset is defined to 0 to overtake issues when orbit is unexpectedly short; but I see now, that the fix can produce other issues. It seems better to set the standalone offsets as default and fix them is case of incomplete orbit.

Are you saying these orbits are not viable despite being within the time interval? There is still at least a 30min offset between the product and the orbit, so I assume there is overlap between orbit files.

@AlexeyPechnikov
Copy link
Owner

The start offset is defined by the Sentinel-1 orbital period. I haven't verified the accuracy of the orbit file start records, but there's no need to risk using potentially incorrect records when well-specified orbit files are available.

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.

None yet

2 participants