Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while post processing ERSSTv5 #2

Open
premmom6 opened this issue Jun 30, 2023 · 0 comments
Open

Error while post processing ERSSTv5 #2

premmom6 opened this issue Jun 30, 2023 · 0 comments

Comments

@premmom6
Copy link

from ninolearn.IO import read_raw
from ninolearn.preprocess.anomaly import postprocess
from ninolearn.preprocess.regrid import to2_5x2_5
sst_ERSSTv5 = read_raw.sst_ERSSTv5()
sst_ERSSTv5_regrid = to2_5x2_5(sst_ERSSTv5)
/home/psg/.conda/envs/ninolearn_xesmf/lib/python3.7/site-packages/xarray/core/dataarray.py:789: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
return key in self.data
postprocess(sst_ERSSTv5_regrid, new=True)
Process None from ERSSTv5


Traceback (most recent call last):
File "", line 1, in
File "/home/psg/NINO/ninolearn-0.1/ninolearn/preprocess/anomaly.py", line 220, in postprocess
toProcessedDir(data, new)
File "/home/psg/NINO/ninolearn-0.1/ninolearn/preprocess/anomaly.py", line 148, in toProcessedDir
filename = generateFileName(data.name, dataset=data.dataset, suffix='nc')
File "/home/psg/NINO/ninolearn-0.1/ninolearn/utils.py", line 47, in generateFileName
filename = ','.join(filenamelist)
TypeError: sequence item 0: expected str instance, NoneType found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant