From c9c7b8586921df66d9902eadfa1b58b33987c13f Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Tue, 25 Jan 2022 22:43:09 +0100 Subject: [PATCH] Polish --- Convert_Matlab/inst_eddies_v6.py | 2 +- Overlap/eddy_graph.f90 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Convert_Matlab/inst_eddies_v6.py b/Convert_Matlab/inst_eddies_v6.py index a85588cf..fa1ec788 100755 --- a/Convert_Matlab/inst_eddies_v6.py +++ b/Convert_Matlab/inst_eddies_v6.py @@ -5,7 +5,7 @@ SHPC_anti and SHPC_cyclo. The mat files are assumed to be in v7.3 (HDF5) format and will be converted to v6 format, launching Matlab, before being read in Python. The data in each input file is the set of detected instantaneous eddies at a given date. The second, optional, -argument of this script is the final date processed. The script +argument of this script is the final date processed. The Matlab script inst_eddies.m must be in the current directory at run-time. """ diff --git a/Overlap/eddy_graph.f90 b/Overlap/eddy_graph.f90 index a04fcc6f..dfbfaeff 100644 --- a/Overlap/eddy_graph.f90 +++ b/Overlap/eddy_graph.f90 @@ -105,6 +105,7 @@ program eddy_graph if (n_dates == huge(0)) & n_dates = sum([(size(hshp(i)%ishape_last), i = 1, n_shpc)]) + print *, "n_dates = ", n_dates call assert(n_dates >= max_delta + 1, & "eddy_graph: n_dates should be >= max_delta + 1") call assert(n_proc <= n_dates / (max_delta + 1), & -- GitLab