Skip to content

MuhammadElsaadany/DONKI-Fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DONKI-Fetcher

A script that fetches data using NASA DONKI API, parses data into clean SQL, allows detecting anomalies and logs them.


--------------- Which Data It Collects? ---------------

  • Currently it fetches 3 NASA DONKI API's: Solar Flare (FLR), Coronal Mass Ejection (CME) and Geomagnetic Storm (GST).
  • Parses data and stores each of them under it's own table in a database.
  • Can be set to detect when specific readings are alarming.
  • Currently checks and warns user when:
    -- FLR class is X or M5 -> M9
    -- GST Kpindex exceeds 7

--------------- How To Set It Up? ---------------


--------------- How To Schedule It? ---------------

  • Open Task Scheduler (search it in Windows start menu)
  • Create a new Basic Task
  • Set the trigger daily or at whatever time you want
  • Set the action "Start a program"
  • Program: path to the Python executable #NOTE: write this in terminal to find path to Python: where python
  • Arguments: path to the script #NOTE: spaces in folders names causes issues, make sure the path has no spaces!
  • Start in: the project folder path #NOTE: this is how Python finds your .env, .db and your log files

--------------- Example Of The Log: ---------------

image

About

A script that fetches data using NASA DONKI API, parses data into clean SQL, allows detecting anomalies and logs them.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages