@Test public void testProductName() throws Exception { String name = metadata.getProductName(); assertEquals(name,"LC08_L1TP_024036_20181011_20181011_01_RT - Level 2"); }
@Override public String getProductName() { String name = getAttributeValue(LandsatLevel2Constants.PRODUCT_ID, "NO_NAME") + " - Level 2"; rootElement.setDescription(name); return name; }
LandsatLevel2Metadata extends XmlMetadata { @Override public String getProductName() { String name = getAttributeValue(LandsatLevel2Constants.PRODUCT_ID, "NO_NAME") + " - Level 2"; rootElement.setDescription(name); return name; } }
LandsatLevel2Metadata extends XmlMetadata { @Override public String getProductName() { String name = getAttributeValue(LandsatLevel2Constants.PRODUCT_ID, "NO_NAME") + " - Level 2"; rootElement.setDescription(name); return name; } LandsatLevel2Metadata(String name); }
LandsatLevel2Metadata extends XmlMetadata { @Override public String getProductName() { String name = getAttributeValue(LandsatLevel2Constants.PRODUCT_ID, "NO_NAME") + " - Level 2"; rootElement.setDescription(name); return name; } LandsatLevel2Metadata(String name); @Override String getFileName(); @Override String getProductName(); String getProductDescription(); @Override String getFormatName(); @Override String getMetadataProfile(); @Override int getRasterWidth(); @Override int getRasterHeight(); @Override String[] getRasterFileNames(); @Override ProductData.UTC getProductStartTime(); @Override ProductData.UTC getProductEndTime(); @Override ProductData.UTC getCenterTime(); @Override int getNumBands(); Point2D.Double getUpperLeft(); String getBandName(String filename); double getScalingFactor(String filename); double getScalingOffset(String filename); float getWavelength(String filename); float getBandwidth(String filename); String getBandDescription(String filename); boolean isReflectanceBand(String filename); boolean isSaturationBand(String filename); boolean isAerosolBand(String filename); boolean isQualityBand(String filename); boolean isAtmosBand(String filename); boolean isCloudBand(String filename); String getSatellite(); String getInstrument(); FlagCoding createSaturationFlagCoding(String bandName); }
LandsatLevel2Metadata extends XmlMetadata { @Override public String getProductName() { String name = getAttributeValue(LandsatLevel2Constants.PRODUCT_ID, "NO_NAME") + " - Level 2"; rootElement.setDescription(name); return name; } LandsatLevel2Metadata(String name); @Override String getFileName(); @Override String getProductName(); String getProductDescription(); @Override String getFormatName(); @Override String getMetadataProfile(); @Override int getRasterWidth(); @Override int getRasterHeight(); @Override String[] getRasterFileNames(); @Override ProductData.UTC getProductStartTime(); @Override ProductData.UTC getProductEndTime(); @Override ProductData.UTC getCenterTime(); @Override int getNumBands(); Point2D.Double getUpperLeft(); String getBandName(String filename); double getScalingFactor(String filename); double getScalingOffset(String filename); float getWavelength(String filename); float getBandwidth(String filename); String getBandDescription(String filename); boolean isReflectanceBand(String filename); boolean isSaturationBand(String filename); boolean isAerosolBand(String filename); boolean isQualityBand(String filename); boolean isAtmosBand(String filename); boolean isCloudBand(String filename); String getSatellite(); String getInstrument(); FlagCoding createSaturationFlagCoding(String bandName);  }