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:
- Reduced Complexity: Maintaining a single library simplifies the codebase and reduces potential dependency conflicts.
- Leveraging Rioxarray's Functionality: Rioxarray offers built-in functions specifically designed for working with COG datasets, which can streamline the conversion process.
- Resolving Previous Exception: By addressing the data pre-processing step mentioned above, we can overcome the prior exception encountered with rioxarray.
By transitioning to a single library approach using rioxarray, we can achieve a more efficient and robust conversion process.
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.