Skip to content

Commit 43eea8d

Browse files
committed
update docu of usGetValidUstarIndices
constrains to (rather than omit) night-time data
1 parent ddeddfd commit 43eea8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/EddyUStarFilterDP.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ usEstUstarThresholdSingleFw2Binned <- function(
11721172

11731173

11741174
usGetValidUstarIndices <- function(
1175-
### remove non-finite cases and omit night time data.
1175+
### remove non-finite cases and constrain to night time data.
11761176
ds ##<< data.frame with columns
11771177
, UstarColName = "Ustar" ##<< column name for UStar
11781178
, NEEColName = "NEE" ##<< column name for NEE
@@ -1189,8 +1189,8 @@ usGetValidUstarIndices <- function(
11891189
is.finite(ds[, UstarColName]) &
11901190
is.finite(ds[, RgColName])
11911191
bo <- bo & ds[, RgColName] < swThr
1192-
##value<< boolean vector with non-finite cases and cases
1193-
## with radiation < swThr set to FALSE.
1192+
##value<< boolean vector with TRUE only for finite cases during
1193+
## night-time respiration.
11941194
bo
11951195
}
11961196

0 commit comments

Comments
 (0)