himawari-urls

Get URLs for Himawari 8 image tiles based on a given date.

Usage no npm install needed!

<script type="module">
  import himawariUrls from 'https://cdn.skypack.dev/himawari-urls';
</script>

README

himawari-urls

Get URLs for Himawari 8 image tiles based on a given date.

npm travis standard

Install

npm install himawari-urls

Usage

var 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 }

Contributing

Contributions welcome! Please read the contributing guidelines first.

Acknowledgment

All source code in index.js has been adapted from jakiestfu's work in himawari.js.

See Also

  • hi8: See Earth from Himawari-8 on your desktop every 10 minutes.
  • himawari-bg: Set the latest image from Himawari 8 as your desktop background.
  • himawari-history: Download all Himawari 8 images in a date range.

License

Original and modified work is released under the MIT license.