xarray_to_patch

function of dascore.utils.io source

xarray_to_patch(
    data_array ,
)-> ‘PatchType’

Convert an xarray dataarray to a patch.