OPM/opm-parser — pull request #390 by andlaus (2014-12-19 22:05:16+00:00)
Title: Fix undefaultable items

this patch fixes #389 on my machine (i.e., sim_fibo_ad can parse SPE1, SPE4, SPE9 and the reduced and full Norne decks and the EclipseState object can be created). note that another way to fix this would be to keep the "assign pseudo-defaults for undefaultable items but throw when trying to access the data" approach and add a thick jungle of ifs (one if per access to any item data). since this would take much longer to set up, obfuscate the code and provide no benefit which I can see, for now I just rolled back to the "do not allow undefaultable items, add some meaningless values for items where the RM says the defaults are undefined or context dependent and throw on parse" approach.