Home > atmlab > sensors > atovs > atovs_define_amsual1c.m

atovs_define_amsual1c

PURPOSE ^

ATOVS_DEFINE_AMSUAL1C Define a format of AMSU-A level 1c data record

SYNOPSIS ^

function [rec_format, rec_len, nchan, nfovs] = atovs_define_amsual1c

DESCRIPTION ^

 ATOVS_DEFINE_AMSUAL1C   Define a format of AMSU-A level 1c data record

 This function defines a format of AMSU-A level 1c data record.

 FORMAT   [rec_format, rec_len, nchan, nfovs] = atovs_define_amsual1c;

 OUT   rec_format   Format of a record. A structure with fields:
                    time, lat, lon, lza, laa, sza, zaa, and tb.
       rec_len      Length of a record.
       nchan        Number of channels.
       nfovs        Number of instrument field of views.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

atovs_define_amsual1c.m

SOURCE CODE ^

0001 % ATOVS_DEFINE_AMSUAL1C   Define a format of AMSU-A level 1c data record
0002 %
0003 % This function defines a format of AMSU-A level 1c data record.
0004 %
0005 % FORMAT   [rec_format, rec_len, nchan, nfovs] = atovs_define_amsual1c;
0006 %
0007 % OUT   rec_format   Format of a record. A structure with fields:
0008 %                    time, lat, lon, lza, laa, sza, zaa, and tb.
0009 %       rec_len      Length of a record.
0010 %       nchan        Number of channels.
0011 %       nfovs        Number of instrument field of views.
0012 
0013 % 2004-06-29   Created by Mashrab Kuvatov.
0014 % 2010-11-11   Adapted by Gerrit Holl (also return angles).
0015 
0016 function [rec_format, rec_len, nchan, nfovs] = atovs_define_amsual1c
0017 
0018 % number of channels
0019 nchan = 15;
0020 
0021 % number of instrument field of views
0022 nfovs = 30;
0023 
0024 % length of a record
0025 rec_len = 768;
0026 
0027 % define where each of these appear in the data records
0028 rec_format.time     = 4;
0029 rec_format.lat = 24 + 2 * (1:nfovs);
0030 rec_format.lon = 25 + 2 * (1:nfovs);
0031 rec_format.lza = 86 + 4 * (0:nfovs-1);
0032 rec_format.laa = 87 + 4 * (0:nfovs-1);
0033 rec_format.sza = 88 + 4 * (0:nfovs-1);
0034 rec_format.saa = 89 + 4 * (0:nfovs-1);
0035 rec_format.elev = 206;
0036 
0037 for ichan = 1 : nchan
0038   rec_format.tb( ichan, : ) = 193 + ichan + nchan * (1:nfovs);
0039 end
0040 
0041 return

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