nc_Tg: Wrapper for 'T_g'

Description Usage Arguments

View source: R/utils-nc.R

Description

Wrapper for T_g (mean daytime air temperature).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
nc_Tg(
  filename,
  dcl,
  tmn,
  tmx,
  lat = NULL,
  lon = NULL,
  cpus = 2,
  overwrite = TRUE
)

Arguments

filename

String with the output filename (.nc).

dcl

Numeric vector with solar declination angle data. These values can be calculated with the function splash_dcl.

tmn

3D structure with minimum temperature data.

tmx

3D structure with maximum temperature 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).


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