We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ae370 commit f4c7c10Copy full SHA for f4c7c10
src/mdio/converters/segy.py
@@ -230,7 +230,7 @@ def populate_non_dim_coordinates(
230
return dataset, drop_vars_delayed
231
232
233
-def _get_horizontal_coordinate_unit(segy_headers: list[Dimension]) -> LengthUnitEnum | None:
+def _get_horizontal_coordinate_unit(segy_headers: list[Dimension]) -> AllUnits | None:
234
"""Get the coordinate unit from the SEG-Y headers."""
235
name = TraceHeaderFieldsRev0.COORDINATE_UNIT.name.upper()
236
unit_hdr = next((c for c in segy_headers if c.name.upper() == name), None)
0 commit comments