![]() |
The following archive M-file describes the Levitus ocean atlas
dataset. (You can find it in the DATASETS directory, called
woa94mon.m.) Many of the M-files follow the same basic
structure. Most of the variables set here are necessary for
the operation of the browser. A few of them, however, are set only for
the convenience of the getxxx function (called getrectg
here). If you have to write a new getxxx function, you may not
need them.
% World Ocean Atlas Monthly Climatology
% FUNCTIONS -- REQUIRED
GetFunctionName = 'getrectg';
% VARIABLES -- OPTIONAL
Server = ['http://ferret.wrc.noaa.gov/cgi-bin/nph-nc',...
'/data/Ocean_atlas_monthly.nc'];
axes_order = [4 3 2 1];
% force time axis to correct day [Y M D H M S]
Time_Offset = [0 0 -1 0 0 0];
% VARIABLES -- REQUIRED
LonRange = [20.000 380.000];
LatRange = [-90.000 90.000];
TimeRange = [1800 str2num(datestr(date,10))];
DepthRange = [0.0 1000.0];
DepthUnits = 'Meters';
Resolution = 111.0;
DataName = 'Water Column - World Ocean Atlas 1994 Monthly - PMEL';
SelectableVariables = str2mat('Sea_Temp', 'Salinity');
DodsName = str2mat('TEMP','SALT');
Acknowledge = sprintf('%s\n%s\n%s\n%s\n%s', ...
Comments1 = sprintf('%s\n', ...
The following variables are for use by the browser.
GetFunctionNamegetxxx
function that will return both the catalog information as well as
the actual data. See Section 3.2. The
getrectg function is a common one used to return gridded
multi-dimensional data. The getxxx function must be available
in your MATLABPATH.
LonRange, LatRange, TimeRange,
DepthRangeDepthUnitsResolutionDataNameDataRangeDataNull array. This matrix is used by the
browser plot functions to create a consistent color scale for the
imaging of multiple returning data slices within one dataset. It is
only used for image and pcolor plots. An entry
of [NaN NaN] indicates the total range of that variable is
not known and the browser should scale each image using the local
minimum and maximum. The temptation to write in non-NaN scale
entries for longitude should be avoided, since the browser
converts longitude to match the current window view upon return.
Not required.
Comments
Comments1 = sprintf('%s\n', ...
' Levitus (1982) Climatological Atlas of the World Ocean', ...
' ', ...
'Annual climatologies of salinity and temperature on 1x1 degree ');
Comments2 = sprintf('%s\n', ...
' ', ...
'Levitus, S., Climatological Atlas of the World, NOAA/ERL GFDL', ...
'Professional Paper 13, Princeton, N.J., (NTIS PB83-184093),', ...
'1982.');
Comments3 = sprintf('%s\n', ...
' Time_Period_of_Content = ', ...
' Beginning_Date:1935 ', ...
' Ending_Date:1978 ');
Comments = [Comments1 Comments2 Comments3];
AcknowledgeData_Use_Policy