cfdm.NetCDFArray.open

NetCDFArray.open()[source]

Returns an open netCDF4.Dataset for the array’s file.

New in version (cfdm): 1.7.0

Returns

netCDF4.Dataset

Examples:

>>> netcdf = a.open()
>>> variable = netcdf.variables[a.get_ncvar()]
>>> variable.getncattr('standard_name')
'eastward_wind'