-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuserSettings.py
More file actions
61 lines (49 loc) · 2.49 KB
/
userSettings.py
File metadata and controls
61 lines (49 loc) · 2.49 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
# Edit these settings as necessary. You may wish to run the command
# `git update-index --skip-worktree userSettings.py` to prevent your changes
# being tracked by git.
#
# Location of raw data file
datafile = './Davies_etal_NGeo_2019_Datasets/hoggard/spot_shiptrack.dat'
# If you have just obtained this package from github you may need to run the
# command `git submodule update --init --recursive` to also pull down a copy
# of the data.
# Base location for outputs
# The code will create subdirectories under this for each data subset and
# for the resulting figures
outputdir = '.'
# Run analysis for the subset of 1160 high-accuracy spot points?
DO_HIGH_ACCURACY_SPOT = True
# Run analysis for the subset of all 2030 spot points?
DO_ALL_SPOT = True
# Run analysis for complete database?
# N.B. This requires significant computational resources
# (~36 hours on quad-core 3.2GHz Intel i5 with 16Gb RAM)
# Running this on a machine with less than 16Gb RAM is
# not recommended.
DO_SPOT_SHIP = False
# Generate data for hyperparameter tradeoff analysis? (Slow! Uses 'all spot' dataset)
DO_TRADEOFF_ANALYSIS = False
# Test predictive performance against a synthetic dataset?
DO_SYNTHETIC = False
# Location of data file containing the 'observations' (assumed to match
# a 'high-accuracy' dataset, i.e. only first 1160 points used)
syn_file_sampled = './Davies_etal_NGeo_2019_Datasets/models/with_shallow_structure/with_shallow_structure_spot.dat'
# Data file against which to test predictive performance
syn_file_full = './Davies_etal_NGeo_2019_Datasets/models/with_shallow_structure/with_shallow_structure_oceans.dat'
# Which figures should be generated? List of figure numbers. Note that this selection
# may not be fully honoured: figs 6 & 7 cannot be generated independently, and
# setting TABLE_DATA = True below will force generation of Figs. 2, 6 & 7.
FIGURES = [1,2,3,4,5,6,7,8,9,10,11]
# During figure generation, should the information presented in tables within
# the paper also be calculated and displayed? (may be slow)
TABLE_DATA = False
# Generate the data files provided as 'supplementary material'?
SUPPLEMENTARY_DATA = False
#How many random samples should be used for computing statistics? (Larger = slower)
N_RANDOM_SAMPLES = 100000
# Should maps be plotted with continuous or quantised colour scales?
CONTINUOUS_COLOURSCALES = False
# When generating figures, should plt.show() be called?
# Note that this may cause the interpreter to block and
# wait for the figure to be closed
PLT_SHOW = False