-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I'm seeing a warning during fdsreader.Simulation(...) initialization when parsing an FDS case that otherwise loads well enough for slice-based post-processing.
Observed stack trace:
File ".../fdsreader/simulation.py", line 158, in __init__
self.parse_smv_file()
File ".../fdsreader/simulation.py", line 240, in parse_smv_file
self._meshes.append(self._load_mesh(smv_file, keyword))
File ".../fdsreader/simulation.py", line 330, in _load_mesh
self._load_vents(smv_file, mesh)
File ".../fdsreader/utils/misc.py", line 18, in wrapped
logging.warning(e)
Environment:
- fdsreader: 1.11.7
- Python: 3.11
- platform: macOS
Notes:
- This happens during
Simulation(...)construction. - It appears to come from vent parsing specifically.
- In my use case I only need slice quantities, so the warning is non-fatal, but it is emitted every time the case is parsed.
- The problematic token seems to be
!, which suggests the parser may be encountering a vent line/token it does not expect.
Expected behavior:
- Either vents should parse successfully, or
- the parser should skip malformed/unsupported vent entries more quietly / more robustly, especially when the rest of the case is usable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels