Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

error writing miniSEED #23

Closed
tparker-usgs opened this issue Feb 16, 2016 · 4 comments
Closed

error writing miniSEED #23

tparker-usgs opened this issue Feb 16, 2016 · 4 comments
Labels

Comments

@tparker-usgs
Copy link
Member

Stefan reports:
I'm having some trouble getting MiniSEED data out of SWARM. I was using a slightly older version of Swarm but I updated to 2.5.5 and I still see the problem (though now I see maps, yay!)

I select some data, put it in the clipboard, and then I can write SAC data, no problem.

If I change the file type to "SEED/miniSEED file (.mseed)" the file extension remains .sac. If I leave it as .sac it outputs a SAC file. If I change it to .mseed I get a Java error, and a zero kb .mseed file.

Exception in thread "AWT-EventQueue-1" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at edu.sc.seis.seisFile.mseed.Utility.pad(Utility.java:218)
at edu.sc.seis.seisFile.mseed.DataHeader.setStationIdentifier(DataHeader
.java:273)
at gov.usgs.plot.data.file.SeedDataFile.write(SeedDataFile.java:179)
at gov.usgs.volcanoes.swarm.wave.WaveClipboardFrame$SaveActionListener.a
ctionPerformed(WaveClipboardFrame.java:651)

@tparker-usgs
Copy link
Member Author

Fixed in 2.5.6

@tparker-usgs
Copy link
Member Author

Stefan reports continuing trouble.

@tparker-usgs tparker-usgs reopened this Mar 10, 2016
@seismopaul
Copy link

Note that I tested this with Swarm 2.5.9 on Mac OS X and got a readable miniseed file. Perhaps it is an OS specific issue?

@tparker-usgs
Copy link
Member Author

Unable to reproduce. Closed pending further trouble.

dlnorgaard pushed a commit that referenced this issue Nov 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants