diff --git a/webgeodyn/inout/pygeodyn_hdf5_forecasts.py b/webgeodyn/inout/pygeodyn_hdf5_forecasts.py index 2e4b5fc6e00be78b5d874039b2b31ac3150eba8e..410df0b8bccc7c8c36405a5fa03c29724790ae55 100644 --- a/webgeodyn/inout/pygeodyn_hdf5_forecasts.py +++ b/webgeodyn/inout/pygeodyn_hdf5_forecasts.py @@ -31,7 +31,7 @@ def load(dataDirectory, dataModel, keepRealisations): computed_data = hdf_file['computed'] times = np.array(computed_data['times'])[firstpoint:] - times_analysis = np.array(hdf_file['analysis']['times'])[firstpoint:] + times_analysis = np.array(hdf_file['analysed']['times'])[firstpoint:] indexes_analysis = np.intersect1d(times, times_analysis, return_indices=True)[1] times = np.insert(times, indexes_analysis, times_analysis)