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)

Arguments

nmonths

numeric. Number of months to consider. Must be between 1 and 12. Default to 1.

biovar

boolean. If TRUE (the default), consider the 19 bioclimatic variables in addition to monthly variables.

verbose

boolean. If FALSE, do not print message. Default to TRUE.

Value

dataframe. The dataframe includes nodata value and data type for each variable.

Author

Ghislain Vieilledent ghislain.vieilledent@cirad.fr

Examples

if (FALSE) {
df <- get_nodata_dtype_chelsa(nmonths=1, biovar=TRUE, verbose=TRUE)
print(df)
}