delHdf: Delete Local MODIS Grid Files

Description Usage Arguments Author(s) Examples

View source: R/delHdf.R

Description

Delete MODIS grid files to reduce the local storage.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
delHdf(
  product,
  collection = NULL,
  extent = "global",
  tileV = NULL,
  tileH = NULL,
  begin = NULL,
  end = NULL,
  ask = TRUE,
  ...
)

Arguments

product

character, see getProduct.

collection

character or integer, see getCollection.

extent

Extent information, defaults to 'global'. See getTile.

tileH, tileV

numeric or character. Horizontal and vertical tile number, see getTile.

begin, end

Date or character. Begin and end date of MODIS time series, see transDate.

ask

logical. If TRUE (default), the user is being asked for deletion after checking.

...

Arguments passed to MODISoptions, particularly localArcPath.

Author(s)

Matteo Mattiuzzi

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
# REMOVE "MYD11A2" from specific date range and area subset:
# delHdf(product="MYD11A2",begin="2010001",end="2010.02.01",extent="austria")
# or
# delHdf(product="MYD11A2",begin="2010001",end="2010.02.01",tileV=18:19,tileH=4)

# REMOVE "MOD11A2" and "MYD11A2" from specific date range but globaly:
# delHdf(product="M.D11A2",begin="2010001",end="2010.02.01") 

# REMOVE ALL "MOD11A2" from local archive:
# delHdf(product="MOD11A2") 

## End(Not run)

MODIS documentation built on Nov. 12, 2020, 5:06 p.m.