Home > atmlab > arts > netcdf > arts_nc_read_tensor3.m

arts_nc_read_tensor3

PURPOSE ^

ARTS_NC_READ_TENSOR3 Read Tensor3 from ARTS NetCDF file.

SYNOPSIS ^

function [ret, gattr] = arts_nc_read_tensor3 (filename)

DESCRIPTION ^

 ARTS_NC_READ_TENSOR3   Read Tensor3 from ARTS NetCDF file.

    Reads a Tensor3 from a NetCDF file saved with Arts.

 FORMAT   ret = arts_nc_read_tensor3(filename)
        
 OUT   ret      Tensor3
 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_tensor3.m

SOURCE CODE ^

0001 % ARTS_NC_READ_TENSOR3   Read Tensor3 from ARTS NetCDF file.
0002 %
0003 %    Reads a Tensor3 from a NetCDF file saved with Arts.
0004 %
0005 % FORMAT   ret = arts_nc_read_tensor3(filename)
0006 %
0007 % OUT   ret      Tensor3
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_tensor3 (filename)
0015 
0016 gattr = loadncglobalattr2cell (ncid);
0017 
0018 v = loadncvar (filename, 'Tensor3');
0019 ret = permute (v, [3 2 1]);

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