You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the rasterio CRS object is being converted to a datacube CRS object about 3750 times in a single load call. The main source of the load time is the call to to_epsg.
I understand that there is a CRS cache to make things faster. I have been thinking about this and I and starting to think that the EPSG form will not be any better than a WKT when you are loading data from the same data source as is done in datacube.
I propose:
Remove to_epsg entirely from the cache form and rely only on to_wkt
This issue is appearing again: #1222
After profiling the load call:
It appears that the rasterio CRS object is being converted to a datacube CRS object about 3750 times in a single load call. The main source of the load time is the call to
to_epsg
.I understand that there is a CRS cache to make things faster. I have been thinking about this and I and starting to think that the EPSG form will not be any better than a WKT when you are loading data from the same data source as is done in datacube.
I propose:
to_epsg
entirely from the cache form and rely only onto_wkt
to_epsg
in the CRS class.Thoughts?
cc: @alfredoahds
The text was updated successfully, but these errors were encountered: