cdms2.dataset

openDataset(uri, mode='r', template=None, dods=1, dpath=None, hostObj=None)[source]

Open Dataset

Parameters
uri(str) Filename to open
mode(str) Either r,`w`,`a` mode to open the file in read/write/append
templateA string template for the datafile(s), for dataset creation
dods(int) Default set to 1
dpath(str) Destination path.
Returns
file handle.