Home > atmlab > arts > xml > xmlReadPpath.m

xmlReadPpath

PURPOSE ^

Reads a Ppath from an XML file.

SYNOPSIS ^

function result = xmlReadPpath(fid, attrlist, itype, ftype, binary, fid2)

DESCRIPTION ^

 Reads a Ppath from an XML file.

    Internal function that should never be called directly.
    Use *xmlLoad* instead.

    Calls *xmlReadTag* for every member of the Ppath structure.

 FORMAT   result = xmlReadPpath(fid, attrlist, itype, ftype, binary, fid2)

 OUT   result     Ppath
 IN    fid        File descriptor of XML file
 IN    attrlist   List of tag attributes
 IN    itype      Integer type of input file
 IN    ftype      Floating point type of input file
 IN    binary     Flag. 1 = binary file, 0 = ascii
 IN    fid2       File descriptor of binary file

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

xmlReadPpath.m

SOURCE CODE ^

0001 % Reads a Ppath from an XML file.
0002 %
0003 %    Internal function that should never be called directly.
0004 %    Use *xmlLoad* instead.
0005 %
0006 %    Calls *xmlReadTag* for every member of the Ppath structure.
0007 %
0008 % FORMAT   result = xmlReadPpath(fid, attrlist, itype, ftype, binary, fid2)
0009 %
0010 % OUT   result     Ppath
0011 % IN    fid        File descriptor of XML file
0012 % IN    attrlist   List of tag attributes
0013 % IN    itype      Integer type of input file
0014 % IN    ftype      Floating point type of input file
0015 % IN    binary     Flag. 1 = binary file, 0 = ascii
0016 % IN    fid2       File descriptor of binary file
0017 
0018 % 2003-01-09   Created by Oliver Lemke.
0019 
0020 function result = xmlReadPpath(fid, attrlist, itype, ftype, binary, fid2)
0021 
0022   result.dim          = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0023   result.np           = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0024   result.constant     = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0025   result.background   = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0026   result.start_pos    = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0027   result.start_los    = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0028   result.start_lstep  = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0029   result.pos          = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0030   result.los          = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0031   result.r            = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0032   result.lstep        = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0033   result.end_pos      = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0034   result.end_los      = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0035   result.end_lstep    = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0036   result.nreal        = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0037   result.ngroup       = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0038   result.gp_p         = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0039   result.gp_lat       = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0040   result.gp_lon       = xmlReadTag(fid, '', itype, ftype, binary, fid2 );
0041 
0042

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