airshed: Create HYSPLIT-derived Seasonal/Monthly and Composite Airshed

Description Usage Arguments Examples

View source: R/airshed.R

Description

Create monthly/seasonal and composite airsheds from HYSPLIT back trajectories for a given point location

Usage

1
2
3
airshed(loc, lon, lat, day_select=NA, month_select=NA, year_select,
   season_name="season",mode="seasonal", hy_alt, sPix=0.3,
   nPix=100, cutoff=10, composite=TRUE, ...)

Arguments

loc

character. Name of location, starting point, used in naming subdirectories and files

lon

numeric. Longitude of starting point

lat

numeric. Latitude of starting point

day_select

numeric vector, integers, [1,365]. Days to be run, in Julian days, non-leap years, useful if mode="seasonal"

month_select

numeric vector, integers, [1,12]. Months to be run, useful if mode="monthly"

year_select

numeric vector, integers. Years to be run

season_name

character. Name of season, used in the names of the output folder and file [default is "season"]

mode

character: "monthly" or "seasonal" [default is "seasonal"]

hy_alt

character string or vector. Name(s) of hysplit heights to be run

sPix

numeric. Size of pixel, in degrees [default is 0.3]

nPix

numeric. Number of pixels in horizontal and vertical direction [default is 100]

cutoff

numeric. Threshold, in percent, for pixels to be considered part of seasonal airshed [default to 10]

composite

logical. Create composite airshed? [default is TRUE]

...

see global arguments: pointDir, ask_home

Examples

1
2
#creates winter delhi airshed for 2007-2013 and composite winter airshed for these years
airshed(loc="delhi",lon=77.2090,lat=28.6139,month_select=10:11,year_select=2007:2013,season_name="win",hy_alt="500m")

tianjialiu/HyAirshed-RPackage documentation built on Sept. 24, 2020, 5:13 a.m.