1.0.1 • Published 7 years ago

find-modis-tile v1.0.1

Weekly downloads
6
License
-
Repository
-
Last release
7 years ago

find-modis-tile Build Status Coverage Status

Find the MODIS X/Y for a given Longitude/Latitude

Install

$ npm install --save find-modis-tile

Usage

const findModisTile = require('find-modis-tile');

const long = 0;
const lat = 0;

findModisTile(long, lat);
//=> { x: 17,
//=>   y: 8,
//=>   lonMin: -10.1532,
//=>   lonMax: 0.0085,
//=>   latMin: 0,
//=>   latMax: 10 }

API

findModisTile(lonLat)

lonLat

Type: array[2]/number

Longitude, Latitude array.

License

MIT © Ben Evans