-
Notifications
You must be signed in to change notification settings - Fork 2
Description
This thing is cursed like a large black cat heading you off on a crowded sidewalk, forcing you under a maintenance worker's ladder and onto a cracked, uneven stretch of pavement, upon which you trip and fall into the mirror-like edifice beside you, fracturing it. Uninjured, you pick yourself up sheepishly and note with relief the inability of the shattered glass to confront you with your own reflection, whose appearance beside you just before the cat entered the picture had filled you with shame at having written this library
Perhaps it's not too late to repent. To reject the forbidden fruit of state management and walk in the pure, functional light of truth. To follow xarray-dataclasses in considering the class a blueprint for constructing an xarray object. Wherein xattree will no longer invade your privacy, steal your property and lie to you about it, just ask you to opt into some metadata and mixins and automate an otherwise tedious transformation you'd have to manage yourself
The major difference between this project and xarray-dataclasses would be that the latter considers the dataclass a template to construct xarray objects from with the static new() method, and does not expect you to instantiate it. Where we would say, bring us your object model (maybe dataclasses/attrs/pydantic, we detect and accommodate) and we map it to/from datasets/trees