Description Usage Arguments Value Examples
View source: R/cl_DownloadData.R
otherwise from
1 | http://obs-vlfr.fr/Pfunction/
|
Download files used by cl_GetData()
function.
1 2 3 4 5 6 7 | cl_DownloadData(
month = 0,
DownloadGeo = TRUE,
dirdata = "CoastalLight.d",
alt = 0,
stat = "mean"
)
|
month |
: [integer] decimal month (0-12). Default = 0.
|
DownloadGeo |
: [logical] download the "geographic" file containing longitude, latitude, depth and surface area of the pixels, mandatory for retrieving pixel locations (default = TRUE) |
dirdata |
: [character] The directory where the files are stored (default = "./CoastalLight.d"); |
alt |
: [integer] the way of downloading (0, 1 or 2). Default = 0
N.B. : if you choose a manual download (alt = 1 or 2), you have to download files in the appropriate directory,
i.e. the argument |
stat |
: [character] the statistical value you want for variables "par", "kdpar" and "parbottom"; choose one among "mean" (mean value), "min" (minimum), "max" (maximum), "sd" (standard deviation) (default = "mean") N.B. : "min", "max", "sd", are available only at URL http://obs-vlfr.fr/Pfunction/ |
: none
1 2 3 4 5 | cl_DownloadData() # annual climatology over 21 years (1998-2018)
cl_DownloadData(month = 1) # monthly climatology (January) over 21 years (1998-2018)
cl_DownloadData(month = 8) # monthly climatology (August) over 21 years (1998-2018)
cl_DownloadData(month = 8, stat = "sd") # idem,
but download standard deviation of optical parameters
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.