boxkit.library._dataset module

Module with implemenetation of Dataset class

class boxkit.library._dataset.Dataset(blocklist, data)

Bases: object

API class for storing Dataset info

_map_blocklist(blocklist)

Private method for initialization

_map_data(data)

Private method for initialization

addvar(varkey, dtype=<class 'float'>)
clone(storage='numpy-memmap')

Clone dataset

delvar(varkey)
property dtype
halo_exchange(varlist, nthreads=1, batch='auto', backend='serial', monitor=False)

Perform halo exchange

property nblocks
property nxb
property nyb
property nzb
purge(purgeflag='all')

Clean up the dataset and close it

property source
type_ = 'default'
property varlist
property xguard
property yguard
property zguard