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

postprocess error for ERSSTv5_regrid #1

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

postprocess error for ERSSTv5_regrid #1

premmom6 opened this issue Jun 30, 2023 · 0 comments

Comments

@premmom6
Copy link

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

postprocess(str(sst_ERSSTv5_regrid), new=True)
Traceback (most recent call last):
File "", line 1, in
File "/home/psg/NINO/ninolearn-0.1/ninolearn/preprocess/anomaly.py", line 219, in postprocess
small_print_header(f"Process {data.name} from {data.dataset}")
AttributeError: 'str' object has no attribute 'name'

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