drop_private_coords

function of dascore.proc.coords source

drop_private_coords(
    self: Patch ,
)-> ‘PatchType’

Drop all private coords in the patch.

Parameters

Parameter Description
self Patch

Examples

import numpy as np
import dascore as dc
pa = (
    dc.get_example_patch("random_das")
    .update_coords(_private=(None, np.array([1,2,3])))
)
pa_no_private = pa.drop_private_coords()
assert "_private" not in pa_no_private.coords.coord_map