From b1ab246e3ec99ffe34b41d835584e015271afa1d Mon Sep 17 00:00:00 2001 From: Phil Owen <19691521+PhillipsOwen@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:01:08 -0400 Subject: [PATCH] removing the hard coding of forcing the ensemble name = 'ofcl' --- src/common/pg_impl.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/common/pg_impl.py b/src/common/pg_impl.py index 40f1972..16caff4 100644 --- a/src/common/pg_impl.py +++ b/src/common/pg_impl.py @@ -138,12 +138,10 @@ def get_terria_map_catalog_data(self, **kwargs): # init the return ret_val: dict = {} - # TODO: force ofcl ensembles for now - kwargs['ensemble_name'] = 'ofcl' - # get the new workbench data workbench_data: dict = self.get_workbench_data(**kwargs) + # init the workbench sql statement storage wb_sql: str = "" # should we continue? @@ -221,7 +219,7 @@ def get_workbench_data(self, **kwargs): kwargs.update({param: 'null'}) # add in the max age int - kwargs.update({'max_age': 3}) + kwargs.update({'max_age': 1}) # try to make the call for records ret_val = self.get_terria_map_workbench_data(**kwargs)