HydroLogger2 Code