compute logical vector of each rows in ds is its a valid night record

isValidNightRecord(ds)

Arguments

ds

data.frame with columns isNight, NEE, Temp (degC)

Value

logical vector of length nrow(ds)

Details

For robustness, data is trimmed to conditions at temperature > 1 degC but only timmed if there are more at least 12 records left