fusionsc.flt.FieldlineMapping

class fusionsc.flt.FieldlineMapping(dataOrRef)

A storage container for a mapping offering load / save methods

Methods

__init__(dataOrRef)

download()

Downloads (once it is available) the referenced data. Returns a reader for the result.

load(filename)

Loads an instance of this class from a previously written archive file.

save(filename)

Saves the referenced data into an archive file (including all referenced data)

Attributes

ref

The underlying service.DataRef object.

Methods

FieldlineMapping.__init__(dataOrRef)
FieldlineMapping.download() Any

Downloads (once it is available) the referenced data. Returns a reader for the result.

Note: Data pointed to by DataRefs are immutable. If you want to modify the stored data,

clone the results with its clone_() method (including the trailing underscore).

Note Has asynchronous variant ‘.asnc(…)’ that returns Promise[…]

classmethod FieldlineMapping.load(filename)

Loads an instance of this class from a previously written archive file.

FieldlineMapping.save(filename) Any

Saves the referenced data into an archive file (including all referenced data)

Note Has asynchronous variant ‘.asnc(…)’ that returns Promise[…]