Skip to content

Commit 8aa206b

Browse files
committed
add docu of sPlotDiurnalCycleM
1 parent b568982 commit 8aa206b

File tree

4 files changed

+50
-9
lines changed

4 files changed

+50
-9
lines changed

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export(sEddyProc_sMRFluxPartitionUStarScens)
101101
export(sEddyProc_sPlotDailySums)
102102
export(sEddyProc_sPlotDailySumsY)
103103
export(sEddyProc_sPlotDiurnalCycle)
104+
export(sEddyProc_sPlotDiurnalCycleM)
104105
export(sEddyProc_sPlotFingerprint)
105106
export(sEddyProc_sPlotFingerprintY)
106107
export(sEddyProc_sPlotHHFluxes)

R/EddyPlotting.R

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -318,18 +318,18 @@ sEddyProc$methods(sPlotFingerprint = sEddyProc_sPlotFingerprint)
318318
#+++ Diurnal cycles
319319
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
320320

321-
# #' @export
322-
.sEddyProc_sPlotDiurnalCycleM <- function(
321+
#' @export
322+
sEddyProc_sPlotDiurnalCycleM <- function(
323323
### The diurnal cycles of a single month are plotted to the current device,
324324
### scaled to all data. Each year is plotted as a different (coloured) line.
325325
Var = Var.s ##<< Variable to plot
326-
, QFVar = if (!missing(QFVar.s)) QFVar.s else 'none' ##<<
327-
## Quality flag of variable to be filled
328-
, QFValue = if (!missing(QFValue.n)) QFValue.n else NA_real_ ##<<
329-
## Value of quality flag for data to plot
326+
, QFVar = if (!missing(QFVar.s)) QFVar.s else 'none' ##<< Quality
327+
## flag of variable to be filled
328+
, QFValue = if (!missing(QFValue.n)) QFValue.n else NA_real_ ##<< Value
329+
## of quality flag for data to plot
330330
, Month = Month.i ##<< Month to plot
331-
, Legend = if (!missing(Legend.b)) Legend.b else T ##<<
332-
## Plot with legend
331+
, Legend = if (!missing(Legend.b)) Legend.b else T ##<< Plot
332+
## with legend
333333
, data = cbind(sDATA, sTEMP) ##<< data.frame with variables to plot
334334
, dts = sINFO$DTS ##<< numeric integer
335335
, Var.s ##<< Variable to plot
@@ -409,7 +409,7 @@ sEddyProc$methods(sPlotFingerprint = sEddyProc_sPlotFingerprint)
409409
, month.name[Month], '!')
410410
}
411411
}
412-
sEddyProc$methods(.sPlotDiurnalCycleM = .sEddyProc_sPlotDiurnalCycleM)
412+
sEddyProc$methods(.sPlotDiurnalCycleM = sEddyProc_sPlotDiurnalCycleM)
413413

414414
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
415415

R/aEddy.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,3 +469,4 @@ sEddyProc$methods(sUpdateMethod = sEddyProc_sUpdateMethod)
469469
# LatDeg=.self$sLOCATION$LatDeg, LongDeg=.self$sLOCATION$LongDeg,
470470
# TimeZoneHour=.self$sLOCATION$TimeZoneHour)
471471
# })
472+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
\name{sEddyProc_sPlotDiurnalCycleM}
2+
\alias{sEddyProc_sPlotDiurnalCycleM}
3+
\title{sEddyProc sPlotDiurnalCycleM}
4+
\description{The diurnal cycles of a single month are plotted to the current device,
5+
scaled to all data. Each year is plotted as a different (coloured) line.}
6+
\usage{sEddyProc_sPlotDiurnalCycleM(Var = Var.s,
7+
QFVar = if (!missing(QFVar.s)) QFVar.s else "none",
8+
QFValue = if (!missing(QFValue.n)) QFValue.n else NA_real_,
9+
Month = Month.i, Legend = if (!missing(Legend.b)) Legend.b else T,
10+
data = cbind(sDATA, sTEMP), dts = sINFO$DTS,
11+
Var.s, QFVar.s = "none", QFValue.n = NA_real_,
12+
Month.i, Legend.b = T)}
13+
\arguments{
14+
\item{Var}{Variable to plot}
15+
\item{QFVar}{Quality
16+
flag of variable to be filled}
17+
\item{QFValue}{Value
18+
of quality flag for data to plot}
19+
\item{Month}{Month to plot}
20+
\item{Legend}{Plot
21+
with legend}
22+
\item{data}{data.frame with variables to plot}
23+
\item{dts}{numeric integer}
24+
\item{Var.s}{Variable to plot}
25+
\item{QFVar.s}{Quality flag of variable to be filled}
26+
\item{QFValue.n}{Value of quality flag for data to plot}
27+
\item{Month.i}{Month to plot}
28+
\item{Legend.b}{Plot with legend}
29+
}
30+
31+
32+
33+
\author{AMM, KS
34+
Department for Biogeochemical Integration at MPI-BGC, Jena, Germany <REddyProc-help@bgc-jena.mpg.de> [cph], Thomas Wutzler <twutz@bgc-jena.mpg.de> [aut, cre], Markus Reichstein <mreichstein@bgc-jena.mpg.de> [aut], Antje Maria Moffat <antje.moffat@bgc.mpg.de> [aut, trl], Olaf Menzer <omenzer@bgc-jena.mpg.de> [ctb], Mirco Migliavacca <mmiglia@bgc-jena.mpg.de> [aut], Kerstin Sickel <ksickel@bgc-jena.mpg.de> [ctb, trl], Ladislav <U+0160>igut <sigut.l@czechglobe.cz> [ctb]}
35+
36+
37+
38+
39+

0 commit comments

Comments
 (0)