Table of Contents

Class: nciterator nciterator.py

Multiple NetCDF files iterator

Methods   
__init__
__len__
getfield
getncitem
getncrec
  __init__ 
__init__ (
        self,
        namelist,
        tvarname,
        )

Constructor for the class nciterator

Arguments:

namelist
List of NetCDF file names to iterate over
tvarname
Name of the NetCDF time variable
  __len__ 
__len__ ( self )

Total iterator records

  getfield 
getfield (
        self,
        varname,
        irec,
        )

Returns a NumPy array with the varname corresponding to the irec global record

  getncitem 
getncitem ( self,  irec )

Returns an open NetCDFFile where the record irec is located

Exceptions   
ValueError
  getncrec 
getncrec (
        self,
        irec,
        inc,
        )

Returns the inc NetCDFFile record corresponding to the irec global record

Exceptions   
ValueError

Table of Contents

This document was automatically generated on Mon Dec 9 15:58:37 2002 by HappyDoc version 2.1