-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_file_read_MODIS_GSFC_matchups_Windows.yml
345 lines (235 loc) · 14.6 KB
/
config_file_read_MODIS_GSFC_matchups_Windows.yml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
<<<<<<< HEAD
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Configuration file for reading MODIS matchups in GSFC format
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Sensor being analyzed
# -----------------------------------------------------------------------------------
sensor : 'MODIS' # sensor to be analyzed
platform : 'Aqua'
# -----------------------------------------------------------------------------------
# Version of matchups' calibration collection
# -----------------------------------------------------------------------------------
collection : 6
# -----------------------------------------------------------------------------------
# Information about matchups
# -----------------------------------------------------------------------------------
matchups :
format : 'GSFC' # Can be MIA_L2GEN, or GSFC
field.separator : ',' # Character used as field separator in matchup files
level1.version : 'Class' # Can be NOAA Class or GSFC
algo.coeffs.version : '6.4.1' # <algorithm type>.<coef version>.<quality version> # latband==6 non-latband==5
# Reference field can be:
# ao = operational reynolds daily
# pv2 = reynolds enhance land/lake mask
# ws = windsat
type.1.ref.field : 'ao'
type.2.ref.field : 'none' # Can be none, windsat, or other TBD
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Information about geophysical variable being estimated, and algorithm details
# -----------------------------------------------------------------------------------
geophys.var : 'SST2b' # Geophysical variable estimated can be "SST2b" or "SST3b"
algorithm :
type : 'latband' # SST algorithm type
sst.LWIR.form : 'NLSST' # Can be NLSST, IDPS, OSISAF, other
sst.MWIR.form : 'MCSST' # Can be MCSST,IDPS,OSISAF, other
algo.coeffs.version : 'v6.4.1' # may or may not be the same as matchup Version
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Base directory for scripts.
# R objects will be stored in .Rdata in this location
# Also define subdirectory for functions.
# -----------------------------------------------------------------------------------
project_name : 'proj_MODIS_l6cv6'
working_dir : 'D:/matchups/r-projects/R_MUDB/modis/aqua/gsfc/l6cv6/workdir/'
scripts_dir : 'D:/matchups/r-projects/Matchup_R_scripts/'
functions_dir : 'D:/matchups/r-projects/Matchup_R_scripts/functions/'
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Directory where compressed and extracted daily input matchups are located
# -----------------------------------------------------------------------------------
# This directory holds folders for each year, with compressed archive files
matchups_base_indir : 'D:/matchups/r-projects/R_MUDB/modis/aqua/gsfc/l6cv6/daily/'
# -----------------------------------------------------------------------------------
# Specify matchup files to be read through one or more patterns
# -----------------------------------------------------------------------------------
# Define a vector of patterns that will be used to select
# matchup files that will be read .
# This is because directories have different kinds of files.
# NOTE: The patterns are formulated 'a la perl'.
# IMPORTANT: This pattern reads MODIS files starting in 2010.
# This is desired for collocation.
file_selection_strings : ['(.+?)A201(.+?)reproc2014\.(.+?)\.V2\.amsre\.amsr2\.wsat\.matchup$',
'(.+?)A201(.+?)stream\.(.+?)l6cv6\.amsre\.amsr2\.wsat\.matchup$']
use_ancillary_data : TRUE
# -----------------------------------------------------------------------------------
# Specify matchup files to be read based on in situ source
# -----------------------------------------------------------------------------------
# Specify vector of desired in situ data sources:
# sources can be SNB, IQUAM, MAERI, ISAR, or GH.
# If one wants all in situ types, specify 'ALL'.
insitu_source : ['ALL']
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Root directory for results
# -----------------------------------------------------------------------------------
results_dir : 'D:/matchups/r-projects/R_MUDB/modis/aqua/gsfc/l6cv6/results/'
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Directory where ancillary information (e.g., geographic names) is located
# -----------------------------------------------------------------------------------
ancillary_dir : 'D:/matchups/r-projects/R_MUDB/ancillary_data/' # Used to fetch ocean basin names
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Message logging options
# -----------------------------------------------------------------------------------
# Select level of detail for logging messages
# FATAL: 1
# ERROR: 2
# WARN: 4
# INFO: 6
# DEBUG: 8
# TRACE: 9
log_level : 8 # Level 6 is INFO
log_dir : 'D:/matchups/r-projects/R_MUDB/modis/aqua/gsfc/l6cv6/logs/'
log_file : 'read_aqua_gsfc_l6cv6_log.txt'
log_file_erase : TRUE # If TRUE, delete log file before starting new run
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Define if current daily matchup files have a header record
# with column names
# -----------------------------------------------------------------------------------
files_have_header : TRUE
header_record_number : 1
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Decide if all variables in matchup files will be kept
# -----------------------------------------------------------------------------------
keep_all_vars : FALSE # Only SOME variables will be retained
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Decide if matchups are being used for a collocation study
# -----------------------------------------------------------------------------------
collocation : TRUE # Matchups used in collocation studies
# -----------------------------------------------------------------------------------
=======
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Configuration file for reading MODIS matchups in GSFC format
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Sensor being analyzed
# -----------------------------------------------------------------------------------
sensor : 'MODIS' # sensor to be analyzed
platform : 'Aqua'
# -----------------------------------------------------------------------------------
# Version of matchups' calibration collection
# -----------------------------------------------------------------------------------
collection : 6
# -----------------------------------------------------------------------------------
# Information about matchups
# -----------------------------------------------------------------------------------
matchups :
format : 'GSFC' # Can be MIA_L2GEN, or GSFC
field.separator : ',' # Character used as field separator in matchup files
level1.version : 'Class' # Can be NOAA Class or GSFC
algo.coeffs.version : '6.4.1' # <algorithm type>.<coef version>.<quality version> # latband==6 non-latband==5
# Reference field can be:
# ao = operational reynolds daily
# pv2 = reynolds enhance land/lake mask
# ws = windsat
type.1.ref.field : 'ao'
type.2.ref.field : 'none' # Can be none, windsat, or other TBD
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Information about geophysical variable being estimated, and algorithm details
# -----------------------------------------------------------------------------------
geophys.var : 'SST2b' # Geophysical variable estimated can be "SST2b" or "SST3b"
algorithm :
type : 'latband' # SST algorithm type
sst.LWIR.form : 'NLSST' # Can be NLSST, IDPS, OSISAF, other
sst.MWIR.form : 'MCSST' # Can be MCSST,IDPS,OSISAF, other
algo.coeffs.version : 'v6.4.1' # may or may not be the same as matchup Version
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Base directory for scripts.
# R objects will be stored in .Rdata in this location
# Also define subdirectory for functions.
# -----------------------------------------------------------------------------------
project_name : 'proj_MODIS_l6cv6'
working_dir : 'D:/matchups/r-projects/R_MUDB/modis/aqua/gsfc/l6cv6/workdir/'
scripts_dir : 'D:/matchups/r-projects/Matchup_R_scripts/'
functions_dir : 'D:/matchups/r-projects/Matchup_R_scripts/functions/'
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Directory where compressed and extracted daily input matchups are located
# -----------------------------------------------------------------------------------
# This directory holds folders for each year, with compressed archive files
matchups_base_indir : 'D:/matchups/r-projects/R_MUDB/modis/aqua/gsfc/l6cv6/daily/'
# -----------------------------------------------------------------------------------
# Specify matchup files to be read through one or more patterns
# -----------------------------------------------------------------------------------
# Define a vector of patterns that will be used to select
# matchup files that will be read .
# This is because directories have different kinds of files.
# NOTE: The patterns are formulated 'a la perl'.
# IMPORTANT: This pattern reads MODIS files starting in 2010.
# This is desired for collocation.
file_selection_strings : ['(.+?)A201(.+?)reproc2014\.(.+?)\.V2\.amsre\.amsr2\.wsat\.matchup$',
'(.+?)A201(.+?)stream\.(.+?)l6cv6\.amsre\.amsr2\.wsat\.matchup$']
use_ancillary_data : TRUE
# -----------------------------------------------------------------------------------
# Specify matchup files to be read based on in situ source
# -----------------------------------------------------------------------------------
# Specify vector of desired in situ data sources:
# sources can be SNB, IQUAM, MAERI, ISAR, or GH.
# If one wants all in situ types, specify 'ALL'.
insitu_source : ['ALL']
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Root directory for results
# -----------------------------------------------------------------------------------
results_dir : 'D:/matchups/r-projects/R_MUDB/modis/aqua/gsfc/l6cv6/results/'
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Directory where ancillary information (e.g., geographic names) is located
# -----------------------------------------------------------------------------------
ancillary_dir : 'D:/matchups/r-projects/R_MUDB/ancillary_data/' # Used to fetch ocean basin names
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Message logging options
# -----------------------------------------------------------------------------------
# Select level of detail for logging messages
# FATAL: 1
# ERROR: 2
# WARN: 4
# INFO: 6
# DEBUG: 8
# TRACE: 9
log_level : 6 # Level 6 is INFO
log_dir : 'D:/matchups/r-projects/R_MUDB/modis/aqua/gsfc/l6cv6/logs/'
log_file : 'read_aqua_gsfc_l6cv6_log.txt'
log_file_erase : TRUE # If TRUE, delete log file before starting new run
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Define if current daily matchup files have a header record
# with column names
# -----------------------------------------------------------------------------------
files_have_header : TRUE
header_record_number : 1
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Decide if all variables in matchup files will be kept
# -----------------------------------------------------------------------------------
keep_all_vars : FALSE # Only SOME variables will be retained
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# Decide if matchups are being used for a collocation study
# -----------------------------------------------------------------------------------
collocation : FALSE # Matchups used in collocation studies
# -----------------------------------------------------------------------------------
>>>>>>> fbfb1a475be06de92f594c4493b7d9f7c9e07a25