dailyFRPstack: Sum and Stack MODIS FRP to Daily

Description Usage Arguments Examples

View source: R/dailyFRPstack.R

Description

Stack and sum Terra and Aqua daily FRP & mask ocean (for HYSPLIT). Input takes processed FRP .tif files the MODIS Reprojection Tool.

Usage

1
2
... dailyFRPstack(year_select, sDay, eDay,
   frp_mode="combined", ocean_mask=TRUE, ...)

Arguments

year_select

numeric vector. Years to be run

sDay

numeric. First day of starting 8-day composite

eDay

numeric. First day of ending 8-day composite

frp_mode

character: "terra", "aqua", or "combined". Choose Terra-only, Aqua-only, or Terra+Aqua FRP. [default is "combined"]

ocean_mask

logical. Mask ocean? [default is TRUE]

...

see global arguments: rawDir, rasDir, ask_home

Examples

1
2
3
4
5
#renames and stacks FRP in the years 2007-2013 for all days and masks ocean
dailyFRPstack(year_select=2007:2013,sDay=1,eDay=361)

#renames terra FRP in the years 2007-2013 for all days and masks ocean
dailyFRPstack(year_select=2007:2013,sDay=1,eDay=361,mode="terra")

tianjialiu/HyAirshed-RPackage documentation built on March 20, 2018, 11:52 p.m.