Move netCDF subroutines