day8_to_month: 8day to monthly mean

View source: R/modis_utils.R

day8_to_monthR Documentation

8day to monthly mean

Description

takes 8 day MODIS tiles and generates a monthly mean mean((tile / 8)) / days_in_month

Usage

day8_to_month(
  dir = "/Volumes/Transcend/ngen/MODIS/MOD15A2H.006/mosaics_cogs",
  measurement = "representative",
  date = NULL,
  overwrite = FALSE,
  cog = TRUE
)

Arguments

dir

the directory with 8 day data

measurement

are the 8 day files a single best representative (default) or a daily sum

date

the date of the months to process to build passed as a vector of length 1 (single date), or 2 (range of dates)

overwrite

should the files be overwriten?

cog

should a COG file (Cloud Optimized Geotif) be produced?

See Also

Other modis: .modis_dir(), downloadMODIS(), mosaicMODIS()


mikejohnson51/geogrids documentation built on June 16, 2022, 12:36 a.m.