From 0f97a5571bd8e4802e4a3eb35762a2069d0c4af1 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Thu, 7 Apr 2022 11:35:17 +0200 Subject: [PATCH] Remove comments --- probabilistic-analysis/probabilistic_assessment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/probabilistic-analysis/probabilistic_assessment.py b/probabilistic-analysis/probabilistic_assessment.py index 59c690e..ae7e7be 100644 --- a/probabilistic-analysis/probabilistic_assessment.py +++ b/probabilistic-analysis/probabilistic_assessment.py @@ -230,10 +230,10 @@ def get_ongoing_recession(n_runs, start_year, end_year, sea_level_rise, slr[i, :] = np.ones([1, n_runs]) * slr_mode[i] # Sort each row, so SLR follows a smooth trajectory for each model run - slr.sort(axis=1) # FIXME: re-assign variable? + slr.sort(axis=1) # Shuffle columns, so the order of model runs is randomised - np.random.shuffle(slr.T) # FIXME: re-assign variable? + np.random.shuffle(slr.T) # Shift sea level so it is zero in the start year slr -= slr[0, :].mean(axis=0)