You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
w2 1ac2739f26
add: readme
4 years ago
.gitignore add: proto 4 years ago
README.md add: readme 4 years ago
__init__.py add: proto 4 years ago
main.py add: proto 4 years ago
noaa.code-workspace add: proto 4 years ago
requirements.txt add: proto 4 years ago

README.md

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'