auscophub.sen3meta

Classes for handling Sentinel-3 metadata

exception auscophub.sen3meta.Sen3MetaError
class auscophub.sen3meta.Sen3ZipfileMeta(xmlStr=None, xmlfilename=None, zipfilename=None)

The metadata associated with the SAFE format file. The metadata is contained within a single XML file, inside the SAFE directory. The constructor for this class takes an XML string which has been read from that file, or the name of the XML file, or the name of the zipped SAFE file. In the latter case, the XML file will be read directly from the zipfile.

static findMetadataNodeByIdName(metadataNodeList, idName)

Search the given list of metadataNode objects, and find the first one with the given ID=idName. If no such object found, return None.