Home > atmlab > arts > scenegen > asgD.m

asgD

PURPOSE ^

ASGD Definition of the gformat as applied for the arts scnene generator

SYNOPSIS ^

function [D,I] = asgD

DESCRIPTION ^

 ASGD   Definition of the gformat as applied for the arts scnene generator

    To create a definition structure:
       D = asgD;

    To obtain information of the fields of D:
       qinfo( @asgD )

 FORMAT   [D,I] = asgD
        
 OUT   D   Gformat definition structure.
       I   Includes same fields as D, where the content of each field
           is a description string (used by *qinfo*).

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

asgD.m

SOURCE CODE ^

0001 % ASGD   Definition of the gformat as applied for the arts scnene generator
0002 %
0003 %    To create a definition structure:
0004 %       D = asgD;
0005 %
0006 %    To obtain information of the fields of D:
0007 %       qinfo( @asgD )
0008 %
0009 % FORMAT   [D,I] = asgD
0010 %
0011 % OUT   D   Gformat definition structure.
0012 %       I   Includes same fields as D, where the content of each field
0013 %           is a description string (used by *qinfo*).
0014 
0015 % 2007-10-19   Created by Patrick Eriksson
0016 
0017 
0018 function [D,I] = asgD
0019   
0020 %------------------------------------------------------------------------------
0021 D.DIM = 4;
0022 I.DIM = [ ...
0023 'Type ''help gformat'' for obtaining the definition of this field.',...
0024 'The arts scene generator (ASG) operates with 4 dimensions: ',...
0025 '#   1. Pressure',...
0026 '#   2. Latitude',...
0027 '#   3. Longitude',...
0028 '#   4. Case',...
0029 'The last dimension can be used to store multiple realisations of the ',...
0030 'same quantity (to be used in e.g. batch calculations). It is allowed ',...
0031 'that the number of cases differs inside G. The last case is then used ',...
0032 'to match data from other G items having more cases.'
0033 ];
0034 %------------------------------------------------------------------------------
0035 D.GRID1_NAME = 'Pressure';
0036 I.GRID1_NAME = [ ...
0037 'Type ''help gformat'' for obtaining the definition of this field.',...
0038 '#   Dimension 1 is for ASG defined to be pressure.'
0039 ];
0040 %------------------------------------------------------------------------------
0041 D.GRID1_UNIT = 'Pa';
0042 I.GRID1_UNIT = [ ...
0043 'Type ''help gformat'' for obtaining the definition of this field.',
0044 ];
0045 %------------------------------------------------------------------------------
0046 D.GRID2_NAME = 'Latitude';
0047 I.GRID2_NAME = [ ...
0048 'Type ''help gformat'' for obtaining the definition of this field.',...
0049 '#   Dimension 2 is for ASG defined to be latitude.'
0050 ];
0051 %------------------------------------------------------------------------------
0052 D.GRID2_UNIT = 'deg';
0053 I.GRID2_UNIT = [ ...
0054 'Type ''help gformat'' for obtaining the definition of this field.',
0055 ];
0056 %------------------------------------------------------------------------------
0057 D.GRID3_NAME = 'Longitude';
0058 I.GRID3_NAME = [ ...
0059 'Type ''help gformat'' for obtaining the definition of this field.',...
0060 '#   Dimension 3 is for ASG defined to be longitude.'
0061 ];
0062 %------------------------------------------------------------------------------
0063 D.GRID3_UNIT = 'deg';
0064 I.GRID3_UNIT = [ ...
0065 'Type ''help gformat'' for obtaining the definition of this field.',
0066 ];
0067 %------------------------------------------------------------------------------
0068 D.GRID4_NAME = 'Case';
0069 I.GRID4_NAME = [ ...
0070 'Type ''help gformat'' for obtaining the definition of this field.',...
0071 '#   Dimension 4 is for ASG defined to be "case".'
0072 ];
0073 %------------------------------------------------------------------------------
0074 D.GRID4_UNIT = '-';
0075 I.GRID4_UNIT = [ ...
0076 'Type ''help gformat'' for obtaining the definition of this field.',
0077 ];
0078 %------------------------------------------------------------------------------

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