Home > atmlab > arts > netcdf > arts_nc_read_matrix.m

arts_nc_read_matrix

PURPOSE ^

ARTS_NC_READ_MATRIX Read Matrix from ARTS NetCDF file.

SYNOPSIS ^

function [ret, gattr] = arts_nc_read_matrix (filename)

DESCRIPTION ^

 ARTS_NC_READ_MATRIX   Read Matrix from ARTS NetCDF file.

    Reads a Matrix from a NetCDF file saved with Arts.

 FORMAT   ret = arts_nc_read_matrix(filename)
        
 OUT   ret      Matrix
 OUT   gattr    Global attributes
       
 IN    filename Name of NetCDF input file.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

arts_nc_read_matrix.m

SOURCE CODE ^

0001 % ARTS_NC_READ_MATRIX   Read Matrix from ARTS NetCDF file.
0002 %
0003 %    Reads a Matrix from a NetCDF file saved with Arts.
0004 %
0005 % FORMAT   ret = arts_nc_read_matrix(filename)
0006 %
0007 % OUT   ret      Matrix
0008 % OUT   gattr    Global attributes
0009 %
0010 % IN    filename Name of NetCDF input file.
0011 
0012 % 2010-02-02   Created by Oliver Lemke.
0013 
0014 function [ret, gattr] = arts_nc_read_matrix (filename)
0015 
0016 gattr = loadncglobalattr (filename);
0017 
0018 v = loadncvar (filename, 'Matrix');
0019 
0020 ret = v';

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