changes in routines for reading and clipping netcdf