Hi Harsha,
Thanks for getting in touch, and sorry for the trouble.
I've had a look at this and, while I was unable to reproduce your error while following the exercise, I did get a different error. To get everything working, make sure you're doing the following:
- use Python version 3.12
- use MUSE v1.2.1 (as instructed in exercise 1)
- DOWNGRADE XARRAY. This is crucial as there appears to be a bug in later versions of xarray that breaks things in MUSE. You want version 2024.11 (pip install xarray==2024.11). Unfortunately I only became aware of this after the course was published, so I couldn't add a note about this, but this will be fixed in the next version.
If you're still having problems, you can see the example files
here which were used to generate the figures in the exercise. Hopefully your input files should look like this after following the instructions in the exercise.
Don't change the solver to "adhoc". This is a completely different model so it shouldn't be used as a quick fix without good reason.
Let me know how you get on.
Best,
Tom