Data reduction code for hydrodynamic planet migration code.