Modify

Ticket #335 (closed defect: fixed)

Opened 4 weeks ago

Last modified 3 weeks ago

dos style newlines in gse2

Reported by: megies Owned by: beyreuth
Priority: minor Component: ObsPy library
Keywords: Cc:

Description

Trying to read GSE2 files that have dos style newlines (CR+LF, '\r\n') results in chksum errors and wrong results. I am not sure but according to provisional_GSE2.1.pdf (pg.12) the newline is not restricted to a single LF, so this case might be allowed and should probably be covered.. (although LF+CR is not Dos style..)?

ASCII message lines may be up to 1024 characters long excluding the special
characters Line Feed (LF) and Carriage Return (CR).
An ASCII message line may be terminated by an LF or by an LF followed by a CR.

Attachments

Change History

comment:1 Changed 3 weeks ago by beyreuth

  • Owner set to beyreuth
  • Status changed from new to closed
  • Resolution set to fixed

In [3402/obspy]:

closes #335, allowing dos newlines for gse data

  • allowing to read dos style newlines
  • needs recompilation of src
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.