boramalper / himawaripy

Set near-realtime picture of Earth as your desktop background
http://labs.boramalper.org/himawaripy
MIT License
1.62k stars 239 forks source link

Add --band flag #122

Open cben opened 3 years ago

cben commented 3 years ago

An initial step to https://github.com/boramalper/himawaripy/issues/108

I added the band as param to download_chunk such that in future it'd be easy to fetch several bands and Image.merge() them into an RGB image. But for now I'm happy with this.

Example output on 4K screen: --band=11 himawari-20210713T174000.png --band=2 (visible green) himawari-20210713T174000.png

These don't look that well in my Chrome — due to alpha channel I think(?), but look fine as my Gnome 3.38 background.