delHdf: Delete Local MODIS Grid Files

View source: R/delHdf.R

delHdfR Documentation

Delete Local MODIS Grid Files

Description

Delete MODIS grid files to reduce the local storage.

Usage

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

## 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)


MatMatt/MODIS documentation built on Feb. 1, 2023, 12:39 a.m.