nc_vpd: Calculate vapour pressure deficit

Description Usage Arguments

View source: R/utils-nc.R

Description

Calculate vapour pressure deficit and save output to a netCDF file.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
nc_vpd(
  filename,
  Tg,
  vap,
  lat = NULL,
  lon = NULL,
  cpus = 2,
  overwrite = TRUE,
  output_filename = NULL
)

Arguments

filename

String with the output filename (.nc).

Tg

3D structure with mean daytime temperature values.

vap

3D structure with vapour data.

lat

List with latitude data and variable id.

lon

List with longitude data and variable id.

cpus

Number of CPUs to use for the computation.

overwrite

Boolean flag to indicate if the output file should be overwritten (if it exists).

output_filename

Output filename.


special-uor/codos documentation built on Jan. 7, 2022, 2:32 a.m.