Closed dcherian closed 1 month ago
This is cool! I am fine with the initial limit of one geometry coordinate as that would already result in a parity with R's {stars}
implementation (I think, it may not be entirely up to date).
Is there any blocker preventing this to move beyond POC?
Is there any blocker preventing this to move beyond POC?
Test and docstrings. Do you want cf_xarray
as a required or optional dependency?
Do you want
cf_xarray
as a required or optional dependency?
Given cf_xarray
itself depends on xarray only, I think it is fine to depend on it directly.
Boom with https://github.com/xarray-contrib/cf-xarray/pull/526 xvec supports encoding/decoding multiple geometries.
The roundtrip tests fail because of an extra crs
attribute added in decode_cf
. Can you help me fix that? Should we be deleting that attribute?
It could use quite a bit of testing :)
The roundtrip tests fail because of an extra crs attribute added in decode_cf. Can you help me fix that? Should we be deleting that attribute?
Given the crs information is now stored in the index itself, I guess we can just drop it? Not sure about consequences.
Yes I don't see why you duplicate it.
What needs to happen here apart from merge of that PR in cf-xarray? Tests locally pass and apart from that commented out ValueError, we should probably raise when needed, I don't see anything obviously missing.
Not much. I'd like to copy some tests over to cf-xarray.
I'm on vacation right now so don't get to this for another week and a half
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.06%. Comparing base (
c2260b8
) to head (c88ea9c
). Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
OK Should be good to go for now. We could always keep tweaking but this should be great for experimenting and making it sure works with real-world datasets.
xref #26, #48
This is a proof-of-concept really but it works for that demo notebook