Closed konst-int-i closed 3 weeks ago
Thanks @konst-int-i! A couple of things to add:
to_spatial_data
:
to_spatial_data
to include:
@pauldoucet, let me know if I'm missing anything. Pushing for better interfacing with spatial data seems like a good direction.
Hi @konst-int-i great work on your PR!
I added some checks and modified the conditional import statement (one cool trick, if you use from __future__ import annotations
you can keep the return type of the method even if it's not imported yet)
Addressed the additional requests from @guillaumejaume in 82f0779
This PR
Makes several changes to the
HESTData.to_spatial_data()
behaviour:fullres
,hires_downsampled
andlowres_downsampled
).datatree
to prevent buffer error raised in #61Test instructions
Alternatively, run the first cell in
tutorials/2-Interacting-with-HEST-1k.ipynb
.Expected behaviour
Old
SpatialData
conversion for sampleTENX68
⬇️ ⬇️ ⬇️
New
SpatialData
conversion: