trip's postprocessing code for superprzm