-
Notifications
You must be signed in to change notification settings - Fork 20
WX Parser fails on certain formats #29
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
Comments
I just got back in the country. Let me take a look at this and see what's going on. That's a pretty complex object, but should be at least mostly decoded. |
It's complex and mostly there for sure. I'm attempting to get APRSdroid up to date with decoding abilities, and ran into this issue. Lots of work to do every which way! |
I added this to src/test/resources/cwop.txt and then ran src/test/java/net/ab0oo/aprs/parser/TestFile against that entire CWOP dump, and it spit this back: No errors, and the only thing the library is missing is the Luminosity > 1000 watts/meter^2, whcih looks like it should be 1063 in this case. This is off trunk, btw. I'll bang on it a bit and see if I can figure out why it's failing to parse that. 25 years ago, the PCRE and I were best friends. I think those memory cells were overwritten by several years of having to sit through middle school girls basketball games in the mid 2000s. Did you see anything else that was Not Right? |
Something I would like to see fixed as well might be the Q construct. Making it all uppercase gives the appearance of it as a digipath and not a Q construct. |
Ok, I just pushed a massive set of changes. Most of it was formatting and documentation (javadocs), but there are also some pretty important parsing fixes. I'm going to pull your working fork and see what I can do. |
One example.
KA7MYM>APRS,TCPIP*,qAC,AMBCWOP-2:@081706z4322.78N/12416.81W_187/000g002t...r000p028P028h...b10295L063AmbientCWOP.com"
The text was updated successfully, but these errors were encountered: