ruithnadsteud / yt_georaster

A package for handling geotiff files and georeferenced datasets within yt.
1 stars 2 forks source link

[WIP] class refactor and mask data containers when saving #38

Closed brittonsmith closed 3 years ago

brittonsmith commented 3 years ago

The primary purpose of this PR is to mask data outside data containers in save_as_geotiff (Issue #27). Previously, we saved all data inside the rectangle representing the bounding box around a given container. With this PR we set all data outside the container to zero. I'm currently trying to figure out why the reloaded image is upside-down.

To try and deal with the upside-down issue, I have refactored the various classes, unifying the multiple similar classes.