nansencenter / DAPPER

Data Assimilation with Python: a Package for Experimental Research

Home Page:https://nansencenter.github.io/DAPPER

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support list, dict, ndarray and other non-trivial params da_method

patnr opened this issue · comments

For example, Var3D(B=B) should work, where B is an ndarray background matrix.

  • The problem is largely that == comparison with ndarray fails in split_attrs. I'm not sure about other non-trivial types.
  • When printing xpLists multiline attributes will be an issue. I suppose one should insert the id in that case.

The above commit is a hotfix. Improvements would still be good. See inline TODOs. Furthermore, I believe xpSpace might still be incompatible with ndarray params.