Some fast out files have a different number of header lines
1 unresolved thread
1 unresolved thread
Compare changes
+ 32
− 11
@@ -49,17 +49,38 @@ def load_ascii_output(filename):
Some of the fast out file (in particular the one outputted by HydroDyn) have a different nunber of headerlines and may have a line of comment at the end. This fix should help reading any kind of out ascii files from Fast and its different modules.
68-74 can be reduced to: data = np.array([l.strip() for l in f.readlines() if l.strip()]).astype(np.float)