Started: 2014-09-18 23:30:06
Last activity: 2014-09-18 23:30:06
Topics: Web Services
Hello web service users,
The DMC has updated the IRIS-WS library to version 2.0.9:
This release includes an important user level change: the value returned by edu.iris.dmc.fdsn.station.model.Channel.getLocationCode(), used primarily for the StationService.fetch() functionality, will now be trimmed of all trailing spaces. The primary implication of this is that the Java interface will return an empty string for the location code if the raw station metadata contains only spaces. This now matches the behavior of the TraceData.fetchTraces() path where trailing spaces in the location were already trimmed. To be clear: if you are using the TraceData.fetchTraces() functionality, nothing has changed. However, if you are using the StationService.fetch() functionality, the location code value will no longer contain only spaces.
Note for users of the irisFetch.m MATLAB(r) interface: if you are using the irisFetch.Traces() functionality, nothing will change. If you are using the irisFetch.Channels() functionality, be aware that the LocationCode value will no longer contain only spaces.
Beyond trimming the spaces from location values, this update is backwards compatible with the previous version.
The following bug fixes are also included:
1) Use the actual sample rate, when present, instead of the nominal rate to avoid generating time tears when re-creating a time series from miniSEED data records.
2) Method List<Timeseries> load(InputStream inputStream) resulted in a NULL Pointer Exception. This is used mainly for loading StationXML files.
3) Fixed Network description parsing. Previously, description attribute was not populated correctly.
4) Added reference to root document information from the Network.class Network.getRootDocument(). This is to have a reference from the Network object to the parent Station message.
The following new functionality has been included:
A utility to output metadata in SEED RESP format. In effect this allows reading of StationXML and outputting SEED RESP. Please refer to the Manual page for more information: http://www.iris.edu/ds/nodes/dmc/manuals/iris-ws/#respTutorial
The Web Services Team