class LandsatLevel2Metadata extends XmlMetadata {

    public FlagCoding createSaturationFlagCoding(String bandName) {
        //TODO from metadata
        FlagCoding flagCoding = new FlagCoding("saturation");
        flagCoding.addFlag("data_fill_flag", 1, "Designated Fill");
        flagCoding.addFlag("Band1_saturated", 2, "Band 1 Data Saturation Flag");
        flagCoding.addFlag("Band2_saturated", 4, "Band 2 Data Saturation Flag");
        flagCoding.addFlag("Band3_saturated", 8, "Band 3 Data Saturation Fla ");
        flagCoding.addFlag("Band4_saturated", 16, "Band 4 Data Saturation Flag");
        flagCoding.addFlag("Band5_saturated", 32, "Band 5 Data Saturation Flag");
        flagCoding.addFlag("Band6_saturated", 64, "Band 6 Data Saturation Flag");
        flagCoding.addFlag("Band7_saturated", 128, "Band 7 Data Saturation Flag");
        if(getSatellite().equals("LANDSAT_8")) {
            flagCoding.addFlag("Band8_saturated", 256, "N/A");
            flagCoding.addFlag("Band9_saturated", 512, "Band 9 Data Saturation Flag");
            flagCoding.addFlag("Band10_saturated", 1024, "Band 10 Data Saturation Flag");
            flagCoding.addFlag("Band11_saturated", 2048, "Band 11 Data Saturation Flag");
        }
        return flagCoding;
    }

    public  LandsatLevel2Metadata(String name);

}