HARK icon indicating copy to clipboard operation
HARK copied to clipboard

xarray revolution

Open sbenthall opened this issue 1 year ago • 3 comments

Continuing discussion from here: https://github.com/econ-ark/HARK/pull/1283#issuecomment-1595065727

Perhaps we should use xarray data types everywhere, such as:

  • grids
  • distributions
  • solutions
  • as typed inputs/outputs to equations used in model definitions

@alanlujan91 has modeled this with Labeled distributions and several of the Consumer models already.

I propose (tentatively) that we work these changes throughout the library, rather than reserving them for special 'Labeled' classes.

sbenthall avatar Jun 16 '23 18:06 sbenthall