Skip to content

Commit

Permalink
Update adapter constructor with new args.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankinspace committed Aug 26, 2024
1 parent 8965ac5 commit debc8b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cmr/uat_associations.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
C1247485690-LARC_CLOUD
C1247485690-LARC_CLOUD
C1240739641-POCLOUD
4 changes: 2 additions & 2 deletions net2cog/netcdf_convert_harmony.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class NetcdfConverterService(harmony.BaseHarmonyAdapter):
for documentation and examples.
"""

def __init__(self, message):
super().__init__(message)
def __init__(self, message, catalog=None, config=None):
super().__init__(message, catalog, config)

self.data_dir = os.getenv(DATA_DIRECTORY_ENV, '/home/dockeruser/data')
pathlib.Path(self.data_dir).mkdir(parents=True, exist_ok=True)
Expand Down

0 comments on commit debc8b6

Please sign in to comment.