-
Notifications
You must be signed in to change notification settings - Fork 0
/
agate_config_example.cnf
77 lines (66 loc) · 3.54 KB
/
agate_config_example.cnf
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
% %%%% agate - mission configuration file %%%
% create a new file for each glider and mission
% Guide for creating configuration files:
% https://sfregosi.github.io/agate-public/configuration.html
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%% TEMPLATE - PUT SURVEY METADATA HERE %%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%% REQUIRED CONFIG PARAMETERS %%%%%%%%%%%
% define glider and mission information
CONFIG.glider = 'sgXXX';
CONFIG.mission = 'Location_Mon20XX'; % defined in sg_calib_constants.m
CONFIG.sgVer = XX.XX; % 66.12 or 67.0
CONFIG.tmd = XX; % target mission duration in days
% define paths
% mission path - path to umbrella folder that either contains previously
% downloaded basestation and output files or will contain
% downloaded and processed/produced files and figures
CONFIG.path.mission = 'C:\Users\User.Name\Desktop\sgXXX_Location_Mon20XX\';
% analysis path - optional path to an 'analysis' folder that would typically
% contain the outputs of acoustic analyses (e.g., Pamguard
% or Triton)
CONFIG.path.analysis = 'C:\Users\User.Name\project\analysis';
% %%%% OPTIONAL - basestation %%%%%%%%%%%%%%%
% specify basestation configuration file
CONFIG.bs.cnfFile = 'C:\Users\User.Name\Documents\gliders\basestation.cnf';
% specify path to store downloaded basestation files
CONFIG.path.bsLocal = fullfile(CONFIG.path.mission, 'basestationFiles\');
% %%%% OPTIONAL - acoustics %%%%%%%%%%%%%%%%%
% PMAR settings
CONFIG.pm.loggers = 0; % 1 for active, 0 for inactive
CONFIG.pm.activeCard = 0; % current active card; optional for sgVer 66.12
% (will be updated in log file automatically);
% necessary to update throughout mission for sgVer 67.0
CONFIG.pm.numCards = 4; % total number loaded SD cards
% after mission is complete, set below for raw .dat file conversion
CONFIG.pm.convert = 0; % 0 during mission, set 1 to run conversion
CONFIG.pm.convCnfFile = fullfile(CONFIG.path.mission, 'PMARConvert_sgXXX_Location_MonYYYY.cnf');
% WISPR settings
CONFIG.ws.loggers = 0; % 1 for active, 0 for inactive
% %%%% OPTIONAL - plotting %%%%%%%%%%%%%%%%%%
% maps
% path to basemap files (land shape files and bathymetry rasters)
CONFIG.path.shp = 'C:\Users\User.Name\Documents\GIS\';
% optional: can specify full path to bathymetry file, otherwise agate
% will prompt to select file
CONFIG.map.bathyFile = 'C:\Users\User.Name\Documents\GIS\etopo\etopo1_ice_g_i2.bin';
% define map extents and location of map elements
CONFIG.map.latLim = [000.00 000.00];
CONFIG.map.lonLim = [-000.00 -000.00];
CONFIG.map.naLat = 00.00; % optional arguments for north arrow location on map;
% leave empty '[]' for no north arrow
CONFIG.map.naLon = 000.00;
CONFIG.map.scalePos = [0 0]; % optional arguments for scale bar location
% and ticks, leave empty '[]' for no scale bar
CONFIG.map.scaleMajor = [0:50:100];
CONFIG.map.scaleMinor = [0:12.5:25];
% general plotting settings
% pre allocate fig numbers so figures are updated rather than created new
CONFIG.plots.figSeed = 111; % suggest using the glider serial e.g., 639
CONFIG.plots.figNumList = CONFIG.plots.figSeed + [0 1 2 3 4 5 6 7 8 9];
% figNumList (1) = battery, (2) = voltagePackUse, (3) = humidity
% and pressure, (4) = map, (5) = zoomed map, (6) = minimum voltage,
% (7) = voltage normalized, (8) = ERMA detections, (9) = ERMA reference
% load plot positions
% load('C:\Users\User.Name\Documents\gliders\figPositions.mat');
% CONFIG.plots.positions = positions;