node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

find-modis-tile

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