%
% The Reynolds monthly climatology. This dataset is stored at NOAA in
% Boulder. Note that this dataset has a different structure than the Reynolds
% montly data at URI/GSO and so uses a different URL-building function.
%
% $Id: reynolds.m,v 1.9 1998/11/09 20:26:57 dbyrne Exp $

% $Log: reynolds.m,v $
% Revision 1.9  1998/11/09 20:26:57  dbyrne
% *** empty log message ***
%
% Revision 1.13  1998/11/05 16:01:55  root
% Changed LonVector and LatVector to be used if no Lon returned and tried the update function.
% DataScale and DataNull should now be optional!
%
% Revision 1.7  1998/09/14 01:32:57  dbyrne
% Elminated an inconsistency whereby the depth variable was not scaled
% and had no DataNull etc.  Added check for empty variables to plotscript.m
%
% Revision 1.12  1998/09/13 19:21:25  root
% Eliminated an inconsistency in DataScale, DataRange, and DataNull, that
% Depth was not included!
%
% Revision 1.11  1998/09/12 10:33:20  root
% Fixing up. This was broken.
%
% Revision 1.10  1998/09/11 18:03:12  dbyrne
% undid latitude range swap!
%
% Revision 1.9  1998/09/11 08:16:10  dbyrne
% Longitude ranges were messed up in every archive.m file except the
% two I wrote myself.  To eliminate future confusion, 'LLon' 'Llat',
% 'Rlon' and 'Ulat' etc are being eliminated in favor of two-component
% vectors LonRange LatRange TimeRange DepthRange.
%
% Revision 1.8  1998/09/09 20:12:18  dbyrne
% Changing variable names to stay within 14 characters.
%
% Revision 1.7  1998/09/09 19:42:30  dbyrne
% Found correct URL_m_file and am using it.
%
% Revision 1.6  1998/09/09 16:10:28  dbyrne
% Fixed numerous small bugs.
%
% Revision 1.5  1998/09/09 15:04:31  dbyrne
% Eliminating all global variables.
%
% Revision 1.4  1998/09/09 07:57:39  dbyrne
% replaced Data_Scale with DataScale, Data_Null with DataNull, and Data_Range
% with DataRange for consistency with other variables in the archive.m files.
%
% Revision 1.3  1998/09/09 07:40:23  dbyrne
% Replaced getrectangular with getrectg
%
% Revision 1.2  1998/09/09 07:34:23  dbyrne
% Eliminating ReturnedVariables
%
% Revision 1.1  1998/05/17 14:18:12  dbyrne
% *** empty log message ***
%
% Revision 1.5  1998/01/14 17:19:01  jimg
% Points to URI monthly dataset.
%
% Revision 1.4  1998/01/14 01:13:43  jimg
% Removed conflicts. Now points back to URI data.
%
% Revision 1.3  1997/12/12 23:53:13  jimg
% Switched to Reynolds dataset at NOAA in Boulder.
%
% Revision 1.2  1997/12/09 07:13:55  jimg
% Version four compatible matrix
%
% Revision 1.1.1.1  1997/09/22 14:13:55  tom
% Imported Matlab GUI sources to CVS

% FUNCTIONS -- REQUIRED
GetFunctionName = 'getrectg';

% FUNCTIONS -- OPTIONAL
URL_m_File = 'uriclurl';
%URL_m_File = 'reynoldsurl';
CatalogServer = 'monthly';


% VARIABLES -- OPTIONAL
% This URL is the location of the GSO dataset. NOte that with it, use the
% uriclurl URL_m_File. 12/12/97 jhrg.
Server = 'http://dods.gso.uri.edu/cgi-bin/nph-dsp/dods/sst_clima_reynolds/reynolds_';
%Nlon = 359; % changed these to reflect DDS -- dbyrne 98/09/12
%Nlat = 179;
Nlon = 360;
Nlat = 180;

% VARIABLES -- REQUIRED
LonRange = [-179.5 179.5];
LatRange = [89.5 -89.5];
TimeRange = [1990 2000];
DepthRange = [0 0];
Resolution = 111.0;

DataName = 'Reynolds 1 Deg Monthly Global SST';
LongitudeName = 'lon';
LatitudeName = 'lat';
TimeName = '';
DepthName = '';
SelectableVariables = str2mat('Sea_Temp');
DodsName = 'dsp_band_1';

% don't know if datascale is really correct -- dbyrne, 98/09/12
DataScale = [NaN NaN; NaN NaN; NaN NaN; NaN NaN; -3.0 0.15];
DataNull = [NaN NaN NaN NaN 0];
DataRange = [NaN NaN; NaN NaN; NaN NaN; NaN NaN;  0.0 32.0];

% COMMENTS
Comments1 = sprintf('%s\n', ...
'     The optimum interpolation (OI) sea surface temperature (SST)',...
'     analysis is produced weekly on a one-degree grid. The analysis',...
'     uses in situ and satellite SST''s plus SST''s simulated by sea-ice',...
'     cover. Before the analysis is computed, the satellite data is',...
'     adjusted for biases using the method of Reynolds (1988) and',...
'     Reynolds and Marsico (1993). A description of the OI analysis can',...
'     be found in Reynolds and Smith (1994).',...
'     ',...
'     The bias correction improves the large scale accuracy of the OI.',...
'     Examples of the effect of recent corrections is given by Reynolds',...
'     (1993). The bias correction does add a small amount of noise in',...
'     time. Most of the noise can be eliminated by using a 1/4-1/2-1/4',...
'     binomial filter in time. We STRONGLY recommend that this filter',...
'     be applied to the data fields before they are used. An improved',...
'     method of correcting the biases is being developed.',...
'     ',...
'     For a complete description of the data as given by the providers',...
'     and references for the papers cited in the description please see',...
'     their information file. The dates used in the netCDF files are',...
'     the dates of the beginning of the average period.');

Comments2 = sprintf('%s\n', ...
'    ', ...
'    Units:  Degrees Centigrade ', ...
'    Resolution: .15 deg. C ', ...
'    Accuracy: ', ...
'    Time_Period_of_Content = ', ...
'         Beginning_Date:1990', ...
'         Ending_Date: present', ...
'    Spatial_Domain = ', ...
'         Bounding Coordinates: ', ...
'              West Bounding Coordinate:-179.5 ', ...
'              East Bounding Coordinate:179.5 ', ...
'              South Bounding Coordinate:-89.5 ', ...
'              North Bounding Coordinate:89.5 ', ...
'    ', ...
'    Point_of_Contact = ', ...
'         Address: ', ...
'              CDC Data Management', ...
'              Climate Diagnostics Center', ...
'              NOAA/ERL R/E/CD', ...
'              325 Broadway', ...
'              Boulder, CO  80303', ...
'         Electronic Mail Address:INTERNET > support@dods.gso.uri.edu ');

Comments = [Comments1 Comments2]; 
