add debug statements to param_file subset routinge and fix typo in global netcdf attributes