Closed gmaze closed 1 year ago
It's time to refactor the 4353 lines of argopy.utilities and its 58 functions or classes !
List of changes:
argopy.utilities.* ➡ argopy.related.<sub>.*
argopy.utilities.*
argopy.related.<sub>.*
argopy.utilities.* ➡ argopy.utils.checkers.*
argopy.utils.checkers.*
argopy.utilities.* ➡ argopy.utils.casting.*
argopy.utils.casting.*
argopy.utilities.* ➡ argopy.utils.decorators.*
argopy.utils.decorators.*
argopy.utilities.* ➡ argopy.utils.lists.*
argopy.utils.lists.*
argopy.utilities.* ➡ argopy.utils.caching.*
argopy.utils.caching.*
argopy.utilities.* ➡ argopy.utils.accessories.*
argopy.utils.accessories.*
argopy.utilities.* ➡ argopy.utils.locals.*
argopy.utils.locals.*
argopy.utilities.* ➡ argopy.utils.geo.*
argopy.utils.geo.*
argopy.utilities.* ➡ argopy.utils.compute.*
argopy.utils.compute.*
argopy.utilities.* ➡ argopy.utils.transform.*
argopy.utils.transform.*
argopy.utilities.* ➡ argopy.utils.format.*
argopy.utils.format.*
argopy.utilities.* ➡ argopy.utils.loggers.*
argopy.utils.loggers.*
Everything refactored, now need to solve for all circular import !
doc is fixed, ci tests ok, (failed upstream not related to this pr) so let's merge
It's time to refactor the 4353 lines of argopy.utilities and its 58 functions or classes !
List of changes:
Argo related dataset and Meta-data fetchers
argopy.utilities.*
➡argopy.related.<sub>.*
Checkers
argopy.utilities.*
➡argopy.utils.checkers.*
Data type casting
argopy.utilities.*
➡argopy.utils.casting.*
Decorators
argopy.utilities.*
➡argopy.utils.decorators.*
Lists
argopy.utilities.*
➡argopy.utils.lists.*
Cache management
argopy.utilities.*
➡argopy.utils.caching.*
Accessories
argopy.utilities.*
➡argopy.utils.accessories.*
Locals (environments, versions, systems)
argopy.utilities.*
➡argopy.utils.locals.*
Geo (space/time data utilities)
argopy.utilities.*
➡argopy.utils.geo.*
Mathematically or statistically compute something output of xarray objects
argopy.utilities.*
➡argopy.utils.compute.*
Manipulate/transform xarray objects or list of objects
argopy.utilities.*
➡argopy.utils.transform.*
Manipulate Argo formatted string and print/stdout formatters
argopy.utilities.*
➡argopy.utils.format.*
Loggers
argopy.utilities.*
➡argopy.utils.loggers.*
Misc