Calculate daily temperature from \(T_{min}\) and \(T_{max}\)

daily_temp(
  tmin,
  tmax,
  varid = "tmp",
  timeid = "time",
  latid = "lat",
  lonid = "lon",
  overwrite = TRUE,
  output_filename = NULL
)

Arguments

tmin

List with \(T_{min}\) data and variable id.

tmax

List with \(T_{max}\) data and variable id.

varid

String with variable ID for daily temperature.

timeid

String with the time dimension identifier.

latid

String with the latitude dimension identifier.

lonid

String with the longitude dimension identifier.

overwrite

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

output_filename

Output filename.