PuffR-package: A collection of tools to help with dispersion modelling using...

Description Details Author(s) Examples

Description

This package allows for the discovery, retrieval, organization, and production of inputs for the CALPUFF model.

Details

Package: PuffR
Type: Package
Version: 0.1
Date: 2013-11-12
License: MIT

Author(s)

Richard Iannone

Maintainer: Richard Iannone <riannone@me.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Create a CALMET domain of 100 by 100 km
# in the Los Angeles area
define.calmet.domain(lat.dec.deg = 34.050184,
                    long.dec.deg = -118.253959,
                    lat.long.grid.loc = 1,
                    EPSG_code = 32611,
                    cell.resolution.m = 250,
                    domain.width.m = 100000,
                    domain.height.m = 100000)

# Get surface station data from NCDC
ncdc.station.data(startyear = 2010,
                  endyear = 2010,
                  use.calmet.bounds = TRUE)
                  
# Select only 3 stations from the retrieved
# stations in the domain
# The format for each station is [USAF]-[WBAN]
station.select(id = c("720046-99999",
                      "722950-23174",
                      "722886-23130"))

# Create a 'SURF.DAT' file for CALMET
surf.dat.generate()

rich-iannone/PuffR documentation built on May 27, 2019, 7:46 a.m.