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

/find-modis-tile/

    Package Sidebar

    Install

    npm i find-modis-tile

    Weekly Downloads

    3

    Version

    1.0.1

    License

    none

    Last publish

    Collaborators

    • bencevans