Skip to content

Commit 78d727e

Browse files
committed
load postprocess output, though not useful
1 parent 5d86c88 commit 78d727e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

stompy/model/ras/result_reader.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,12 @@ def load_h5(self):
136136
self.version="RAS6"
137137
except KeyError:
138138
self.version="RAS2025"
139-
139+
140+
def load_postproc(run):
141+
# Doesn't actually have the computed flows. Maybe not useful.
142+
post_proc_fn = os.path.dirname(self.results_fn) + f"/{self.short_title()}/PostProcessing.hdf"
143+
return h5py.File(post_proc_fn, 'r')
144+
140145
def close(self):
141146
self.h5.close()
142147
self.h5 = None

0 commit comments

Comments
 (0)