View source: R/vb_convert_na.R
vb_convert_na | R Documentation |
This function transforms any NA value to -9999. It assumes the data is in the DROBO under the folder Environmental data/CMIPx_DATA. You need to have access to the DROBO in order to use this function. VB step 1/6
vb_convert_na(
cimip = 6,
model,
ssp,
variable,
years,
overwrite = T,
save_path = NA
)
cimip |
The number of the modeling project. Currently set to 6 |
model |
The Earth System model that will be running. Part of the path. Needs to match the file name |
ssp |
The SSP to run. Part of the path. Needs to match the file name |
variable |
Expects the name of the variable to be converted. Part of the path. Needs to match the filename |
years |
A set of years to run the function |
overwrite |
The result of the function will overwrite the original file. Set to F if you do not want this option. If F, a save path needs to be provided. Normally set to T. |
save_path |
Expects a path to save the data. Needs overwrite = F. Do not include / at the end of the path |
It does not return anything. This function will overwrite the original file unless the parameter overwrite = F
Juliano Palacios Abrantes | j.palacios@oceans.ubc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.