process_river_flow function

River flow processing