1.0.2 • Published 4 years ago

himawari-urls v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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.

1.0.2

4 years ago

1.0.1

6 years ago

1.0.0

8 years ago

1.0.0-alpha.2

8 years ago

1.0.0-alpha.1

8 years ago

1.0.0-alpha

8 years ago