The functions called __flattenbatches are present in both the gedi.py and icesat2.py modules with slight differences. They contain the logic that combines all of the different returned records into a coherent GeoDataFrame. The vast majority of the logic is duplicated - especially the handling of the raster-sample code.
These functions should be consolidated into a single function provided by the core sliderule.py module and used by the different plugin modules.
The functions called
__flattenbatches
are present in both the gedi.py and icesat2.py modules with slight differences. They contain the logic that combines all of the different returned records into a coherent GeoDataFrame. The vast majority of the logic is duplicated - especially the handling of the raster-sample code.These functions should be consolidated into a single function provided by the core sliderule.py module and used by the different plugin modules.