Skip to content

Trouble Parsing Station Metadata File in SourceSpec #52

Closed Answered by claudiodsf
sadia145 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sadia145,
I got your metadata file via email, but I cannot find it here, so let me put it again for reference:

station_metadata.txt

Your file is a mix of PAZ (first 42 lines) and StationXML (next lines), which is not standard.
However, this is not the problem here.

The problem is that SourceSpec tries to read the metadata file as a PAZ file, and PAZ file reading has a bug in SourceSpec v1.8.
This is the output on macOS:

Reading station metadata...
Reading station metadata from file: station_metadata.txt
Unable to parse file "station_metadata.txt" as Inventory
Unable to parse file "station_metadata.txt" as PAZ file. Error at line None: I/O operation on closed file.
Reading station meta…

Replies: 5 comments 14 replies

Comment options

You must be logged in to vote
1 reply
@sadia145
Comment options

Comment options

You must be logged in to vote
5 replies
@claudiodsf
Comment options

@krisvanneste
Comment options

@sadia145
Comment options

@claudiodsf
Comment options

@krisvanneste
Comment options

Comment options

You must be logged in to vote
5 replies
@claudiodsf
Comment options

@sadia145
Comment options

@claudiodsf
Comment options

Answer selected by claudiodsf
@sadia145
Comment options

@claudiodsf
Comment options

Comment options

You must be logged in to vote
1 reply
@claudiodsf
Comment options

Comment options

You must be logged in to vote
2 replies
@sadia145
Comment options

@claudiodsf
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants