scipy.io.netcdf.netcdf_file.__init__

netcdf_file.__init__(filename, mode='r', mmap=None, version=1)

Initialize netcdf_file from fileobj (string or file-like)

Parameters :

filename : string or file-like

string -> filename

mode : {‘r’, ‘w’}, optional

read-write mode, default is ‘r’

mmap : None or bool, optional

Whether to mmap filename when reading. Default is True when filename is a file name, False when filename is a file-like object

version : {1, 2}, optional

version of netcdf to read / write, where 1 means Classic format and 2 means 64-bit offset format. Default is 1. See http://www.unidata.ucar.edu/software/netcdf/docs/netcdf/Which-Format.html#Which-Format

This Page