
GetFunctionName = 'getdino';

URL_m_File = 'dinourl';
CatalogServer = 'http://rhody.gso.uri.edu/cgi-bin/nph-nc/data/dino/dinosamp.cdf';
Cat_m_File = 'dinocat';

%Server = str2mat('dinosamp.cdf','dinosamp.cdf','dinosamp.cdf','dinosamp.cdf', ...
%                 'dinosamp.cdf','dinosamp.cdf',str2mat('dinosamp.cdf','dinosamp.cdf'), ...
%                 str2mat('dinosamp.cdf','dinosamp.cdf','dinosamp.cdf'),'dinosamp.cdf');
Server = str2mat('dinosamp.cdf');

Nlon = 70;
Nlat = 130;
Ntime = 4;
Ndepth = 13;

LonRange = [-71.1310 -68.8367];
LatRange = [41.6048 44.2607];
TimeRange = [1993.2109589 1993.8];
DepthRange = [0.0 280.0];
%DepthRange = [0 -1];
Resolution = 1;

DataName = 'Dino sample Datasets';
TimeName = 'time';
LongitudeName = 'lon';
LatitudeName = 'lat';
DepthName = '';
SelectableVariables = str2mat('Sea_Elevation','Heat_Flux', ...
                      'Bathymetry','Salinity','Sea_Temp','RT_Cell_Conc', ...
                      str2mat('U_Eddy_Viscosity','V_Eddy_Viscosity'), ...
                      str2mat('U_Current_Velocity','V_Current_Velocity','W_Current_Velocity'),...
                      'Bottom_Drag_Coef');
DodsName = str2mat('elev','heat_flux', ...
                   'depth','salt','temp','conc', ...
                   str2mat('am','km'),str2mat('u','v','w'), 'cd');

DataNull = [NaN NaN NaN NaN ...
            NaN ...    %elev
            NaN ...    %heat_flux
            -99999 ... %depth
            -32767 ... %salt
            -32767 ... %temp
            -32767 ... %conc
            -32767 ... %am
            -32767 ... %km
            NaN ...    %u
            NaN ...    %v
            NaN ...    %w
            NaN];      %cd
DataScale = [1993.2109589 0.002739726; NaN NaN; NaN NaN; NaN NaN; ...  %time, lon, lat, depth
             0 0.000122074040; 0 0.12207404; ...   %elev, heat_flux
             NaN NaN; 20 0.00061037019; 12.5 0.00053407392; 2000 0.061037019; ...  %depth, salt, temp, conc
             500 0.015259255; 0.1 0.000003051; ...   %am, km
             0 0.000091555; 0 0.000091555; 0 0.000000061; 0 1];   %u, v, w, cd
DataRange = [NaN NaN; NaN NaN; NaN NaN; NaN NaN; ...
             0 4; -1000 1000; NaN NaN; ...   %elev, heat_flux, depth
             0 40; -5 30; 0 100; 0 250; 0 0.01; ...   %salt, temp, conc, am, km
             0 3; 0 3; NaN NaN; NaN NaN];   %u, v, w, cd

Comments1 = sprintf('%s\n', ...
'           Source Population Dynamics of Red Tide Dinoflagellates in the Southwestern' ,...
'                               Gulf of Maine Coastal Current' ,...
'     ', ...
'    This is a 15 arc second (~0.5 km) bathymetric grids for the Gulf of Maine (Lon = 71.5',...
'    - 66 W, Lat = 39.5 - 65N) compiled by Ed Roworth and Rich Signell from the following ',...
'    set of published and non-published data sets: ', ...
'    ', ...
'    NOAA Hydrographic Survey Data,',...
'    NGDC Marine Trackline Geophysics Data,', ...
'    Naval Oceanographic Office DBDB-V gridded bathymetry,', ...
'    Data from Bedford Institute of Oceanography, ',...
'    Data from Brookhaven National Laboratory,', ...
'    NOAA Medium resolution digital Shoreline and DMA World Vector Shoreline, ', ...
'    Defense Mapping Agency ETOPO5 Digital relief of the Surface of the Earth, ', ...
'    GEBCO General Bathymetric Chart of the Oceans, and ', ...
'    USGS North American 30 arc-second DEM.  ', ...
'    ', ...
'    Given the variety of input data, the specific characteristics of each dataset were ', ...
'    taken into account before incorporation into the composite dataset. These ',...
'    characteristics included the method of collection, survey resolution (sampling ', ...
'    frequency), method and units of navigational positioning, horizontal and vertical ',...
'    datum and tidal parameters used for corrections. ',...
'    ', ...
'    Bibliography',...
'    ', ...
'    Richard J. Sandy, The Navy''s Bathymetric Databases... From the Sea, Sea Technology. ',...
'    Vol 37, No. 11 November 1996 P.53-56. ', ...
'    ', ...
'    W.H.F. Smith and P. Wessel, Gridding with Continuous curvature splines in tension, ',...
'    Geophysics. Vol 55, NO. 3 March 1990 P. 293-305.',...
'    ', ...
'    Wessel, P., and W. H. F. Smith, New version of the Generic Mapping Tools released, ',...
'    EOS Trans. Amer. Geophys. U., vol. 76, pp. 329, 1995.',...
'    ', ...
'    Wessel, P., and W. H. F. Smith, New version of the Generic Mapping Tools released, ',...
'    EOS Trans. Amer. Geophys. U. electronic supplement, ',...
'    http://www.agu.org/eos_elec95154e.html, 1995. ',...
'    ', ...
'    Wessel, P., and W. H. F. Smith, Free software helps map and display data, EOS Trans. ',...
'    Amer. Geophys. U., vol. 72, pp. 441, 445-446, 1991.');

Comments2 = sprintf('%s\n', ...
'   ', ...
'    Spatial_Domain = ', ...
'         Bounding Coordinates: ', ...
'              West Bounding Coordinate:  71.4979 W ', ...
'              East Bounding Coordinate:  63.1020 W ', ...
'              South Bounding Coordinate: 39.5062 N ', ...
'              North Bounding Coordinate: 45.9854 N ', ...
'    Units:  km ', ...
'    Spatial Resolution: 0.4661 km', ...
'   ', ...
'    Point_of_Contact = ', ...
'         Address: ', ...
'               Rich Signell', ...
'               384 Woods Hole Road', ...
'               U.S. Geological Survey', ...
'               Woods Hole, MA 02543 ', ...
'               USA ', ...
'               http://crusty.er.usgs.gov/rsignell.html ', ...
'         Electronic Mail Address: INTERNET > rsignell@crusty.er.usgs.gov ', ...
'                                  INTERNET > support@dods.gso.uri.edu ');

Comments = [Comments1 Comments2];