Skip to content

documentation: using_gliderflight.rst #1

Description

@hawesie

In https://github.com/smerckel/gliderflight/blob/master/doc/source/using_gliderflight.rst you have these lines:

tmp = dbd.get_sync("sci_ctd41cp_timestamp", "sci_water_temp sci_water_cond sci_water_pressure m_pitch m_ballast_pumped".split())
_, tctd, T, C, P, pitch, buoyancy_change = tmp.compress(tmp[1]>0, axis=1)

However dbd.get_sync returns a list, not an np.array so the call to compress fails. I guess you need to either insert an np.array constructor or alter the return value from get_sync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions