class DetectInstrument {

    static Instrument getInstrument(Product product) {
        if (meris(product)) {
            return Instrument.MERIS;
        } else if (modis1km(product)) {
            return Instrument.MODIS;
        } else if (modis500m(product)) {
            return Instrument.MODIS500;
        } else if (s2msi(product)) {
            return Instrument.S2_MSI;
        } else if (olci(product)) {
            return Instrument.OLCI;
            //TODO - DISABLED SENSOR
//        } else if (landsat8(product)) {
//            return Instrument.LANDSAT8;
        } else if (seawifs(product)) {
            return Instrument.SEAWIFS;
        } else if (czcs(product)) {
            return Instrument.CZCS;
        }
        return null;
    }

}