def main(): grid = EclGrid('/home/pgdr/statoil/norne/NORNE_ATW2013.EGRID') init = EclFile('/home/pgdr/statoil/norne/NORNE_ATW2013.INIT') rest = EclFile('/home/pgdr/statoil/norne/NORNE_ATW2013.UNRST') wp = Wpath('/home/pgdr/statoil/norne/norne-test-2-mid.w') swat, sgas = rest._iget_named_kw('SWAT', 0), rest._iget_named_kw('SGAS', 0) permx = init._iget_named_kw('PERMX', 0) wall = constructWall(grid, wp, swat, sgas, permx) drawWall(wall)