cf.environment¶
-
cf.
environment
(display=True, paths=True)[source]¶ Return the names and versions of the cf package and its dependencies.
- Parameters
- Returns
Examples:
>>> cf.environment() Platform: Linux-5.4.0-58-generic-x86_64-with-debian-bullseye-sid HDF5 library: 1.10.5 netcdf library: 4.6.3 udunits2 library: libudunits2.so.0 python: 3.7.0 /home/space/anaconda3/bin/python netCDF4: 1.5.4 /home/space/anaconda3/lib/python3.7/site-packages/netCDF4/__init__.py cftime: 1.3.0 /home/space/anaconda3/lib/python3.7/site-packages/cftime/__init__.py numpy: 1.18.4 /home/space/anaconda3/lib/python3.7/site-packages/numpy/__init__.py psutil: 5.4.7 /home/space/anaconda3/lib/python3.7/site-packages/psutil/__init__.py scipy: 1.1.1 /home/space/anaconda3/lib/python3.7/site-packages/scipy/__init__.py matplotlib: 3.1.1 /home/space/anaconda3/lib/python3.7/site-packages/matplotlib/__init__.py ESMF: 8.0.0 /home/space/anaconda3/lib/python3.7/site-packages/ESMF/__init__.py cfdm: 1.8.8.0 /home/space/anaconda3/lib/python3.7/site-packages/cfdm/__init__.py cfunits: 3.3.1 /home/space/anaconda3/lib/python3.7/site-packages/cfunits/__init__.py cfplot: 3.0.0 /home/space/anaconda3/lib/python3.7/site-packages/cfplot/__init__.py cf: 3.8.0 /home/space/anaconda3/lib/python3.7/site-packages/cf/__init__.py >>> cf.environment(paths=False) HDF5 library: 1.10.5 netcdf library: 4.6.3 udunits2 library: libudunits2.so.0 Python: 3.7.0 netCDF4: 1.5.4 cftime: 1.3.0 numpy: 1.18.4 psutil: 5.4.7 scipy: 1.1.0 matplotlib: 2.2.3 ESMF: 8.0.0 cfdm: 1.8.8.0 cfunits: 3.3.1 cfplot: 3.0.38 cf: 3.8.0