From 4a7759f3562b401e8caeded813b26614595ad683 Mon Sep 17 00:00:00 2001 From: cuill Date: Mon, 11 Sep 2023 12:30:55 -0400 Subject: [PATCH] added package appdirs to setup and ncor to param --- pyschism/driver.py | 1 + setup.py | 1 + 2 files changed, 2 insertions(+) diff --git a/pyschism/driver.py b/pyschism/driver.py index 9a6b6295..77fc3430 100644 --- a/pyschism/driver.py +++ b/pyschism/driver.py @@ -288,6 +288,7 @@ def __init__( # set opt self.param.opt.start_date = start_date self.param.opt.ics = 2 if self.config.hgrid.crs.is_geographic is True else 1 + self.param.opt.ncor = 1 if self.param.opt.ics == 2 else 0 self.param.opt.dramp = dramp self.param.opt.drampbc = drampbc self.param.opt.dramp_ss = dramp_ss diff --git a/setup.py b/setup.py index bf6942c5..1e301d49 100755 --- a/setup.py +++ b/setup.py @@ -129,6 +129,7 @@ def run(self): 'xarray', 'xmltodict', 'zarr', + 'appdirs', ], entry_points={'console_scripts': ['pyschism = pyschism.__main__:main']}, tests_require=['nose'],