.pull_env | R Documentation |
Accesses and download environmental data from the IMOS THREDDS server
.pull_env(
dates,
study_extent,
var_name,
folder_name = NULL,
.cache,
.crop,
.nrt = FALSE,
.output_format = ".grd",
.parallel = TRUE,
.ncores = NULL,
verbose = TRUE
)
dates |
detection data source in data frame with at the minimum a X, Y and date time field |
study_extent |
|
var_name |
variable needed options include current options ('rs_sst', 'rs_sst_interpolated', 'rs_salinity', 'rs_chl', 'rs_turbidity', 'rs_npp', 'rs_current', 'bathy', 'dist_to_land') |
folder_name |
name of folder within 'imos.cache' where downloaded rasters should be saved. default NULL produces automatic folder names based on study extent |
.cache |
should the extracted environmental data be cached within the working directory? |
.crop |
should the extracted environmental data be cropped to within the study site |
.nrt |
should NRT Ocean Current data be used if DM data is not available for certain years? |
.output_format |
File type for cached environmental layers. See |
.parallel |
should the environmental data download be conducted in parallel to speed up the process? Currently, parallel processing is only supported when downloading 'rs_current' data. |
.ncores |
Internal function to download environmental raster layers from IMOS Thredds server (http://thredds.aodn.org.au/)
a SpatRaster object with daily spatial environmental layers associated with detection dates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.