Skip to content

LE.to.ET to fConvertLatentHeatEvaporation2Water in REddyProc #1

Description

@sunxm19

Convert LE to ET [mm hour-1]

- columns other than LE_f are required for agg_fsd() uncertainty evaluation

- LE_fqc is included in the conversion only to keep proper ordering

LE_vars <- c("LE_orig", "LE_f", "LE_fqc", "LE_fall", "LE_fsd")
ET_vars <- gsub("LE", "ET", LE_vars)
all_out[, ET_vars] <-
lapply(LE_vars,
function(x) LE.to.ET(all_out[, x], all_out$Tair_f) * 3600)
openeddy::units(all_out[ET_vars]) <- rep("mm hour-1", length(ET_vars))

In REddyProc >= 1.3, the function was renamed from LE.to.ET to fConvertLatentHeatEvaporation2Water. The old name no longer exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions