You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Both the CLI (and the WebAPI service) import all package dependencies the CCI Toolbox has. This is because all operations in ect.ops are also imported which import packages such as cartopy, basemap, matplotlib, pandas, xarray which again import their own dependencies.
Both the CLI (and possibly the WebAPI service) must be modularized so that individual commands/actions have their own modules which will import only the desired packages. This is more important for the CLI, because the WebAPI is usually launched only once and remains in memory as a demon process. However, unit-level tests that require starting/stopping the service currently execute very slow due to the reasons stated above.
The text was updated successfully, but these errors were encountered:
Both the CLI (and the WebAPI service) import all package dependencies the CCI Toolbox has. This is because all operations in
ect.ops
are also imported which import packages such ascartopy
,basemap
,matplotlib
,pandas
,xarray
which again import their own dependencies.Both the CLI (and possibly the WebAPI service) must be modularized so that individual commands/actions have their own modules which will import only the desired packages. This is more important for the CLI, because the WebAPI is usually launched only once and remains in memory as a demon process. However, unit-level tests that require starting/stopping the service currently execute very slow due to the reasons stated above.
The text was updated successfully, but these errors were encountered: