File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -113,9 +113,9 @@ def _polar(pol):
113113 )),
114114 EOP .acquisitionParameters (SAR .Acquisition (
115115 EOP .orbitNumber ("%d" % header .mph ['ABS_ORBIT' ]),
116- EOP .orbitDirection (header .sph ['PASS' ]),
116+ EOP .orbitDirection (header .sph ['PASS' ]. strip () ),
117117 EOP .wrsLongitudeGrid ("%d" % header .mph ['REL_ORBIT' ],
118- ** {ns_eop . codeSpace : _wrs_code_space }),
118+ ** {' codeSpace' : _wrs_code_space }),
119119 SAR .polarisationMode (_polmode ),
120120 SAR .polarisationChannels (_polchannels ),
121121 )),
@@ -134,6 +134,7 @@ def _polar(pol):
134134 )
135135
136136 xml_eop = SAR .EarthObservation (
137+ ns_gml .getId (),
137138 ns_eop .getSchemaLocation ("SAR" ),
138139 OM .phenomenonTime (ns_gml .getTimePeriod (time_acq_start , time_acq_stop )),
139140 #OM.resultQuality(), #optional
Original file line number Diff line number Diff line change 4747#------------------------------------------------------------------------------
4848# namespace
4949
50- SL = "http://schemas.opengis.net/wcseo/1.0/wcsEOAll.xsd"
51- NS = "http://www.opengis.net/wcseo/1.0"
50+ SL = "http://schemas.opengis.net/wcs/ wcseo/1.0/wcsEOAll.xsd"
51+ NS = "http://www.opengis.net/wcs/ wcseo/1.0"
5252
5353NS_MAP = {
5454 "wcseo" : NS ,
You can’t perform that action at this time.
0 commit comments