From 6ad9ca16e8d33e7f2359f3d66efcf9952161d9e5 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Tue, 23 Feb 2021 00:12:37 +0100 Subject: [PATCH] Make the script independent of date We keep the Matlab script as simple as possible: we do not process filenames with embedded dates, we assume general names, implying that we create a symbolic link before calling the Matlab script and rename the output file. --- Convert_Matlab/inst_eddies.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Convert_Matlab/inst_eddies.m b/Convert_Matlab/inst_eddies.m index 67e5f1c7..eaee3f84 100644 --- a/Convert_Matlab/inst_eddies.m +++ b/Convert_Matlab/inst_eddies.m @@ -3,13 +3,13 @@ % inst_eddies_v6.py. clear -disp('Loading adt_19930101.mat...') +disp('Loading adt.mat...') tic -load('adt_19930101.mat', 'ADT', 'Anticyclonic_Cell', 'Cyclonic_Cell', 'X', ... - 'Y', 'date_num') +load('adt.mat', 'ADT', 'Anticyclonic_Cell', 'Cyclonic_Cell', 'X', 'Y', ... + 'date_num') toc disp('Saving...') tic -save('adt_19930101_v6', '-v6') +save('adt_v6', '-v6') toc exit -- GitLab