-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate_climatology.Rd
56 lines (48 loc) · 1.21 KB
/
create_climatology.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_climatology.R
\name{create_climatology}
\alias{create_climatology}
\title{Create climatology}
\usage{
create_climatology(
sst_file,
window = 84,
quiet = FALSE,
return = FALSE,
baa = FALSE,
save_output = NULL,
climatology = NULL
)
}
\arguments{
\item{sst_file}{input}
\item{window}{number of days for the DHW sum (12 weeks = 84 days default)}
\item{quiet}{verbose - update with messages?}
\item{return}{return output TRUE/FALSE}
\item{baa}{return baa? TRUE/FALSE (speeds up processing)}
\item{save_output}{save output? "folder/filename" format where "folder/filename_sst.tif", "folder/filename_dhw.tif" etc}
\item{climatology}{replace mmm with external climatology? link to .nc, explicit for CRW (i.e. "GBR_ct5km_climatology_v3.1.nc")}
}
\value{
output list (see above for details)
}
\description{
Function to calculate climatology from datasets
See vignette for further details
outputs:
\itemize{
\item output$sst
\item output$anomalies
\item output$mm
\item output$mmm
\item output$dailyclimatology
\item output$hs
\item output$dhw
}
note - calculating BAA is slow
}
\examples{
\dontrun{
output <- create_climatology("crw.nc")
}
}