developmentseed / developmentseed/titiler-multidim

Allow for users to transpose variables

Open
#8 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
88
Forks
13
Avg merge
2d 53m
Merged PRs (30d)
10

Description

We found at least one public dataset comes with coordinates (time, lon, lat) where rasterio.reproject requires coordinates ordered (lat, lon). See this discussion: https://github.com/corteva/rioxarray/discussions/674

For now, a workaround would be just to allow for users to transpose x and y. Work is started here: https://github.com/developmentseed/titiler-xarray/tree/ab/add-transpose-var

Should I move forward with this approach (building off of the changes in https://github.com/developmentseed/titiler-xarray/pull/7) and add tests or do we think:
1. The problem should be addressed in upstream libraries, like rioxarray or rasterio, to allow for dimensions arriving out of order when reprojecting
2. We should limit the support of titiler-xarray for datasets where dimensions are in the right order.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.