import lbdThis reference is generated from the code. For a guided introduction with examples, type tables and recipes, see Reading and writing files.
::: lbd.Dataset options: heading_level: 3
::: lbd.Axis options: heading_level: 3
::: lbd.Value options: heading_level: 3
::: lbd.load options: heading_level: 3
::: lbd.info options: heading_level: 3
::: lbd.set_plot options: heading_level: 3
::: lbd.version options: heading_level: 3
lbd never changes or drops data silently. Input it can't store raises an error; input it
stores but not exactly as given (or a file with parts it can't read) gives a warning.
| When | |
|---|---|
LBDError |
Invalid names, shapes or types; lossy conversions to a forced dtype; a file that isn't LBD or breaks the format rules; metadata that can't be stored. |
LBDVersionError |
The file's major format version is newer than this module. |
TypeError |
An argument of the wrong type, e.g. a number as unit. |
LBDWarning |
Long double stored as float64; an axis that isn't sorted; a file from a newer minor version; a saved view or metadata that is partly unreadable. |
To silence LBD's warnings on purpose (not recommended while developing):
import warnings
import lbd
warnings.filterwarnings("ignore", category=lbd.LBDWarning)::: lbd.LBDError options: heading_level: 3
::: lbd.LBDVersionError options: heading_level: 3
::: lbd.LBDWarning options: heading_level: 3