Skip to content

Commit 3ade019

Browse files
committed
Support magic==11 header
1 parent f832e0d commit 3ade019

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stagpy/stagyyparsers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ def _legacy_header(
441441
header["erupta_total"] = readbin("f") # magic >= 5
442442
header["bot_temp"] = readbin("f") # magic >= 6
443443
header["core_temp"] = readbin("f") if magic >= 10 else 1
444+
header["ocean_mass"] = readbin("f") if magic >= 11 else 0.0
444445

445446
# magic >= 4
446447
header["e1_coord"] = readbin("f", header["nts"][0])

0 commit comments

Comments
 (0)