View source: R/interpolation_wrapper.R
interpolation_wrapper | R Documentation |
This function interpolates gear temperature to calculate cold pool area using all candidate interpolation methods and outputs rasters of temperature and estimates of Cold Pool Area. Output includes the best
interpolation_wrapper(
temp_data_path,
proj_crs,
cell_resolution,
select_years = NULL,
interp_variable,
select_region = "sebs",
methods = NULL
)
temp_data_path |
Filepath to temperature csv file generated by get_data() |
proj_crs |
CRS string to use for interpolation as a character vector (CRS should have units of meters) |
cell_resolution |
Interpolation grid cell dimension in meters. |
select_years |
Optional. Select years to use for interpolation. Default NULL uses all years. |
select_region |
Region for interpolation as a character string. Options = "ebs", "sebs", "nbs" |
methods |
Optional character vector of methods to pass to interpolate_variable(). Valid choices: "NN", "IDW", "IDW4", "Exp", "Sph", "Bes", "Gau", "Cir", "Mat", "Ste", "Tps". If NULL, uses defaults. |
Data frame of estimated cold pool area from multiple candidate interpolation methods.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.