Open srizvi-NASA opened 5 months ago
Supportive of using only rioxarray
I am in the process of making sure that the net2cog handles level-2 data. The current code is good for level-3 (gridded data). The code and the use of various libraries will depend upon a generalized solution to handle level-2 data.
The current conversion code utilizes both rasterio and rioxarray libraries for processing netcdf data into COG format. However, simplifying the conversion process by using only rioxarray seems feasible and advantageous.
Previously, rioxarray encountered an issue when converting object data types in MUR-JPL-L4-GLOB-v4.1 files to NumPy timedeltas. This can likely be addressed by implementing data pre-processing steps before feeding the data to rioxarray.
Here's why transitioning to solely using rioxarray is beneficial:
By transitioning to a single library approach using rioxarray, we can achieve a more efficient and robust conversion process.