Good morning Web Service users
I meet some troubles with the following output :
<webservices<at>lists.ds.iris.edu>
wget
"http://service.iris.edu/fdsnws/station/1/query?level=response&channel=LKI&network=G&station=ATD"
-O ATD.LKI.xml
export SCHEMA="http://www.fdsn.org/xml/station/fdsn-station-1.0.xsd"
xmllint --noout --schema $SCHEMA ATD.LKI.xml
ATD.LKI.xml:269: element Stage: Schemas validity error : Element
'{http://www.fdsn.org/xml/station/1}Stage': Missing child element(s).
Expected is one of ( {http://www.fdsn.org/xml/station/1}Decimation,
{http://www.fdsn.org/xml/station/1}StageGain ).
ATD.LKI.xml fails to validate
The problem occurs with station/channel with polynomial response
<Response>
<InstrumentPolynomial>
...
I am not able to convert the xml file to SEED with
stationxml-converter-1.0.9.jar
[pequegnc@ist-156-7 IPGP]$ java -jar ~/bin/stationxml-converter -so
RESIF -se RESIF -s --output ATD.LKI.seed ATD.LKI.xml
=== > never ends
But stationxml-converter-1.0.8-rc21.jar does not complain
stationxml-converter-1.0.8-rc21.jar stationxml-converter-1.0.9.jar
stationxml-converter.jar
[pequegnc@ist-156-7 IPGP]$ java -jar
~/bin/stationxml-converter-1.0.8-rc21.jar -so RESIF -se RESIF -s
--output ATD.LKI.seed ATD.LKI.xml
Any idea ?
Thanks a lot
Catherine Péquegnat
RESIF-datacentre
Grenoble
France
--
Catherine Péquegnat
I meet some troubles with the following output :
<webservices<at>lists.ds.iris.edu>
wget
"http://service.iris.edu/fdsnws/station/1/query?level=response&channel=LKI&network=G&station=ATD"
-O ATD.LKI.xml
export SCHEMA="http://www.fdsn.org/xml/station/fdsn-station-1.0.xsd"
xmllint --noout --schema $SCHEMA ATD.LKI.xml
ATD.LKI.xml:269: element Stage: Schemas validity error : Element
'{http://www.fdsn.org/xml/station/1}Stage': Missing child element(s).
Expected is one of ( {http://www.fdsn.org/xml/station/1}Decimation,
{http://www.fdsn.org/xml/station/1}StageGain ).
ATD.LKI.xml fails to validate
The problem occurs with station/channel with polynomial response
<Response>
<InstrumentPolynomial>
...
I am not able to convert the xml file to SEED with
stationxml-converter-1.0.9.jar
[pequegnc@ist-156-7 IPGP]$ java -jar ~/bin/stationxml-converter -so
RESIF -se RESIF -s --output ATD.LKI.seed ATD.LKI.xml
=== > never ends
But stationxml-converter-1.0.8-rc21.jar does not complain
stationxml-converter-1.0.8-rc21.jar stationxml-converter-1.0.9.jar
stationxml-converter.jar
[pequegnc@ist-156-7 IPGP]$ java -jar
~/bin/stationxml-converter-1.0.8-rc21.jar -so RESIF -se RESIF -s
--output ATD.LKI.seed ATD.LKI.xml
Any idea ?
Thanks a lot
Catherine Péquegnat
RESIF-datacentre
Grenoble
France
--
Catherine Péquegnat
-
Hello Catherine,
Thank you for bringing this issue to our attention. We believe this issue is related to the XML schema, where the InstrumentPolynomial should not include either Decimation or StageGain. This issue is expected to be addressed with StationXML ver. 1.1.
In the mean time, we are working to address problem with the stationxml-converter. As soon as final testing is complete - likely this week - we will release an updated version of the converter.
Thank you,
Robert
_______________________________
Robert Weekly
Quality and Deployment System Engineer
[e] rtweekly<at>iris.washington.edu
On Jun 7, 2016, at 1:05 PM, Catherine Pequegnat <Catherine.Pequegnat<at>univ-grenoble-alpes.fr> wrote:
Good morning Web Service users
I meet some troubles with the following output :
<webservices<at>lists.ds.iris.edu>
wget "http://service.iris.edu/fdsnws/station/1/query?level=response&channel=LKI&network=G&station=ATD" http://service.iris.edu/fdsnws/station/1/query?level=response&channel=LKI&network=G&station=ATD -O ATD.LKI.xml
export SCHEMA="http://www.fdsn.org/xml/station/fdsn-station-1.0.xsd" http://www.fdsn.org/xml/station/fdsn-station-1.0.xsd
xmllint --noout --schema $SCHEMA ATD.LKI.xml
ATD.LKI.xml:269: element Stage: Schemas validity error : Element '{http://www.fdsn.org/xml/station/1}Stage': Missing child element(s). Expected is one of ( {http://www.fdsn.org/xml/station/1}Decimation, {http://www.fdsn.org/xml/station/1}StageGain ).
ATD.LKI.xml fails to validate
The problem occurs with station/channel with polynomial response
<Response>
<InstrumentPolynomial>
...
I am not able to convert the xml file to SEED with stationxml-converter-1.0.9.jar
[pequegnc@ist-156-7 IPGP]$ java -jar ~/bin/stationxml-converter -so RESIF -se RESIF -s --output ATD.LKI.seed ATD.LKI.xml
=== > never ends
But stationxml-converter-1.0.8-rc21.jar does not complain
stationxml-converter-1.0.8-rc21.jar stationxml-converter-1.0.9.jar stationxml-converter.jar
[pequegnc@ist-156-7 IPGP]$ java -jar ~/bin/stationxml-converter-1.0.8-rc21.jar -so RESIF -se RESIF -s --output ATD.LKI.seed ATD.LKI.xml
Any idea ?
Thanks a lot
Catherine Péquegnat
RESIF-datacentre
Grenoble
France
--
Catherine Péquegnat
----------------------
Web Services (http://ds.iris.edu/message-center/topic/webservices/)
Sent via IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/