% User Input for plan_deploy

% Storm file  - from NHC text forecast
stormfile='Matthew_091103Z.txt';

% set local time
%LOCAL2GMT=7;  %SEATTLE
 LOCAL2GMT=4;  % MIAMI

% Time (UTC) of first deployment location
dep=[2008 9 11 13 0 0 ];     % [yy mm dd hr min sec] 

Onestorm=1;  % 1 to plot just at deployment, else plot all
SSHplot=0;  % 1 to plot background SSH from NLOM
            % http://www7320.nrlssc.navy.mil/global_nlom32/navo/IAS.gif 

% Manual array design
minor_adjust=1;   % set to 0 to input locations (first-time design),
                  % set to 1 to use hard-coded positions 

% Estimate takeoff time
if (1)
    takeoff=[31.67 -89.17]; % lat, lon of Keesler
    disp('Keesler AFB')
elseif (0)
    takeoff=[25.488  -80.384]; % lat, lon of Homestead
    disp('Homestead AFB')
end;
AirSpeed=350;   % AirSpeed

LonP=[-97 -81];   % longitude range of plot
LatP=[21 31];       % latitude range of plot

% box numbers for MINIMET drifters, in order of deployment
BoxNumM=[75632 75633 75634 75635 75636 0 0 0 0 0];
% box numbers for ADOS drifters, in order of deployment
BoxNumA=[75621 75623 75624 75625 75626 75627 75628 0 0 0];
% box numbers for gas floats, in order of deployment 
%BoxNumGas=[50 51 52 53];
% box numbers for EM-APEX floats , in order of deployment 
%BoxNumEM=[63 65 66];

%%%% hard-coded values for array %%%%
% (if minor_adjust==0, these will be entered manually.
% lon, lat contains the center of the line (first values),
% and direction of the line (second value)
%
% buoytype: 0=MINIMET, 1=ADOS, 2=Gas float, 3=EM-APEX float
% spacing: nautical miles

line1=struct('lon',[-92.7152 -93.2664-1]+.6,'lat',[25.8579 24.1125]+.6, ...
     'buoytype',{0;1;0;1;0;1;0;1;0}, ...
    'spacing',20);

line2=struct('lon',[-93.5 -92.5],'lat',[26.7 27.7], ...
    'buoytype',{0;1;1;0}, ...
    'spacing',20);

%%%%%%%%%%%%%% ARRAY %%%%%%%%%%%%%%
