Using in-memory DataArray
in titiler.xarray
#1154
-
I understand that TiTiler's API needs a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Yes you could totally make this. The See https://github.com/developmentseed/titiler/blob/main/src/titiler/xarray/examples/local.py ;-) |
Beta Was this translation helpful? Give feedback.
Yes you could totally make this.
The
path_dependency
https://github.com/developmentseed/titiler/blob/main/src/titiler/xarray/titiler/xarray/factory.py#L37 can be whatever. Then you need to set thereader
https://github.com/developmentseed/titiler/blob/main/src/titiler/xarray/titiler/xarray/factory.py#L35 to berio_tiler.io.xarray.XarrayReader
(which only accept DataArray).See https://github.com/developmentseed/titiler/blob/main/src/titiler/xarray/examples/local.py ;-)