Python script to create an awesome wallpaper of our earth, as seen by EUMETSAT satellites above Europe.
install conda or miniconda:
brew install miniconda
conda init zsh
install the conda environment:
conda env create -f environment.yml
it will create a new conda environment, named eumetsat
zsh generate_earth.zsh
Open you crontab file:
crontab -e
And add this line to your crontab file (don't forget to replace PATH_TO_YOUR_FOLDER
):
* * * * * cd PATH_TO_YOUR_FOLDER/eumetsat-osx-wallpaper && zsh generate_earth.zsh >/tmp/stdout.log 2>/tmp/stderr.log
You'll be able to check the logs using:
cat /tmp/std*.log
- download more sample images from EUMETSAT to generate a proper mask programmatically
- refactor code to make it cleaner (modularization, naming, ...)