[netcdfgroup] easiest way to convert a variable type within a netcdf file