Closed jsignell closed 5 years ago
What are the pros/cons/difficulties/limitations in using intake to do the fetching and caching?
What are the pros/cons/difficulties/limitations in using intake to do the fetching and caching?
It wouldn't be hard, just doesn't necessarily seem like best practice to me.
How: Read a file dataset with intake and then use gv.from_xarray
Pros:
Cons:
Pros:
gv.RGB.load_tiff
Cons:
I am not sure I have something definitive to interject, but I would love to have the conversation.
I do not know the interaction of intake and xarray. Regardless, the functionality is necessary wherever it is actually implemented. So I would propose, if I can be so bold, is a) ask where is the best place for this functionality, and b) lets develop some examples for how to use it...
I cannot comment on the above, but it is germane to my work.
From what I can see, gv.load_tiff
doesn't do anything much, just da = xr.open_rasterio(filename) ; return from_xarray(da, crs, apply_transform, nan_nodata, **kwargs)
; seems like gv.from_xarray
is doing the heavy lifting with or without intake.
My main concerns are: