__init__(self,
files,
check=False)
(Constructor)
| source code |
Open a Dataset spanning multiple files, making it look as if it was a
single file. Variables in the list of files that share the same unlimited
dimension are aggregated.
Adapted from pycdf by Andre Gosselin.
Usage:
nc = MFnetCDF4_classic.Dataset(files, check=False)
-
- Parameters:
files - either a sequence of netCDF files or a string with a wildcard
(converted to a sorted list of files using glob) The first file
in the list will become the "master" file, defining all
the record variables (variables with an unlimited dimension)
which may span subsequent files. Attribute access returns
attributes only from "master" file. The files are
always opened in read-only mode.
check - True if you want to do consistency checking to ensure the
correct variables structure for all of the netcdf files.
Checking makes the initialization of the MFnetCDF4_classic
instance much slower. Default is False.
- Overrides:
netCDF4_classic.Dataset.__init__
|