extend Metar constructor strict to cover all ParserErrors#55
Conversation
|
This is intended as a bandaid until we fully remove the |
Codecov Report
@@ Coverage Diff @@
## master #55 +/- ##
==========================================
+ Coverage 70.53% 70.59% +0.05%
==========================================
Files 4 4
Lines 1008 1010 +2
==========================================
+ Hits 711 713 +2
Misses 297 297
Continue to review full report at Codecov.
|
Pull Request Test Coverage Report for Build 44
💛 - Coveralls |
|
I'm an idiot, I'll await a bit to wake up some more and see about adding a test |
|
I have a test in and realize now that known Exceptions can come from other places than just Metar, this all will take some consideration for the API. |
|
Thanks @phobson , I'd like to see if @WeatherGod chimes in on this prior to merging. Will wait a bit while I work on a PR for a formal release. Or are we still not close enough for what you need for cloudside to use? |
strict to cover all ParserErrorsstrict to cover all ParserErrors
|
With current master, here's what the most recent changes have allowed me to do in cloudside :) Geosyntec/cloudside#35 (note all the deletions!) |
|
To clear: strictly speaking, this change is not necessary for cloudside to function as intended, but may help preventing ASOS's weirder codes from being completely ignored. Punting on this in favor of more robust error handling would be fine by me. |
|
Thanks @phobson , this change does not impact previous code behavior, so will take this PR now so to proceed with a release. |
closes #51