Open of netcdf files of WRF SMN from AWS and optional projection
load.by.variable(nc.filenames, variable, transform, method)
Spat Raster with the chosen variable (optional: with the projection changed)
netcdf files
name of variable from https://odp-aws-smn.github.io/documentation_wrf_det/Formato_de_datos/ as character
TRUE to project data to longlat datum=WGS84
if transform is set TRUE define projection method taken from project function of terra package