Hi, Am Montag, 4. März 2013, 14:53:32 schrieb Atgeirr Rasmussen: > >> The EclipseGridParser class grew up from a simple keyword + data > >> abstraction. I would say that for not-too-complex needs, it remains a > >> valid > >> choice. Reading .grdecl files is one such case. > > > > Of what Bard wrote so far, this basic design should also be applicable to > > all eclipse datasets if the syntactic part of the parser deals with the > > INPUT directive and the basic representation is a list of (keyword, > > string*) tuples. > > > > In my limited dives into the EclipseGridParser code, I got the impression > > that its main problem is that it is trying to lump together the syntactic > > and semantic parts of parsing. > > This is true to some degree. > > Still, we are only discussing an implementation detail. I would rather > discuss what a useful interface would look like… And unless Joakim is in a > hurry, I would like to resume that discussion after the OPM release…
Agreed. I'll also be able to help a bit with the implementation, then. cheers Andreas -- Andreas Lauser Department of Hydromechanics and Modelling of Hydrosystems University of Stuttgart Pfaffenwaldring 61 D-70569 Stuttgart Phone: (+49) 711 685-64719 Fax: (+49) 711 685-60430 www.hydrosys.uni-stuttgart.de _______________________________________________ Opm mailing list [email protected] http://www.opm-project.org/mailman/listinfo/opm
