-
Notifications
You must be signed in to change notification settings - Fork 5
/
EXAMPLE_GCMHadCM3L_modern.m
95 lines (94 loc) · 4.7 KB
/
EXAMPLE_GCMHadCM3L_modern.m
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
% muffingen_settings
%
% ***********************************************************************
% *** PARAMETER SETTINGS FOR muffingen CONFIG GENERATOR *****************
% ***********************************************************************
%
% (edit this file directly)
%
% ***********************************************************************
% *********************************************************************** %
% *** USER SETTINGS ***************************************************** %
% *********************************************************************** %
%
% PARAM NAME & DEFAULT VALUE % [FORMAT] BRIEF DESCRIPTION
%
% *** CONFIG NAME AND MAIN INPUT SETTINGS ******************************* %
%
par_wor_name='worxbowl'; % ['STRING'] 8-char (output) config name
par_gcm='hadcm3l'; % ['STRING'] input format/GCM name
par_expid='xbowl'; % ['STRING'] input experiment/data name
%
% *** FILE PATHS ******************************************************** %
%
par_pathin='INPUT.EXAMPLES'; % ['STRING'] path to input dir
par_pathout='OUTPUT.EXAMPLES'; % ['STRING'] path to output dir
opt_outputdir=false; % [false/true] ask for output directory?
%
% *** GCM netCDF FILENAMES ********************************************** %
%
par_nc_topo_name = ''; % ['STRING'] optional .nc name
par_nc_mask_name = ''; % ['STRING'] optional .nc name
par_nc_axes_name = ''; % ['STRING'] optional .nc name
par_nc_atmos_name = ''; % ['STRING'] optional .nc name
par_nc_ocean_name = ''; % ['STRING'] optional .nc name
par_nc_coupl_name = ''; % ['STRING'] optional .nc name
%
% *** GRID RESOLUTION *************************************************** %
%
par_max_i=36; % [1-72] # grid cells in longitude dir (i)
par_max_j=36; % [1-72] # grid cells in latitude dir (j)
par_max_k=16; % [1-99] # depth leves in ocean
opt_equalarea=true; % [false/true] equal area grid?
%
% *** REGRIDDING SETTINGS *********************************************** %
%
par_max_D=5000.0; % [0.0-99999.9] max grid depth (m)
par_add_Dk=0; % [0-99] # of ocean levels that are 'extra'
par_min_Dk=2; % [1-99] minimum ocean depth (as # levels)
par_min_k=1; % [1-99] maximum ocean depth (k value)
par_lon_off=-260.0; % [-360-0] longitude offset of grid start
par_A_frac_threshold=0.45; % [0.0-1.0] land fractional area threshold
par_mask_mask_name = ''; % ['STRING'] mask of land/ocean features
par_sedsopt=0; % [0/1/2] sediment re-gridding option
par_sed_Dmin=1000.0; % minimm (random, option 2) sediment depth
par_sed_Dmax=6000.0; % maximum (random, option 2) sediment depth
opt_highresseds=false; % [false/true] create 2x res sediment grid
%
% *** BOUNDARY CONDITION SETTINGS *************************************** %
%
par_runoffopt=0; % [0/1] run-off generation option
par_tauopt=0; % [0/1/2] zonal windstress generation option
par_age=0.0; % [0.0-4570.0] optional age (Myr)
%
% *** OPTIONS -- MAIN *************************************************** %
%
opt_makeall=false; % [false/true] apply all common options?
opt_user=true; % [false/true] enable user input to grid
opt_plots=true; % [false/true] plot all input and output?
%
% *** OPTIONS -- DATA GENERATION **************************************** %
%
opt_makemask=true; % [false/true] re-grid mask?
opt_maketopo=true; % [false/true] re-grid bathymetry?
opt_makeocean=true; % [false/true] create ocean files?
opt_makerunoff=true; % [false/true] create runoff pattern?
opt_makewind=true; % [false/true] re-grid wind products?
opt_makezonalwind=false; % [false/true] force zonal wind generation
opt_makealbedo=true; % [false/true] make albedo file
opt_makeseds=true; % [false/true] make sediment files
opt_makeents=true; % [false/true] create ENTS files?
%
% *** OPTIONS -- GRID FILTERING ***************************************** %
%
opt_filtermask=true; % [false/true] filter land-sea mask?
opt_filtertopo=true; % [false/true] filter topography?
opt_makepoleswide=true; % [false/true] force wide polar island zone
par_min_oceann=20; % [0-9999] minimum lake size (# cells)
%
% *** ENVIRONMENT/OTHER SETTINGS **************************************** %
%
par_dpath_source='source'; % ['source'] relative path to muffingen code
opt_debug=false; % [false/true] debug output?
%
% *********************************************************************** %