function status = get_valid_range_data_data()

global valid_range_data;

fprintf ( 1, 'Retrieving valid range data...\n' );
valid_range_data.low = NaN * zeros(size(5000,1));
valid_range_data.high = NaN * zeros(size(5000,1));

%
% 7: sea level anomaly
epic_code = 7;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 2;

%
% 20:  temperature
epic_code = 20;
valid_range_data.low(epic_code) = -100;
valid_range_data.high(epic_code) = 100;

%
% 21:  air temperature
epic_code = 21;
valid_range_data.low(epic_code) = -100;
valid_range_data.high(epic_code) = 100;

%
% 25:  sea surface temperature
epic_code = 25;
valid_range_data.low(epic_code) = -100;
valid_range_data.high(epic_code) = 100;

%
% 40:  salinity
epic_code = 40;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 40;

%
% 50:  conductivity
epic_code = 50;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 100;

%
% 55:  attenuation
epic_code = 55;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 10000;

%
% 56:  attenuation
epic_code = 56;
valid_range_data.low(epic_code) = -10;
valid_range_data.high(epic_code) = 10000;

%
% 60:  oxygen
epic_code = 60;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 20;

%
% 62:  oxygen %
epic_code = 62;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 100;

%
% 70:  sigma-t
epic_code = 70;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 100;

%
% 71:  sigma-theta
epic_code = 71;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 100;

%
% 80:  sound velocity
epic_code = 80;
valid_range_data.low(epic_code) = 1000;
valid_range_data.high(epic_code) = 2000;

%
% 81:  correction factor
epic_code = 81;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 2;

%
% 100:  scan number 
epic_code = 100;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1e20;

%
% number points in averate
epic_code = 105;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1e20;

%
% transmission voltage 7
epic_code = 107;
valid_range_data.low(epic_code) = -5;
valid_range_data.high(epic_code) = 5;

%
% photsynthetic active radiation
epic_code = 253;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1e20;

%
% current speed
epic_code = 300;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1000;

%
% current direction
epic_code = 310;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 360;

%
% wind speed, cm/s
epic_code = 400;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 100000;

%
% wind speed, m/s
epic_code = 401;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1000;

%
% wind gust, m/s
epic_code = 402;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 10000;

%
% wind direction
epic_code = 410;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 360;

%
% wind u, m/s
epic_code = 422;
valid_range_data.low(epic_code) = -200;
valid_range_data.high(epic_code) = 200;

%
% wind v, m/s
epic_code = 423;
valid_range_data.low(epic_code) = -200;
valid_range_data.high(epic_code) = 200;

%
% wind stress x
epic_code = 446;
valid_range_data.low(epic_code) = -10;
valid_range_data.high(epic_code) = 10;

%
% wind stress y
epic_code = 447;
valid_range_data.low(epic_code) = -10;
valid_range_data.high(epic_code) = 10;

%
% sdp
epic_code = 850;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 200;

%
% flourometer
epic_code = 903;
valid_range_data.low(epic_code) = -1e20;
valid_range_data.high(epic_code) = 1e20;

%
% barometric pressure
epic_code = 915;
valid_range_data.low(epic_code) = 500;
valid_range_data.high(epic_code) = 1500;

%
% upward velocity
epic_code = 1204;
valid_range_data.low(epic_code) = -1000;
valid_range_data.high(epic_code) = 1000;

%
% east velocity
epic_code = 1205;
valid_range_data.low(epic_code) = -1000;
valid_range_data.high(epic_code) = 1000;

%
% north velocity
epic_code = 1206;
valid_range_data.low(epic_code) = -1000;
valid_range_data.high(epic_code) = 1000;

%
% vane angle
epic_code = 1403;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 360;

%
% compass
epic_code = 1404;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 360;

%
% bearing
epic_code = 1411;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 360;

%
% no code
epic_code = 1900;
valid_range_data.low(epic_code) = -1e20;
valid_range_data.high(epic_code) = 1e20;

%
% no code
epic_code = 1901;
valid_range_data.low(epic_code) = -1e20;
valid_range_data.high(epic_code) = 1e20;

%
% no code
epic_code = 1902;
valid_range_data.low(epic_code) = -1e20;
valid_range_data.high(epic_code) = 1e20;

%
% no code
epic_code = 1903;
valid_range_data.low(epic_code) = -1e20;
valid_range_data.high(epic_code) = 1e20;

