auscophub.auscophubmeta

Class for reading the small XML files we generate to go with each SAFE format zipfile

class auscophub.auscophubmeta.AusCopHubMeta(xmlStr=None, filename=None)

Class for reading the small XML metadata files we use on the Aus Copernicus Hub server, to identify and chanracterise the SAFE format zipfiles delivered by ESA.

Same class is used for Sentinel-1 and Sentinel-2 (and probably 3 when we get to it). Not all attributes will be present, depending on the satellite.

satellite

String, e.g. S1A, S2A, etc.

ctrLong

Float, longitude of centroid of imagery

ctrLat

Float, latitude of centroid of imagery

cloudCoverPcnt

Int, percentage cloud cover

startTime

datetime object, for acquisition start time (in UTC)

stopTime

datetime object, for acquisition stop time (in UTC)

footprintWkt

WKT string of rough footprint, as supplied by ESA

esaSoftwareVersion

String, ESA’s processing software version number

esaProcessingTimeStr

String, time at which ESA processed (in UTC)

polarisationValuesList

List of strings, radar polarisation values (e.g. HV, VV, …)

swathValuesList

List of strings, radar swath-type values (e.g. IW1, IW2,..)

exception auscophub.auscophubmeta.AusCopHubMetaError