flat_dump

method of dascore.core.attrs.PatchAttrs source

flat_dump(
    self ,
    dim_tuple = False,
    exclude = None,
)-> ‘dict’

Flatten the coordinates and dump to dict.

Parameters

Parameter Description
dim_tuple If True, return dimensional tuple instead of range. EG, the
output will have {time: (min, max)} rather than
{time_min: …, time_max: …,}. This is useful because it can
be passed to read, scan, select, etc.
exclude keys to exclude.