Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyp file: empty value printed as a space #1

Open
megies opened this issue Nov 13, 2019 · 2 comments
Open

hyp file: empty value printed as a space #1

megies opened this issue Nov 13, 2019 · 2 comments

Comments

@megies
Copy link
Contributor

megies commented Nov 13, 2019

@ThomasLecocq encountered a hyp file (written by NLLoc:v7.00.00(27Oct2017)) that has a value (for gtLevel) printed as space where usually it was printed as "-", I think. This caused our obspy reader to hickup. Did something change in there?

QML_OriginQuality  assocPhCt 0  usedPhCt 5  assocStaCt 0  usedStaCt 0  depthPhCt 0  stdErr 0.453265  azGap 333.605  secAzGap 0  gtLevel   minDist 0 maxDist 0 medDist 0

CC @ThomasLecocq

@alomax
Copy link
Collaborator

alomax commented Nov 13, 2019

gtLevel is not calculated or used in NLL, but is always initialized to "-":
NLLocLib.c: strcpy(Hypocenter.groundTruthLevel, "-");
in the latest version here. I checked 7.00.00, and the line is the same as above.

There is no change to this that I recall or find documented, and current NLL output I run has "-".

Could these hyp files come indirectly from NLL or be generated by another program?

@ThomasLecocq
Copy link

Hi Anthony,

thanks for checking. No they are straight out of NLL. I'll post a zip with a minimal example tomorrow. Thanks,
Tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants