piecewise potential vorticity inversion for ECMWF data; qg- and Ertel-PV