https://github.com/fernandod1/satellite-weather-map-generator
PHP script that scrapes satellite weather maps static images from some sources and generates an animated satellite weather map image.
https://github.com/fernandod1/satellite-weather-map-generator
php-scraper php-scrapper satellite-data satellite-images satellite-weather scraper scrapper-script scrapping-php weather weather-forecast weather-images weather-information
Last synced: 6 months ago
JSON representation
PHP script that scrapes satellite weather maps static images from some sources and generates an animated satellite weather map image.
- Host: GitHub
- URL: https://github.com/fernandod1/satellite-weather-map-generator
- Owner: fernandod1
- License: other
- Created: 2020-06-15T18:30:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-02T12:45:20.000Z (almost 5 years ago)
- Last Synced: 2024-01-30T02:17:52.195Z (over 1 year ago)
- Topics: php-scraper, php-scrapper, satellite-data, satellite-images, satellite-weather, scraper, scrapper-script, scrapping-php, weather, weather-forecast, weather-images, weather-information
- Language: PHP
- Homepage: https://www.fernando.info
- Size: 17 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Satellite weather map animated image generator
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--------------------
REQUIREMENTS:
--------------------
- PHP >=7.0
- Librería imagick >= 3.1.0RC1--------------------------------------------------
CONFIGURE FRECUENCY OF ANIMATED IMAGES GENERATOR:
--------------------------------------------------
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----------------------------------
DISPLAY ANIMATED GENERATED IMAGE:
----------------------------------
Just add a html code like:img src=https://yourwebsite.com/script/animation1.gif
------------------------------------------------
EXAMPLES OF OUTPUT ANIMATED IMAGE GENERATED:
------------------------------------------------