Project

General

Profile

Bug #1053

JPlotResp has problems with empty end dates in StationXML

Added by Autumn Johnson almost 3 years ago.

Status:
New
Priority:
Normal
Start date:
01/17/2020
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

JPlotResp has problems with empty end dates in StationXML. We should allow this, treating it as currently active. This might mean inserting a far-off date internally like 2599,365.

Begin forwarded message:

From: Renate Hartog <>
Subject: Bug report JPlotResp, or feature request..
Date: January 22, 2019 at 10:35:34 AM PST
To: Robert Casey <>

Hi Rob,

I was just using JPlotResp to visualize a FDSN StationXML file generated by Caltech (ANSS's) SIS system, and it threw an exception when a channel's endDate wasn't specified.

The FDSN StationXML specification does not make startDate and endDate of a channel required, and it is common practice to omit the endDate when it is currently active.

Would it be possible to modify the code to handle a missing endDate and treat it as meaning "currently active"? Technically, the startDate doesn't appear to be required either, but I don't really see a use case for needing to fix this.

Thanks, Renate
--
Renate Hartog
Research Scientist
Pacific Northwest Seismic Network
Department of Earth and Space Sciences
University of Washington
Box 351310
Seattle, WA 98195

Tel. +1-206-685-7079 (office)

Also available in: Atom PDF