modis_extent: Get the extent of a MODIS tile

modisExtentR Documentation

Get the extent of a MODIS tile

Description

Get the extent of a MODIS tile from the h (horizontal; column number) and v (vertical; row number) identifier in the filename

Usage

modisExtent(f=NULL, h, v)

Arguments

f

character. filename that includes a h12v09 pattern

h

integer between 0 and 35

v

integer between 0 and 17

Value

SpatExtent

See Also

modisDate

Examples

  
f <- "MOD09A1.A2019137.h21v09.006.2019150085736.hdf"
modisExtent(f)

modisExtent(h=21, v=9)

rspatial/luna documentation built on Dec. 26, 2024, 12:33 a.m.