dot-sits_from_shp: Obtain timeSeries from WTSS server, based on a SHP file.

Description Usage Arguments Value

Description

reads a shapefile and retrieves a sits tibble containing time series from a data cube that are inside the SHP file. The script uses the WTSS service, taking information about spatial and temporal resolution from the WTSS configuration.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
.sits_from_shp(
  shp_file,
  cube,
  start_date,
  end_date,
  bands,
  label,
  shp_attr,
  .n_shp_pol,
  .n_shp_pts,
  .prefilter
)

Arguments

shp_file

SHP file which provides the boundaries of a region.

cube

Data cube metadata.

start_date

Start date of the period.

end_date

End date of the period.

bands

Names of the bands to be retrieved.

label

Label to attach to the time series.

shp_attr

Attribute in the shapefile used as a polygon label

.n_shp_pol

Number of samples per polygon to be read (for POLYGON or MULTIPOLYGON shapes)

.n_shp_pts

Number of points to be read (for POINT shapes)

.prefilter

Filtering for SATVEG cube ("0" - none, "1" - no data correction, "2" - cloud correction, "3" - no data and cloud correction).

Value

A sits tibble.


e-sensing/sits.data documentation built on Dec. 26, 2019, 11:02 p.m.