swathInfo: Retrieve Information from MODIS Swath Products

Description Usage Arguments Value Functions Examples

Description

Set of helper functions to retrieve information from MODIS swath products.

Usage

1
2
3
4
5

Arguments

x

character, one or multiple .hdf filename(s).

format

character, target format passed on to strftime.

...

Further arguments passed on to underlying functions (see Value).

as_date

logical, determines whether or not to return a Date object.

Value

Functions

Examples

1
2
3
4
5
6
7
8
9
x <- "MOD05_L2.A2013001.0835.006.2015064204640.hdf"

getSwathDate(x)                  # scan date as 'Date'
getSwathDate(x, as_date = FALSE) # scan date as 'character'

getSwathTime(x) # scan time

getSwathDateTime(x)                            # scan date and time as 'POSIXlt'
getSwathDateTime(x, format = "%Y-%m-%d %H:%S") # scan date and time as 'character'

environmentalinformatics-marburg/reset documentation built on May 16, 2019, 7:54 a.m.