From debc8b6188f09408605782cfb461bee6655140f9 Mon Sep 17 00:00:00 2001 From: Frank Greguska <89428916+frankinspace@users.noreply.github.com> Date: Mon, 26 Aug 2024 15:57:04 -0700 Subject: [PATCH] Update adapter constructor with new args. --- cmr/uat_associations.txt | 3 ++- net2cog/netcdf_convert_harmony.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cmr/uat_associations.txt b/cmr/uat_associations.txt index b43cb58..3c7c502 100644 --- a/cmr/uat_associations.txt +++ b/cmr/uat_associations.txt @@ -1 +1,2 @@ -C1247485690-LARC_CLOUD \ No newline at end of file +C1247485690-LARC_CLOUD +C1240739641-POCLOUD \ No newline at end of file diff --git a/net2cog/netcdf_convert_harmony.py b/net2cog/netcdf_convert_harmony.py index c98aac1..a50b9d7 100644 --- a/net2cog/netcdf_convert_harmony.py +++ b/net2cog/netcdf_convert_harmony.py @@ -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)