%
% no code
epic_code = 1904;
valid_range_data.low(epic_code) = -1e20;
valid_range_data.high(epic_code) = 1e20;

%
% no code
epic_code = 1905;
valid_range_data.low(epic_code) = -1e20;
valid_range_data.high(epic_code) = 1e20;

%
% no code
epic_code = 1906;
valid_range_data.low(epic_code) = -1e20;
valid_range_data.high(epic_code) = 1e20;

%
% no code
epic_code = 1907;
valid_range_data.low(epic_code) = -1e20;
valid_range_data.high(epic_code) = 1e20;

%
% no code
epic_code = 1908;
valid_range_data.low(epic_code) = -1e20;
valid_range_data.high(epic_code) = 1e20;

%
% upper rotor speed counts
epic_code = 4000;
valid_range_data.low(epic_code) = -6000;
valid_range_data.high(epic_code) = 6000;

%
% upper rotor speed cm/s
epic_code = 4001;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1000;

%
% lower rotor speed counts
epic_code = 4002;
valid_range_data.low(epic_code) = -6000;
valid_range_data.high(epic_code) = 6000;

%
% lower rotor speed cm/s
epic_code = 4003;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1000;

%
% rotor speed difference
epic_code = 4004;
valid_range_data.low(epic_code) = -1000;
valid_range_data.high(epic_code) = 1000;

%
% rotor counts
epic_code = 4005;
valid_range_data.low(epic_code) = -6000;
valid_range_data.high(epic_code) = 6000;

%
% rotor speed
epic_code = 4006;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1000;

%
% steadiness
epic_code = 4009;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1000;

%
% transmission
epic_code = 4010;
valid_range_data.low(epic_code) = -5;
valid_range_data.high(epic_code) = 5;

%
% transmission %
epic_code = 4011;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 100;

%
% transmission volts
epic_code = 4012;
valid_range_data.low(epic_code) = -5;
valid_range_data.high(epic_code) = 5;

%
% tiltx
epic_code = 4017;
valid_range_data.low(epic_code) = -45;
valid_range_data.high(epic_code) = 45;

%
% tilty
epic_code = 4018;
valid_range_data.low(epic_code) = -45;
valid_range_data.high(epic_code) = 45;

%
% average relative pressure
epic_code = 4020;
valid_range_data.low(epic_code) = -1e6;
valid_range_data.high(epic_code) = 1e6;

%
% average interval pressure
epic_code = 4022;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1e6;

%
% average burst pressure
epic_code = 4023;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1e6;

%
% u variance
epic_code = 4050;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1e8;

%
% uv covariance
epic_code = 4051;
valid_range_data.low(epic_code) = -1e8;
valid_range_data.high(epic_code) = 1e8;

%
% v variance
epic_code = 4052;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1e8;

%
% uw covariance
epic_code = 4053;
valid_range_data.low(epic_code) = -1e8;
valid_range_data.high(epic_code) = 1e8;

%
% vw covariance
epic_code = 4054;
valid_range_data.low(epic_code) = -1e8;
valid_range_data.high(epic_code) = 1e8;

%
% w variance
epic_code = 4055;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1e8;

%
% period u
epic_code = 4056;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1e20;

%
% period v
epic_code = 4057;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 1e20;

%
% average wave period
epic_code = 4060;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 30;

%
% average wave height
epic_code = 4061;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 100;

%
% wave direction 
epic_code = 4062;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 360;

%
% bass a
epic_code = 4070;
valid_range_data.low(epic_code) = -30000;
valid_range_data.high(epic_code) = 30000;

%
% bass b
epic_code = 4071;
valid_range_data.low(epic_code) = -30000;
valid_range_data.high(epic_code) = 30000;

%
% bass c
epic_code = 4072;
valid_range_data.low(epic_code) = -30000;
valid_range_data.high(epic_code) = 30000;

%
% bass d
epic_code = 4073;
valid_range_data.low(epic_code) = -30000;
valid_range_data.high(epic_code) = 30000;

%
% bad bass a
epic_code = 4074;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 400;

%
% bad bass b
epic_code = 4075;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 400;

%
% bad bass c
epic_code = 4076;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 400;

%
% bad bass d
epic_code = 4077;
valid_range_data.low(epic_code) = 0;
valid_range_data.high(epic_code) = 400;


status = 1;
fprintf ( 1, 'Done retrieving valid range data...\n' );

return;





