Skip to content

ICCS Handover review  #98

Description

@Mandresy-code

Error when launching task 3 :

Traceback (most recent call last): File "/home/surface10/mrasolon/SPIN_review/main.py", line 215, in <module> forcing.write(varlist, resultpath, IDx) File "/home/surface10/mrasolon/SPIN_review/Tools/forcing.py", line 158, in write ncout = Dataset(resultpath + "forcing_regular_" + str(year) + ".nc", "w") TypeError: unsupported operand type(s) for +: 'PosixPath' and 'str'.

Tools/forcing.py needs modification :
Replace : ncout = Dataset(resultpath + "forcing_compressed_" + str(year) + ".nc", "w")
with ncout = Dataset(str(resultpath / f"forcing_compressed_{year}.nc"), "w")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions