Skip to content

Put near-realtime picture of Earth as your desktop background

Notifications You must be signed in to change notification settings

adnidor/himawaripy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

himawaripy

Put near-realtime picture of Earth as your desktop background

himawaripy is a Python 3 script that fetches near-realtime (10 minutes delayed) picture of Earth as its taken by Himawari 8 (ひまわり8号) and sets it as your desktop background.

Set a cronjob that runs in every 10 minutes to automatically get the near-realtime picture of Earth.

Supported Desktop Environments

Tested

  • i3 using feh

Not tested

  • other DE using feh

Not Supported

  • any other desktop environments that are not mentioned above.

Configuration

You can configure the level of detail, by modifying the script. You can set the global variable level to 4, 8, 16, or 20 to increase the quality (and thus the file size as well). Please keep in mind that it will also take more time to download the tiles.

You can also change the path of the latest picture, which is by default ~/.himawari/himawari-latest.png, by changing the output_file variable.

Installation

cd ~
git clone https://github.com/boramalper/himawaripy.git

# configure
cd ~/himawaripy
vi himawaripy.py

# test whether it's working
./himawaripy.py

# set up a cronjob
crontab -e
# Add the line:
# */10 * * * * /home/USERNAME/himawaripy/himawaripy.py

Example

Earth, as 2016/02/04/13:30:00 GMT

Attributions

Thanks to MichaelPote for the initial implementation using Powershell Script.

Thanks to Charlie Loyd for image processing logic (hi8-fetch.py).

Obviously, thanks to the Japan Meteorological Agency for opening these pictures to public.

About

Put near-realtime picture of Earth as your desktop background

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%