Get URLs for Himawari 8 image tiles based on a given date.
npm install himawari-urls
const himawariURLs = require('himawari-urls')
himawariURLs({
date: 'latest', // default: 'latest' (must be Date object, timestamp, or 'latest')
infrared: true, // default: false
zoom: 1, // default: 2
timeout: 20000 // default: 10000 (milliseconds)
}, function (err, tiles) {
if (err) console.error(err)
tiles.map(function (t) { console.log(t) })
})
// { name: '0_0.png',
// url: 'http://himawari8-dl.nict.go.jp/himawari8/img/INFRARED_FULL/1d/550/2016/02/10/192000_0_0.png',
// x: 0,
// y: 0 }
Contributions welcome! Please read the contributing guidelines first.
All source code in index.js
has been adapted from jakiestfu's work in himawari.js.
- @ungoldman/himawari: Maintained fork of
jakiestfu/himawari.js
. - himawari-bg: Set the latest image from Himawari 8 as your desktop background.
- himawari-history: Download all Himawari 8 images in a date range.
Original and modified work is released under the MIT license.