Learn R Programming

sits (version 1.12.0)

.sits_from_satveg: Obtain one timeSeries from the EMBRAPA SATVEG server and load it on a sits tibble

Description

Returns one set of MODIS time series provided by the EMBRAPA server (SATVEG) Given a location (lat/long), the function retrieves the "ndvi" and "evi" bands from SATVEG and inclues the data on a stis tibble. If start and end date are given, the function filter the data to limit the temporal interval.

Usage

.sits_from_satveg(coverage, longitude, latitude, start_date = NULL,
  end_date = NULL, bands = NULL, prefilter = "1",
  label = "NoClass")

Arguments

coverage

The coverage metadata with the SATVEG information.

longitude

A double value with the longitude of the chosen location.

latitude

A double value with the latitude of the chosen location.

start_date

The start date of the period.

end_date

The end date of the period.

bands

The bands to be retrieved.

prefilter

A string ("0" - none, "1" - no data correction, "2" - cloud correction, "3" - no data and cloud correction).

label

A string with the label to attach to the time series (optional).

Value

A sits tibble.