Neutral Political Machine
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

find-modis-tile

1.0.1 • Public • Published

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

Keywords

none

install

npm i find-modis-tile

Downloadsweekly downloads

4

version

1.0.1

license

none

last publish

collaborators

  • avatar