Skip to content

problems with aligning channles for double ended calibration #59

@jmhuss

Description

@jmhuss

Since the automated shift to align foreward and backward channel suggested largely varying shifts, I used the notebook 'prep_doubleended'.
I ran into some pitfalls executing the script:

It was unclear to me, that I could (and had to) just drop the ref_data keyword in assign_ref_data(), when I used no external temperature data. Might be solved by a short note.

The addition to drop one observation in one channel might come with a check, wether a (and which) channel has more observations than the other, apllying the correction only if needed and hence avoiding a tripping wire when time dimesnions are already of equal length.
ds_ch1 = ds_ch1.isel(time=slice(None, -1))

Highlighting the argument shift_lims in suggest_cable_shift_double_ended() as something that has to be expanded when no good match is achieved might point out, that only a local maximum of correlation was reached with the default limits and hence save some troubleshooting when the lag is large (>60 bins or 15 meters in my case).
Might too narrow shift limits also be the reason, why the automated function when executing PyFOX gave wrong values?

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