Learn R Programming

⚠️There's a newer version (0.4) of this package.Take me there.

M3 (version 0.3)

Reading M3 files

Description

This package contains functions to read in and manipulate air quality model output from Models3-formatted files. This format is used by the Community Multiscale Air Quaility (CMAQ) model.

Copy Link

Version

Install

install.packages('M3')

Monthly Downloads

161

Version

0.3

License

Unlimited

Maintainer

Jenise Swall

Last Published

May 16th, 2012

Functions in M3 (0.3)

get.canusamex.bds

Obtain map boundaries for Canada, USA, and Mexico
get.proj.info.M3

Obtain information about the projection used in the Models3 file
decipher.M3.date

Decipher Models3 date format (YYYYDDD) into R's Date class.
get.M3.var

Read in variable values from Models3-formatted files
project.M3.to.lonlat

Project coordinates from model units to longitude/latitude
get.grid.info.M3

Get information about the grid used by the air quality model
var.subset

Subset the array resulting from a call to get.M3.var.
get.datetime.seq

Read in a sequence of date-time steps from a Models3-formatted file.
get.coord.for.dimension

Get the grid coordinates for the grid rows or columns.
M3-package

Functions to read in and manipulate air quality model output from files in Models3 format
project.M3.1.to.M3.2

Project coordinates based on projection in the first file to the projection given in the second
project.lonlat.to.M3

Project coordinates from longitude/latitude to model units.
combine.date.and.time

Combine date and time to obtain date-time in POSIX format
get.matrix.all.grid.cell.ctrs

Obtain a matrix giving the locations of the grid cell centers
get.map.lines.M3.proj

Get map lines in the model projection units
decipher.M3.time

Decipher Models3 time format (HHMMSS) into hours, minutes, and seconds.