Skip to content

Commit ce598d9

Browse files
committed
fix typo in useSeasonalUStarThresholds
1 parent e59feb3 commit ce598d9

File tree

8 files changed

+25
-23
lines changed

8 files changed

+25
-23
lines changed

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export(sEddyProc_sTKFluxPartition)
114114
export(sEddyProc_sTKFluxPartitionUStarScens)
115115
export(sEddyProc_update_ustarthreshold_columns)
116116
export(sEddyProc_useAnnualUStarThresholds)
117-
export(sEddyProc_useSeaonsalUStarThresholds)
117+
export(sEddyProc_useSeasonalUStarThresholds)
118118
export(usControlUstarEst)
119119
export(usControlUstarSubsetting)
120120
export(usCreateSeasonFactorMonth)

R/aEddy.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ sEddyProc_sSetUstarScenarios <- function(
286286
sEddyProc$methods(sSetUstarScenarios = sEddyProc_sSetUstarScenarios)
287287

288288
#' @export
289-
sEddyProc_useSeaonsalUStarThresholds <- function(
289+
sEddyProc_useSeasonalUStarThresholds <- function(
290290
### use seasonal estimates of uStar thresholds
291291
) {
292292
##seealso<< \code{\link{sEddyProc_sSetUstarScenarios}},
@@ -295,14 +295,16 @@ sEddyProc_useSeaonsalUStarThresholds <- function(
295295
uStarMap <- usGetSeasonalSeasonUStarMap(uStarThAgg)
296296
.self$sSetUstarScenarios(uStarMap)
297297
}
298-
sEddyProc$methods(useSeaonsalUStarThresholds = sEddyProc_useSeaonsalUStarThresholds)
298+
sEddyProc$methods(useSeasonalUStarThresholds = sEddyProc_useSeasonalUStarThresholds)
299+
# backward compatibiity to former typo
300+
sEddyProc$methods(useSeaonsalUStarThresholds = sEddyProc_useSeasonalUStarThresholds)
299301

300302
#' @export
301303
sEddyProc_useAnnualUStarThresholds <- function(
302304
### use seasonal estimates of uStar thresholds
303305
) {
304306
##seealso<< \code{\link{sEddyProc_sSetUstarScenarios}},
305-
## \code{\link{sEddyProc_useSeaonsalUStarThresholds}}
307+
## \code{\link{sEddyProc_useSeasonalUStarThresholds}}
306308
uStarThAgg <- .self$sGetEstimatedUstarThresholdDistribution()
307309
uStarMap <- usGetAnnualSeasonUStarMap(uStarThAgg)
308310
.self$sSetUstarScenarios(uStarMap)

man/sEddyProc_useAnnualUStarThresholds.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111

1212

1313
\seealso{\code{\link{sEddyProc_sSetUstarScenarios}},
14-
\code{\link{sEddyProc_useSeaonsalUStarThresholds}}}
14+
\code{\link{sEddyProc_useSeasonalUStarThresholds}}}
1515

man/sEddyProc_useSeaonsalUStarThresholds.Rd renamed to man/sEddyProc_useSeasonalUStarThresholds.Rd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
\name{sEddyProc_useSeaonsalUStarThresholds}
2-
\alias{sEddyProc_useSeaonsalUStarThresholds}
3-
\title{sEddyProc useSeaonsalUStarThresholds}
1+
\name{sEddyProc_useSeasonalUStarThresholds}
2+
\alias{sEddyProc_useSeasonalUStarThresholds}
3+
\title{sEddyProc useSeasonalUStarThresholds}
44
\description{use seasonal estimates of uStar thresholds}
5-
\usage{sEddyProc_useSeaonsalUStarThresholds()}
5+
\usage{sEddyProc_useSeasonalUStarThresholds()}
66

77

88

vignettes/DEGebExample.Rmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ abline( v = seasonStartsDate$DateTime)
103103
The user-specific seasoning is provided to the gap-filling by the argument `seasonFactor`.
104104
```{r DEGeb_estUStar1b, cache = TRUE}
105105
(uStarTh <- EProc$sEstUstarThold(seasonFactor = seasonFactor))
106-
#EProc$useSeaonsalUStarThresholds()
106+
#EProc$useSeasonalUStarThresholds()
107107
# estimation can be inspected by plotting the saturation of NEE with UStar
108108
# for the temperatures of one season
109109
#EProc$sPlotNEEVersusUStarForSeason( levels(uStarTh$season)[2] )
@@ -116,11 +116,11 @@ the mean across the years.
116116
By default the gap-filling uses annually aggregated estimates of uStar-Threshold.
117117
This usually works for sites with continuous vegetation cover.
118118
For the crop-site of this example, we will use a different threshold for each of
119-
the defined seasons, by calling `sEddyProc_useSeaonsalUStarThresholds`
119+
the defined seasons, by calling `sEddyProc_useSeasonalUStarThresholds`
120120
before gapfilling.
121121

122122
```{r DEGeb_estUStar1c}
123-
EProc$useSeaonsalUStarThresholds()
123+
EProc$useSeasonalUStarThresholds()
124124
EProc$sGetUstarScenarios()
125125
```
126126

@@ -154,7 +154,7 @@ EProc$sEstimateUstarScenarios(
154154
# EProc$sGetEstimatedUstarThresholdDistribution()
155155
#))
156156
#EProc$sSetUstarScenarios(uStarScens)
157-
EProc$useSeaonsalUStarThresholds()
157+
EProc$useSeasonalUStarThresholds()
158158
EProc$sGetUstarScenarios()
159159
```
160160

@@ -205,7 +205,7 @@ resUStar <- EProc$sEstUstarThold(
205205
, seasonFactor = seasonFactor
206206
)
207207
#(uStarThCP <- usGetSeasonalSeasonUStarMap(resUStar))
208-
EProc$useSeaonsalUStarThresholds()
208+
EProc$useSeasonalUStarThresholds()
209209
EProc$sGetUstarScenarios()
210210
```
211211

vignettes/DEGebExample.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ argument `seasonFactor`.
9393
## 12 season 2006 2006120 0.06966667
9494
## 13 season 2006 2006305 0.25094444
9595

96-
#EProc$useSeaonsalUStarThresholds()
96+
#EProc$useSeasonalUStarThresholds()
9797
# estimation can be inspected by plotting the saturation of NEE with UStar
9898
# for the temperatures of one season
9999
#EProc$sPlotNEEVersusUStarForSeason( levels(uStarTh$season)[2] )
@@ -106,9 +106,9 @@ By default the gap-filling uses annually aggregated estimates of
106106
uStar-Threshold. This usually works for sites with continuous vegetation
107107
cover. For the crop-site of this example, we will use a different
108108
threshold for each of the defined seasons, by calling
109-
`sEddyProc_useSeaonsalUStarThresholds` before gapfilling.
109+
`sEddyProc_useSeasonalUStarThresholds` before gapfilling.
110110

111-
EProc$useSeaonsalUStarThresholds()
111+
EProc$useSeasonalUStarThresholds()
112112
EProc$sGetUstarScenarios()
113113

114114
## season uStar
@@ -148,7 +148,7 @@ uStar Threshold.
148148
# EProc$sGetEstimatedUstarThresholdDistribution()
149149
#))
150150
#EProc$sSetUstarScenarios(uStarScens)
151-
EProc$useSeaonsalUStarThresholds()
151+
EProc$useSeasonalUStarThresholds()
152152
EProc$sGetUstarScenarios()
153153

154154
## season uStar U10 U90
@@ -206,7 +206,7 @@ as Gap.
206206
, seasonFactor = seasonFactor
207207
)
208208
#(uStarThCP <- usGetSeasonalSeasonUStarMap(resUStar))
209-
EProc$useSeaonsalUStarThresholds()
209+
EProc$useSeasonalUStarThresholds()
210210
EProc$sGetUstarScenarios()
211211

212212
## season uStar

vignettes/uStarCases.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ In conjunction with method `usGetSeasonalSeasonUStarMap` and
152152
`sEddyProc_sSetUstarScenarios` this can be used
153153
to set seasonally different u* threshold.
154154
However, this common case supported by method
155-
`sEddyProc_useSeaonsalUStarThresholds`.
155+
`sEddyProc_useSeasonalUStarThresholds`.
156156

157157
```{r uStarScenSetSeasonal}
158158
#EProc$sSetUstarScenarios(
159159
# usGetSeasonalSeasonUStarMap(uStarThAgg)[,-2])
160-
EProc$useSeaonsalUStarThresholds()
160+
EProc$useSeasonalUStarThresholds()
161161
# inspect the changed thresholds to be used
162162
EProc$sGetUstarScenarios()
163163
```

vignettes/uStarCases.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ estimates for different aggregation levels, use method
149149
In conjunction with method `usGetSeasonalSeasonUStarMap` and
150150
`sEddyProc_sSetUstarScenarios` this can be used to set seasonally
151151
different u\* threshold. However, this common case supported by method
152-
`sEddyProc_useSeaonsalUStarThresholds`.
152+
`sEddyProc_useSeasonalUStarThresholds`.
153153

154154
#EProc$sSetUstarScenarios(
155155
# usGetSeasonalSeasonUStarMap(uStarThAgg)[,-2])
156-
EProc$useSeaonsalUStarThresholds()
156+
EProc$useSeasonalUStarThresholds()
157157
# inspect the changed thresholds to be used
158158
EProc$sGetUstarScenarios()
159159

0 commit comments

Comments
 (0)