Open mauro3 opened 1 year ago
Quite confusingly raster data can have point or interval sampling. That also impacts on what the coordinates refer to, https://github.com/eth-vaw-glaciology/GlacioTools.jl#raster-data-as-point-or-area-data----and----as-center-coordinates.
I propose that we exclusively use Point sampling. I have a made an assertion function which checks that that is the case: https://github.com/eth-vaw-glaciology/GlacioTools.jl/blob/e0f9b53b3828985a71187acf5cf92fe70ddb2be0/src/Rasters_helpers.jl#L125 which can be used like so: https://github.com/eth-vaw-glaciology/GlacioTools.jl/blob/e0f9b53b3828985a71187acf5cf92fe70ddb2be0/src/Antarctica.jl#L127
Point
TODO:
Quite confusingly raster data can have point or interval sampling. That also impacts on what the coordinates refer to, https://github.com/eth-vaw-glaciology/GlacioTools.jl#raster-data-as-point-or-area-data----and----as-center-coordinates.
I propose that we exclusively use
Point
sampling. I have a made an assertion function which checks that that is the case: https://github.com/eth-vaw-glaciology/GlacioTools.jl/blob/e0f9b53b3828985a71187acf5cf92fe70ddb2be0/src/Rasters_helpers.jl#L125 which can be used like so: https://github.com/eth-vaw-glaciology/GlacioTools.jl/blob/e0f9b53b3828985a71187acf5cf92fe70ddb2be0/src/Antarctica.jl#L127TODO: