exception handling if keys not found in netcdf files
refactored param_wue to make it generic