|
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
|
|
|
getncrec
|
getncrec (
self,
irec,
inc,
)
Returns the inc NetCDFFile record corresponding to the irec global record
|
|