View source: R/read_smi_image.R
Read ocean colour imagery from the NASA site, files will be downloaded and read in with
brick
. If a file with an identical name is already present in the current working directory the download
is skipped.
1 2 3 | read_smi_image(date, platform = c(A = "MODISA", S = "SeaWiFS"), tres = c(DAY
= "", `8D` = "8 days", MO = "1 month", YR = "1 year"), varname = c(CHL =
"chlor_a"))
|
date |
date of image to find |
platform |
which satellite platform (currently MODISA and SeaWiFS) |
tres |
temporal resolution to read |
varname |
name of variable (currently chlorophyll-a) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.