Home > atmlab > datasets > amsub_or_mhs.m

amsub_or_mhs

PURPOSE ^

amsub_or_mhs Which sensor is on this satellite?

SYNOPSIS ^

function sensor = amsub_or_mhs(sat)

DESCRIPTION ^

 amsub_or_mhs Which sensor is on this satellite?

 For a POES satellite, returns what sensor (amsub or mhs) is on this
 satellite.

 FORMAT

   sensor = amsub_or_mhs(sat)

 IN

   sat     string      satellite name

 OUT

   sensor  string      sensor name

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

amsub_or_mhs.m

SOURCE CODE ^

0001 function sensor = amsub_or_mhs(sat)
0002 
0003 % amsub_or_mhs Which sensor is on this satellite?
0004 %
0005 % For a POES satellite, returns what sensor (amsub or mhs) is on this
0006 % satellite.
0007 %
0008 % FORMAT
0009 %
0010 %   sensor = amsub_or_mhs(sat)
0011 %
0012 % IN
0013 %
0014 %   sat     string      satellite name
0015 %
0016 % OUT
0017 %
0018 %   sensor  string      sensor name
0019 %
0020 % $Id$
0021 
0022 switch sat
0023     case datasets_constants('POES_satellites_amsub')
0024         sensor = 'amsub';
0025     case datasets_constants('POES_satellites_mhs')
0026         sensor = 'mhs';
0027     otherwise
0028         error('atmlab:amsub_or_mhs', 'I don''t know what sensor is on %s', sat);
0029 end

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005