Function fromNetCDF