Skip to content

Commit 952399f

Browse files
committed
Fixing wrong generated Envisat EOP XML.
1 parent a8931bb commit 952399f

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

metadata/envisat2eop.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,18 @@ def _polar(pol):
127127
EOP.acquisitionType("NOMINAL"),
128128
EOP.productType(header.mph['PRODUCT'][:10]),
129129
EOP.status("ARCHIVED"),
130-
EOP.acquisitionStation(header.mph['ACQUISITION_STATION'].strip()),
131-
EOP.processingDate(time_prod),
132-
EOP.processingStation(header.mph['PROC_CENTER'].strip()),
133-
EOP.processorVersion(header.mph['SOFTWARE_VER'].strip()),
130+
EOP.downlinkedTo(
131+
EOP.DownlinkInformation(
132+
EOP.acquisitionStation(header.mph['ACQUISITION_STATION'].strip()),
133+
),
134+
),
135+
EOP.processing(
136+
EOP.ProcessingInformation(
137+
EOP.processingDate(time_prod),
138+
EOP.processingCenter(header.mph['PROC_CENTER'].strip()),
139+
EOP.processorVersion(header.mph['SOFTWARE_VER'].strip()),
140+
),
141+
),
134142
)
135143

136144
xml_eop = SAR.EarthObservation(

0 commit comments

Comments
 (0)