-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput_files_TEMPLATE.m
More file actions
69 lines (58 loc) · 3.94 KB
/
input_files_TEMPLATE.m
File metadata and controls
69 lines (58 loc) · 3.94 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
%% Description
% This .m file is a template for all the required variables to lauch HEAT.
% A similar set of variables can be created using generate_launch_file.m
% using a simple GUI.
%
% This template allows variables to be selected without having to go
% through the GUI each time. However, certain combinations of variables
% cannot go together (e.g. there is no global humidity observational data)
% therefore these combinations cannot be loaded and processed. The GUI will
% only permit possible selections - using this template requires a careful
% choice of the correct variables.
% inputs1.ExptName = 'TemplateExpt'; % Give the experiment a name (no spaces)
% inputs1.Domain = 'UK'; % OR inputs1.Domain = 'global';
% inputs1.DataType = {'UKCP18','HadUKGrid','ERA5','CMIP6'};
% inputs1.Dataset = {'GCM-01','GCM-02','GCM-03','GCM-04','GCM-05','GCM-06','GCM-07','GCM-08','GCM-09','GCM-10','GCM-11','GCM-12','GCM-13','GCM-14','GCM-15',...
% 'CMIP5-16','CMIP5-19','CMIP5-21','CMIP5-23','CMIP5-24','CMIP5-25','CMIP5-27','CMIP5-28',...
% 'RCM-01','RCM-04','RCM-05','RCM-06','RCM-07','RCM-08','RCM-09','RCM-10','RCM-11','RCM-12','RCM-13','RCM-15',...
% 'CPM-01','CPM-04','CPM-05','CPM-06','CPM-07','CPM-08','CPM-09','CPM-10','CPM-11','CPM-12','CPM-13','CPM-15',...
% '60km','12km','2km','1km','025deg'};
% inputs1.Variable = {'Tmean','Tmax','Tmin','VP','sWBGT','HD','AT'};
% inputs1.TempRes = 'daily'; % OR inputs1.TempRes = 'monthly';
% inputs1.BiasCorr = 1; % OR inputs1.BiasCorr = 0;
% inputs1.SaveDerivedOutput = 1; % OR inputs1.SaveDerivedOutput = 0;
% inputs1.OverwriteDerivedOutput = 1; % OR inputs1.OverwriteDerivedOutput = 1;
%% Set some basic experiment details
inputs.ExptName = 'ARCADIA-Tmax-BC-past_v2'; % Give the experiment a name (no spaces)
inputs.OverwriteExpt = 1; % OR inputs.OverwriteExpt = 1;
inputs.Domain = 'UK'; % OR inputs.Domain = 'global';
inputs.SaveDerivedOutput = 1; % OR inputs.SaveDerivedOutput = 0;
inputs.OverwriteDerivedOutput = 0; % OR inputs.OverwriteDerivedOutput = 1;
inputs.BiasCorr = 1; % OR inputs.BiasCorr = 0;
%% Select dataset(s) to use
inputs.DataType = {'UKCP18'}; % {'UKCP18','UKCP18prob','HadUKGrid','ERA5','CMIP6'};
inputs.Variable = {'Tmax'}; % prefixes: 'T', 'VP', 'sWBGT', 'HD', 'AT', 'THI'; suffixes: 'max', 'min' or nothing for daily mean
inputs.Dataset = {'RCM-01','RCM-04','RCM-05','RCM-06','RCM-07','RCM-08','RCM-09','RCM-10','RCM-11','RCM-12','RCM-13','RCM-15',};
% inputs.MMM = 1; % OR inputs.MMM = 1; % Calculate multi-model mean of all selected datasets
% inputs.MMP = [5 95]; % OR inputs.MMP = 0.1 - 99.9; % Calculate multi-model percentile of all selected datasets
%% Subsetting of data for analysis
% inputs.TemporalRange = [19900101, 20191230]; % yyyy, yyyymm or yyyymmdd start and end dates
inputs.Scenario = {'past'}; % 'past', '1.5','2.0','3.0','4.0'
inputs.AnnSummer = 'Ann'; % OR inputs.AnnSummer = 'Summer'; 'JJA'; 'MJJAS','ann'; % Summer = 1st June-15th Sept. or leave blank for annual mean
% inputs.SpatialRange = [51,55.5;-11, -5]; % [latS,latN;lonW,lonE] for boxed region or [lat,lon] for single grid point
% inputs.Region = {}; % 'Scotland','North East','North West','Yorkshire and
% % the Humber','East Midlands','West Midlands','East of England','Greater
% % London','South East','South West','Wales','Northern Ireland','Isle of
% % Man','RoI','Ireland','GB'
%% Output types
% inputs.AbsThresh = [25];
% inputs.ExtremeMeanPctile = [95 99];
% inputs.Pctile = [95 99];
% inputs2.DDp = 66;
% inputs2.DDa = 18;
% inputs.OutputType = {'map'}; % {'map','timeseries'}
% inputs.AveTime = 10; % Time series averaging length in years: default = 10
% inputs.SaveFigures = 0;
% inputs.PlotAll = 1;
% inputs.OutputRegion = 'all'; % 'all' for grid cell output OR 'Scotland','North East','North West','Yorkshire and the Humber','East Midlands','West Midlands','East of England','Greater London','South East','South West','Wales','Northern Ireland','Isle of Man'
inputs.WorkflowOutput = 'ARCADIA';