%-------------------
% constants file
% to read and plot
% Ecuador data
%-------------------

%% DATA CONSTANTS

%data directory
data_dir = 'C:/Ecuador/CsvGrid/';
fig_save_loc = 'C:/Ecuador/Matlab/plots/';
flux_save_loc =  'C:/Ecuador/Matlab/flux/';

%fmt of the data
%datetime, ch[1-10]
fmt = '%[^,] %f %f %f %f %f %f %f %f %f %f';

%% PLOT CONSTANTS
height=768; width=1024;
font_size = 8;
fig_height = 1200; fig_width=1600;

% change dates for slicing and dicing
dt1 = '2010-5-22 00:00:00';
dt2 = '2010-6-8 00:00:00';
date_fig_fmt = 'yyyy-mm-dd';

% limits on soil temp and moisture
moistlim = [0.25 0.45];
templim = [20 28];
fig_fmt = '-dpng'; fig_ext = '.png';


% group 1
group(1).co2 = {'mote60','mote68','mote404'};
group(1).moistemp = {'mote22','mote490'};

% group 2
group(2).co2 = {'mote400','mote46','mote414'};
group(2).moistemp = {'mote90','mote481'};

% group 3
group(3).co2 = {'mote71','mote214','mote79'};
group(3).moistemp = {'mote6','mote476'};

% group 4
group(4).co2 = {'mote499','mote24','mote20'};
group(4).moistemp = {'mote497','mote210'};
