R/get_nodata_dtype_chelsa.R
get_nodata_dtype_chelsa.Rd
Ues gdalinfo and regular expression to extract nodata values and data types for Chelsa climatic variables. The following monthly climatic variables are considered: clt, pet, pr, tas, tasmax, tasmin.
get_nodata_dtype_chelsa(nmonths = 1, biovar = TRUE, verbose = TRUE)
numeric. Number of months to consider. Must be between 1 and 12. Default to 1.
boolean. If TRUE (the default), consider the 19 bioclimatic variables in addition to monthly variables.
boolean. If FALSE, do not print message. Default to TRUE.
dataframe. The dataframe includes nodata value and data type for each variable.
if (FALSE) {
df <- get_nodata_dtype_chelsa(nmonths=1, biovar=TRUE, verbose=TRUE)
print(df)
}