You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I encountered some problems when reading .spc files of large-area scans with the function read.spc(). Reading .spc files of single spectrum .spc files works fine, but multiple spectra large area scans don't seem to work.
I get the following error:
> read.spc('LAS pseudotsuga 40x.spc')
Error in if (hdr$fzinc == 0) hdr$fzinc = subhdr$subnext - subhdr$subtime :
missing value where TRUE/FALSE needed
Strange thing is that it only happens with files I export from the program WITec Project Four. Even stranger is that other .spc files of large-area scans exported by the same program by my tutor are working just fine.
Any idea how to fix this error?
I'll add the .spc to this post as well. LAS pseudotsuga 40x.zip
Thanks in advance!
Kind regards
Pablo
The text was updated successfully, but these errors were encountered:
@r-hyperspec/r-hyperspec, as I understand, now repo of
hySpc.read.spc
is a better place for issue cbeleites/hyperSpec#286The original message by @pablovgd:
Hi all
Recently I encountered some problems when reading .spc files of large-area scans with the
function read.spc()
. Reading.spc
files of single spectrum.spc
files works fine, but multiple spectra large area scans don't seem to work.I get the following error:
Strange thing is that it only happens with files I export from the program WITec Project Four. Even stranger is that other .spc files of large-area scans exported by the same program by my tutor are working just fine.
Any idea how to fix this error?
I'll add the .spc to this post as well.
LAS pseudotsuga 40x.zip
Thanks in advance!
Kind regards
Pablo
The text was updated successfully, but these errors were encountered: