Added tools for file handling.
Created by: Christian-Mielke
Hello, I added several convenience functions that I would like to discuss which span the following issues: #11, #32, #17. I think the most important is the convenient read functions that pull in all attributes from the nc and hdf files. This is done very easy with the visit attribute of hdf data. After spending some time with geopandas DFs and ordinary arrays I'd also like to provide two different ways of handling the data:
- The original GPDF way, where clipping and projecting is easy, but where larger raster takes forever for file I/O.
- The raster way of doing things (I only care about raster grid cells and not about fractions of a raster cell e.g. along borders) This requires the calculation of grid cell sizes which is done straight forward from numpy coordinate arrays with the equal_earth_raster array. This makes File I/O fast and efficient and allows fast/full GIS compatibility.