-
Notifications
You must be signed in to change notification settings - Fork 2
Data sources #61
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
Data sources #61
Conversation
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.
Good stuff Alex!
The decorator for timing the functions is really neat and seems useful.
Regarding the broader question of what data source we use, we can:
- Use ASF for both orbits and SLCs given that the orbit problem has now been fixed in sentineleof. The risk seems low here since we will specify exactly what scene we want so our program will at least fail loudly. If we find this is happening often, we can switch to CDSE or use CDSE as a fallback.
- Just use CDSE and deal with the longer time for downloading the SLCs.
My preference is the first option, but I will leave it up to you to decide :)
|
Thanks Aman! I agree with point 1. I think the one caveat is for near real time processing. From the checks I have made it seems the ASF can sometimes be well over a day behind the CDSE. So perhaps for back-processing we can rely on the ASF and then move towards the CDSE or even Aus cophub which is also pretty up to date for NRT? |
In that case maybe we should just use CDSE then to avoid extra logic and having to maintain two different images. |
Shouldn't need to maintain two images. It's a flag that can be set at runtime |
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.
I've added some minor suggestions to make the docs clear, and a question.
I agree with Alex. The logic is well set-up that we can have one image and just toggle which flag we want to use. I think we could add something like the |
Co-authored-by: Caitlin Adams <[email protected]>
Co-authored-by: Caitlin Adams <[email protected]>
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.
Thanks for making the fix! Ready for you to merge
Upgrades:
Discussion:
A note on timing we may want to consider. For the same scene below is the timing difference for ASF vs CDSE. Perhaps we can implement a
BESToption for sourcing data? E.g. if scene older than say 5 days get from the ASF, otherwise get from the CDSE. The NCI is also an option and in theory closer to our region. Open to dicussion on this...Downloding S1A_IW_SLC__1SSH_20220101T124744_20220101T124814_041267_04E7A2_1DAD