trim_pbl: Trim lists of parcels

Description Usage Arguments Value Author(s)

View source: R/trim_pbl.R

Description

Omit parcels after they have reached a height of zero or are above the boundary layer height. Called as a utility by hyspdisp_fac_model.

Usage

1
2
trim_zero(Min)
trim_pbl(Min, hpbl_file)

Arguments

Min

data table of particle positions. Expected variables are:

  1. particle_no (particle number)

  2. hour (hours since particle released—not required for trim_zero)

  3. height (particle height)

hpbl_file

monthly mean boundary layer heights from NOAA's Earth System Research Library: https://www.esrl.noaa.gov/psd/data/gridded/data.20thC_ReanV2.monolevel.mm.html

Value

Returns trimmed data tables with same columns as input Min

Author(s)

LH & CC


lhenneman/hyspdisp documentation built on Oct. 17, 2019, 6:29 p.m.