79627789

Date: 2025-05-18 20:12:03
Score: 7 🚩
Natty:
Report link

I am having a problem with the solution offered above, "One usual pattern is to accumulate Dataset/DataArray objects in a list, and concatenate once at the end"

I get the following error:

TypeError: can only concatenate xarray Dataset and DataArray objects, got <class 'list'>

... as if concat would not allow a list input.

Can anyone help me on this?

I use Python 3.10.12

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can anyone help me
  • RegEx Blacklisted phrase (1): I get the following error
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Stefan Schmelzer