Process standard NetCDF files from ISIMIP or WRF Read Temperature

read_ncdf(ncdf = NULL, model = NULL, var = NULL, time_periods = NULL)

Arguments

ncdf

Default = NULL. String for path to the NetCDF file.

model

Default = NULL. String for climate model that generates the ncdf file. Options: 'wrf' or 'cmip'.

var

Default = NULL. String for variable name to extract from NetCDF file. Temperature var is 'tas' for CMIP models; 'T2' for WRF model.

time_periods

Default = NULL. Integer vector for selected time periods to process. If not specified, use the whole time periods from the data.