Skip to content

Commit

Permalink
add FILE and LOCATION to IOS shell known sections
Browse files Browse the repository at this point in the history
  • Loading branch information
JessyBarrette committed Nov 21, 2023
1 parent 0186fda commit 65c21b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ocean_data_parser/parsers/dfo/ios_source/IosObsFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ def get_dtype_from_ios_name(ios_name):
return float


ODF_SHELL_HEADER_SECTIONS = (
IOS_SHELL_HEADER_SECTIONS = (
"FILE",
"LOCATION",
"COMMENTS",
"REMARK",
"ADMINISTRATION",
Expand Down Expand Up @@ -179,7 +181,7 @@ def import_data(self):
unparsed_sections = [
section
for section in sections_available
if section not in ODF_SHELL_HEADER_SECTIONS
if section not in IOS_SHELL_HEADER_SECTIONS
]
if unparsed_sections:
logger.warning(
Expand Down

0 comments on commit 65c21b6

Please sign in to comment.