xray.backends.ScipyDataStore

class xray.backends.ScipyDataStore(filename_or_obj, mode='r', mmap=None, version=1)

Store for reading and writing data via scipy.io.netcdf.

This store has the advantage of being able to be initialized with a StringIO object, allow for serialization without writing to disk.

It only supports the NetCDF3 file-format.

Attributes

attrs
dimensions
store_variables
variables

Methods

close()
del_attribute(key)
open_store_variable(var)
set_attribute(key, value)
set_attributes(attributes)
set_dimension(name, length)
set_dimensions(dimensions)
set_necessary_dimensions(variable)
set_variable(name, variable)
set_variables(variables)
sync()
__init__(filename_or_obj, mode='r', mmap=None, version=1)

Methods

__init__(filename_or_obj[, mode, mmap, version])
close()
del_attribute(key)
open_store_variable(var)
set_attribute(key, value)
set_attributes(attributes)
set_dimension(name, length)
set_dimensions(dimensions)
set_necessary_dimensions(variable)
set_variable(name, variable)
set_variables(variables)
sync()

Attributes

attrs
dimensions
store_variables
variables