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

Support Clicking point on path for historical sondes #330

Open
LukePrior opened this issue Jul 4, 2024 · 0 comments
Open

Support Clicking point on path for historical sondes #330

LukePrior opened this issue Jul 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@LukePrior
Copy link
Member

For sondes older than 3 days we don't keep their data on elasticsearch and instead rely on the s3 archived file.

For example: https://sondehub.org/W0140427

The problem is when clicking on a point along the sondes path to get more information an API call is made to:

https://api.v2.sondehub.org/sondes/telemetry?duration=0&serial=W0140427&datetime=2024-06-29T00:41:48.000Z

This returns nothing as the data has been removed from elasticsearch.

The data needed to populate this element has actually already been downloaded in the S3 file.

To use this the S3 file should be stored in local memory and when clicking on path we need logic to check if the sonde is using elasticsearch or s3 data and switch accordingly.

@LukePrior LukePrior added the enhancement New feature or request label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant