From 0a3ec47aedc7b8c1f0a2e26f0031fec86e1e4d8b Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Mon, 26 Aug 2019 17:07:27 +1000 Subject: [PATCH] Reverse chainages so elevations are monotonically increasing --- extract_contours.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract_contours.py b/extract_contours.py index eb5cbea..5a271f4 100644 --- a/extract_contours.py +++ b/extract_contours.py @@ -40,7 +40,7 @@ for beach in beaches: survey = df.loc[(beach, block, profile, date), :] survey = survey.set_index('Chainage') - # Reverse survey chainage for interpolation + # Reverse survey chainage so elevation is increasing survey = survey[::-1] # Find largest chainage in profile above contour elevation