Skip to content

Commit

Permalink
Fix punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
nawendt committed Mar 13, 2024
1 parent a4d76c4 commit d43d77c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gempakio/decode/gempak.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def __init__(self, file):
# Navigation Block
navb_size = self._buffer.read_int(4, self.endian, False)
if navb_size != NAVB_SIZE:
raise ValueError('Navigation block size does not match GEMPAK specification')
raise ValueError('Navigation block size does not match GEMPAK specification.')
else:
self.navigation_block = (
self._buffer.read_struct(NamedStruct(self.grid_nav_fmt,
Expand All @@ -238,7 +238,7 @@ def __init__(self, file):
anlb_size = self._buffer.read_int(4, self.endian, False)
anlb_start = self._buffer.set_mark()
if anlb_size != ANLB_SIZE:
raise ValueError('Analysis block size does not match GEMPAK specification')
raise ValueError('Analysis block size does not match GEMPAK specification.')
else:
anlb_type = self._buffer.read_struct(struct.Struct(self.prefmt + 'f'))[0]
self._buffer.jump_to(anlb_start)
Expand Down

0 comments on commit d43d77c

Please sign in to comment.