Skip to content

Commit

Permalink
Simple main
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteVandecrux committed Feb 16, 2021
1 parent 47ff0af commit 6333d03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 136 deletions.
42 changes: 5 additions & 37 deletions Main.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
% possible to overwrite the default value by defining them again in the
% "param{kk}" struct hereunder.

station_list = {'EGP'};
station_list = {'KAN_M'};
% station_list = PROMICE_dir; %
RCM_list = {'RACMO'};

Expand Down Expand Up @@ -79,44 +79,12 @@
param{kk}.station = station_list{i};

switch param{kk}.station
% stations considered for the JoG2020 paper
case {'CP1', 'DYE-2', 'Summit', 'NASA-SE', 'NASA-E','NASA-U',...
'SouthDome', 'TUNU-N', 'Saddle', 'NGRIP'}
param{kk}.InputAWSFile = ['../AWS_Processing/Output/Corrected/',...
param{kk}.station,...
'/data_', param{kk}.station, ...
'_combined_hour.txt'];
% stations considered for the RetMIP study
case {'DYE-2_long' 'Dye-2_long'}
param{kk}.InputAWSFile = 'data_DYE-2_1998-2015.txt';
case {'DYE-2_HQ' 'Dye-2_16'}
param{kk}.InputAWSFile = 'data_DYE-2_Samira_hour.txt';
case {'KAN-U' 'KAN_U'}
param{kk}.InputAWSFile = 'data_KAN_U_combined_hour.txt';
case {'Miege' 'FA'}
param{kk}.InputAWSFile = 'data_Miege_combined_hour.txt';

% Camp Century
case 'GITS'
param{kk}.InputAWSFile = ['../AWS_Processing/Output/GITS_',...
model_version, '/data_GITS_combined_hour.txt'];
param{kk}.OutputRoot = 'C:\Data_save\CC';
case 'KAN_M'
param{kk}.InputAWSFile = 'Input/Weather data/data_KAN_M_combined_hour.txt';
% ======== other stations =================

% case PROMICE_dir
% param{kk}.InputAWSFile = ['../AWS_Processing/Output/PROMICE/',...
% param{kk}.station, '_RACMO/data_',...
% param{kk}.station, '_combined_hour.txt'];
% param{kk}.shallow_firn_lim = 3;
% param{kk}.deep_firn_lim = 5;
% param{kk}.min_tot_thick = 15;
%
% param{kk}.lim_new_lay = 0.005;
% param{kk}.z_max = 20;
% param{kk}.dz_ice = param{kk}.z_max/NumLayer;
otherwise
param{kk}.InputAWSFile = ...
['../AWS_Processing/Output/',param{kk}.station, '_',...
model_version, '/data_',param{kk}.station, '_combined_hour.txt'];
disp('Missing data file for the requested station.');
end

% When you add sites
Expand Down
99 changes: 0 additions & 99 deletions Main_simple.m

This file was deleted.

0 comments on commit 6333d03

Please sign in to comment.