Write python code that
- on startup, reads data file meta-data for all of the last 100 days (possibly just uses deterministic mapping)
- on startup, reads grid point mapping file
A query will give a single lat/long. We need a function that:
- finds the nearest grid point using larger and larger searches from the query point
- finds the daily data for that grid point
A second query will give a center point (in lat/lon) and a radius in km. We need a function that:
- finds all grid points within that radius of the specified point
- finds the daily data for that grid point
Links
https://github.com/agstack/weather-server/tree/main/experiments/s2-geohash
https://arrow.apache.org/docs/python/
Write python code that
A query will give a single lat/long. We need a function that:
A second query will give a center point (in lat/lon) and a radius in km. We need a function that:
Links
https://github.com/agstack/weather-server/tree/main/experiments/s2-geohash
https://arrow.apache.org/docs/python/