NREL/sup3r

Caching Raster Index

grantbuster opened this issue · 1 comments

The algorithm to retrieve the raster index from the flattened h5 WTK data can be a bit cumbersome for large extents due to the weird "bend" in the projection. It would be nice if we could provide a filepath as an optional kwarg to the DataHandler object that would load a cached raster extent instead of parsing a raster extent every time. The np.savetxt() method would be most flexible. Binary and pkl file caches tend to have issues with different python and np versions.

closed in #11