Giter Site home page Giter Site logo

modistools's Introduction

MODISTools

R package - retrieving & using MODIS data from NASA LPDAAC archive

MODISTools is an R package for retrieving and using MODIS data subsets using ORNL DAAC web service (SOAP) for subsetting from Oak Ridge National Laboratory (ORNL). It provides a batch method for retrieving subsets of MODIS http://modis.gsfc.nasa.gov/ remotely sensed data and processing them to a format ready for user-friendly application in R, such as statistical modelling.

The most important function is MODISSubsets, for requesting subsets from a given MODIS product for multiple time-series. Each time-series is defined by a coordinate location (WGS-1984), a surrounding area of interest, and a start and end date. Automating this as a batch process reduces time, effort, and human error. Alternatively, MODISTransects expands upon MODISSubsets by extracting MODIS data along a transect, and its surrounding neighbourhood. Downloaded subsets are saved in ASCII files, but can be converted to ASCII grid files for use in a GIS environment. MODISSummaries computes summary statistics of downloaded subsets and organises summarised data back with the original input dataset, creating a csv file that can be easily used for modelling; this provides efficient storage of data and a transparent process from data collection, to processing, to a form that is ready for final use.

The functions were originally used for downloading vegetation indices data, but have been generalised to provide a package that performs the same functionality for any MODIS data that available through the web service. For a list of available MODIS products, see http://daacweb-dev.ornl.gov/MODIS/MODIS-menu/products.html. Other minor functions -- including a lat-long coordinate conversion tool -- are included to aid this process.

Recent stable releases of this package have been checked and built on Windows, Mac, and Linux, and last checked on R 3.1.2 on 2014-12-22. MODISTools is written by Sean Tuck and Helen Phillips. This package can be used under the terms of the GNU GPLv3 license; feel free to use and modify as you wish, but please cite our work where appropriate. To cite MODISTools in publications, please use:

Tuck, S.L., Phillips, H.R.P., Hintzen, R.E., Scharlemann, J.P.W., Purvis, A. and Hudson, L.N. (2014) MODISTools -- downloading and processing MODIS remotely sensed data in R. Ecology and Evolution, 4 (24), 4658--4668. DOI: 10.1002/ece3.1273.

Some of the changes in recent updates:

  • New function, MODISGrid, that takes downloaded ASCII files and converts them into ASCII grid files, which can be used in a GIS environment.
  • Optional time-series plots for diagnostics as output from MODISSummaries.
  • MODISGrid now writes MODIS projection (PRJ) files for all ASCII raster grids, so their correct projection is defined. These files can now be loaded directly into a GIS environment.
  • MODISGrid now more flexibly deals with data files that contain multiple products.
  • Citation for publication in Ecology and Evolution added.
  • Documentation and 'Using MODISTools' vignette updated.

Changes coming soon:

  • More product-specific time-series summaries in MODISSummaries.

Installation

The most recent stable release can be installed from the CRAN repository, by running:

install.packages("MODISTools")

This is the recommended way to download.

Alternatively, the most up-to-date in-development version of MODISTools can be installed from this github repository. To do this, install the package devtools if you haven't already done so.

install.packages("devtools")
library(devtools)

Then use install_github, with this repository name, to install MODISTools straight from github.

install_github("seantuck12/MODISTools", build_vignettes=TRUE)

Dependencies

http://www.omegahat.org/RCurl

http://www.omegahat.org/RSXML

modistools's People

Contributors

helenphillips avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.