class Landsat8Metadata extends AbstractLandsatMetadata {

    static String getSpectralInputString() {
        final Preferences preferences = Config.instance("s3tbx").load().preferences();
        final String readAs = preferences.get(LandsatGeotiffReader.SYSPROP_READ_AS, null);
        String spectralInput;
        if (readAs != null) {
            switch (readAs.toLowerCase()) {
                case "reflectance":
                    spectralInput = "REFLECTANCE";
                    break;
                case "radiance":
                    spectralInput = "RADIANCE";
                    break;
                default:
                    spectralInput = "RADIANCE";
                    LOG.warning(String.format("Property '%s' has unsupported value '%s'.%n" +
                                              "Interpreting values as radiance.",
                                              LandsatGeotiffReader.SYSPROP_READ_AS, readAs));

            }
        }else {
            spectralInput = "RADIANCE";
        }
        return spectralInput;
    }

    public  Landsat8Metadata(Reader fileReader);
    public  Landsat8Metadata(MetadataElement root);

}