Skip to content

Calibration band mismatch (SeaBird) #438

@oceancolorcoder

Description

@oceancolorcoder

SeaBird calibration files often contain empty paragraphs for wavebands that were not calibrated for whatever reason. In addition, they often truncate the list of paragraphs (wavebands in the calibration file) to fewer than the full 255 pixels available. Over the years, multiple attempts were made to work around this issue (e.g., #86, #219, #222, #345, #402, etc.), but it was never full resolved, and has reemerged as an issue in v1.2.15 in the context of the PIU module.

Recent updates have largely resolved the issue for factory- and class-based processing regimes. All bands in the calibration file are now retained, even when not calibrated, but flagged as calibrated or not. However, they are not buffered to 255, so may still be shorter than the bands in the characterization files. These updates should be completed very soon for class-based in v1.2.15 (currently dev branch). However, the sensor-based approach is slightly more complicated as it requires the interpolation of the PDF components in PIU.

Related errors often include "Operands could not be broadcast together".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions