class MphChlUtils {

    public static void setToInvalid(WritableSample[] targetSamples, boolean exportMph) {
        targetSamples[0].set(Double.NaN);
        targetSamples[1].set(0.0);  // mph_chl_flag
        targetSamples[2].set(0.0);  // immersed cyanobacteria
        targetSamples[3].set(0.0);  // floating cyanobacteria
        targetSamples[4].set(0.0);  // floating vegetation
        if (exportMph) {
            targetSamples[5].set(Double.NaN);
        }
    }

}