Skip to content

Commit

Permalink
Rename FileOutputBase -> GribOutputBase
Browse files Browse the repository at this point in the history
  • Loading branch information
gmertes committed Jun 20, 2024
1 parent fb1fd11 commit 5777942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ai_models/outputs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def finalise(self, *args, **kwargs):
pass


class FileOutputBase(Output):
class GribOutputBase(Output):
def __init__(self, owner, path, metadata, **kwargs):
self._first = True
metadata.setdefault("stream", "oper")
Expand Down Expand Up @@ -93,7 +93,7 @@ def write(self, data, *args, check=False, **kwargs):
return handle, path


class FileOutput(FileOutputBase):
class FileOutput(GribOutputBase):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
LOG.info("Writing results to %s", self.path)
Expand Down

0 comments on commit 5777942

Please sign in to comment.