diff --git a/pyposeidon/schism.py b/pyposeidon/schism.py index 427da1a3..5dbbc799 100644 --- a/pyposeidon/schism.py +++ b/pyposeidon/schism.py @@ -1517,11 +1517,11 @@ def results(self, **kwargs): date.columns = ["year", "month", "day", "hour", "utc"] # rename the columns # set the start timestamp sdate = pd.Timestamp( - year=date.year.values[0], - month=date.month.values[0], - day=date.day.values[0], - hour=date.hour.values[0], - tz=date.utc.values[0], + year=int(date.year.values[0]), + month=int(date.month.values[0]), + day=int(date.day.values[0]), + hour=int(date.hour.values[0]), + tz=int(date.utc.values[0]), ) logger.info("done with generic variables \n") diff --git a/pyproject.toml b/pyproject.toml index bb95122a..0055a491 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ joblib = "*" llvmlite = "*" netCDF4 = "*" numpy = ">=1.20, <2.0" -pandas = "<2" +pandas = "*" psutil = "*" pydap = ">=3.4.0" pyresample = "*"