PHP script that scrapes satellite weather maps static images from some sources and generates an animated satellite weather map images.
You can configure/add your own satellite weather images sources. Actually, it is configured to scrap images from these sources:
https://dsx.weather.com/util/image/map/DCT_SPECIAL11_1280x720.jpg
http://rammb.cira.colostate.edu/ramsdis/online/images/latest/tropical/tropical_ge_4km_ir4_floater_2.gif
https://weather.msfc.nasa.gov/cgi-bin/get-abi?satellite=GOESEastfullDiskband13&palette=ir2.pal&lat=16&lon=-62&type=Image&width=640&height=480&zoom=1&quality=50&map=standard
- PHP >=7.0
- Librería imagick >= 3.1.0RC1
You must create some cronjobs in your servers so catch new static satellite wweather map images from sources ans generate animated images. Adjust frecuency of cronjobs to suit your needs. Command lines to add is:
wget http://yourwebsite.com/script/index.php?op=cronjobTIPO1 >/dev/null 2>&1
wget http://yourwebsite.com/script/index.php?op=cronjobTIPO2 >/dev/null 2>&1
wget http://yourwebsite.com/script/index.php?op=cronjobTIPO3 >/dev/null 2>&1
Just add a html code like:
img src=https://yourwebsite.com/script/animation1.gif