add: readme

dev
w2 4 years ago
parent fcd49be02a
commit 1ac2739f26

@ -0,0 +1,23 @@
Prototype.
- linux only (uses `/tmp/`)
Download:
- downloads either today or 2022-05-08 if today is unavailable
- crashes if most recent hour does not have files yet (it is chehcked but fallback is not implemented)
- prediction_time is hardcoded to 4
Data:
- returns data PER DOT (and in 20 seconds)
- opens the file like 10 times
- latest hour is hardcoded to 18
# Usage
```
uvicorn main:app --reload
```
```
curl http://127.0.0.1:8000/download/
curl 'http://127.0.0.1:8000/weather_dot/?lat=75&lon=0&prediction_time=004'
```
Loading…
Cancel
Save