compare_aviso_oras4_strengths_Atl3_Nino34_wrapper.m 1.05 KB
Newer Older
Claas Faber's avatar
Claas Faber committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                               %
%   COMPARE FEEDBACK STRENGTHS IN ATL3/NINO34   %
%   WRAPPER                                     %
%                                               %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

addpath('<path where functions are stored>');

clear all;
close all;
clc;

% -------- %
% SETTINGS %
% -------- %

    all_references = {'ssh','sst','ustr'};
    all_lags       = {'sst','ustr','ssh'};

    all_basins     = {'Pacific','Atlantic'};

% ------------ %
% CONSEQUENCES %
% ------------ %

    n_feedbacks = length(all_references);
    n_basins    = length(all_basins);

% --------- %
% THE LOOPS %
% --------- %

    for c_basin = 1:n_basins

        basin_name = char(all_basins{c_basin});

        for c_feedback = 1:n_feedbacks

            reference_name = char(all_references{c_feedback});
            lag_name       = char(all_lags{c_feedback});

            % call main script
            compare_aviso_oras4_strengths_Atl3_Nino34;

        end

    end