getgmisdata: This function downloads a variable from GMIS for a month on a...

Description Usage Arguments Value Examples

Description

This function downloads a variable from GMIS for a month on a spatial area using the wcs-t service

Usage

1
2
getgmisdata(name = "GMIS_A_CHLA", resolution = "4km", date = "2005-09",
  xmin = 15, xmax = 20.5, ymin = 30, ymax = 32.5)

Arguments

name

A character vector of the shortname of the variable

resolution

A character vector giving the spatial resolution of the data: "4km" or "9km"

date

A character vector of the month ("YYYY-MM")

xmin

A numeric vector of the lower longitude of the spatial area

xmax

A numeric vector of the max longitude of the spatial area

ymin

A numeric vector of the lower latitude of the spatial area

ymax

A numeric vector of the max latitude of the spatial area

Value

A rasterlayer object of the map of the variable for the given month

Examples

1
2
3
4
5
6
## Not run: 
	#extraction of the MODIS chlorophyll a concentration for Septembre 2009 in the vicinity of the Bird Island area (South Africa)
	img<-getgmisdata("GMIS_A_CHLA","4km","2005-09",xmin=26.1,xmax=26.5,ymin=-34,ymax=-33.5)
	plot(img)
  
## End(Not run)

ldbk/EMISR documentation built on May 20, 2019, 11:28 p.m.