extract_regime: Creata a NetCDF file with the ratio of FORM/(NO2 + O3)

View source: R/extract_regime.R

extract_regimeR Documentation

Creata a NetCDF file with the ratio of FORM/(NO2 + O3)

Description

Read and calculate the mean value of a variable from a list of wrf output files.

Usage

extract_regime(
  filelist,
  variable_mon = "form",
  variable_dem = c("no2", "o3"),
  field = "4d",
  prefix = "ratio",
  units = "",
  meta = T,
  filename,
  verbose = TRUE
)

Arguments

filelist

list of files to be read

variable_mon

variable name for nominador

variable_dem

variable name for denominador

field

'4d' (default), '3d', '2d' or '2dz' see notes

prefix

to output file, defolt is serie

units

units on netcdf file (default is ppmv)

meta

use Times, XLONG and XLAT data (only work with 2d variable for file)

filename

name for the file, in this case prefix is not used

verbose

display additional information

Note

The field argument '4d' / '2dz' is used to read a 4d/3d variable droping the 3rd dimention (z).

ratio < 0.28, VOC-limited, +VOC emissions -> +O3 concentration

ratio > 0.28, NOx-limited, +NOx emissions -> +O3 concentration

References

Sillman, S. (1995). The use of NO y, H2O2, and HNO3 as indicators for ozone‐NO x‐hydrocarbon sensitivity in urban locations. Journal of Geophysical Research: Atmospheres, 100(D7), 14175-14188.


Schuch666/hackWRF documentation built on June 9, 2025, 1:46 p.m.