Skip to content

Issue in interpolation of data using the SAF  #13

@kamwal

Description

@kamwal

In running the matlab_owc software for the float WMO: 1901877 I have encounter some error with the interpolation of data in the update salinity mapping block of calculations where the software use the SAF in the analysis. The error message refers to not unique sample points used for analysis.

Is there any way to avoid this error in the software other than disable SAF in the config file?

I am using combined, the most recent reference data CTD_for_DMQC_2024V01 and ARGO_for_DMQC_2023V03

The error message is as follows:

UPDATE_SALINITY_MAPPING: Working on profile 121
Error using matlab.internal.math.interp1
Sample points must be unique.

Error in interp1 (line 188)
VqLite = matlab.internal.math.interp1(X,V,method,method,Xqcol);

Error in frontalConstraintSAF (line 155)
T300=interp1(grid_pres(isok,i),temp,300);

Error in update_salinity_mapping (line 201)
frontalConstraintSAF(la_bhist_sal, la_bhist_ptmp, la_bhist_pres, la_bhist_lat, la_bhist_long, la_bhist_dates, la_bhist_Z, LAT, LONG, PRES, PTMP, SAL, po_system_configuration);

Error in ow_calibration_kamwal_v2 (line 39)
update_salinity_mapping( flt_dir, flt_name, lo_system_configuration )

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