This project reads the latest STEREO-A 195 Å image and provide a percentage on how likely there's an active region (+making a mailing list). To achieve this, the code involves three key ingredients, and it's constructed with two codes with two different tools (Not sure why I did that... D:):
- Training (mainTraining.ipynb)
- Predicting (main.py)
- Sending e-mails (main.py)
The training code is writting using Jupyter Notebook (mainTraining.ipynb). You will need a folder called data to put all your training data.
The CNN model I use for the daily AR prediction is provided in the models folder. Simply replace it with your model if needed:D
I have configured the model to read image from a folder called latest_images. You can input any STEREO-A 195 image (256x256) and get a prediction out of it!
The last part of the code involves fetching the latest image everyday and sending it to the mailing list. You will need an .env file to read your email, password, and mailing list in order for it to work.
python main.py