cf.environment¶
-
cf.
environment
(display=True)[source]¶ Return the names and versions of cf-python dependencies.
Parameters: - display:
bool
, optional If False then return the description of the environment as a string. By default the description is printed.
Returns: Examples:
>>> cf.environment() Platform: Linux-4.15.0-64-generic-x86_64-with-debian-stretch-sid HDF5 library: 1.10.2 netcdf library: 4.6.1 udunits2 library: libudunits2.so.0 python: 3.7.3 /home/space/anaconda3/bin/python netCDF4: 1.4.2 /home/space/anaconda3/lib/python3.7/site-packages/netCDF4/__init__.py cftime: 1.0.3.4 /home/space/.local/lib/python3.7/site-packages/cftime-1.0.3.4-py3.7-linux-x86_64.egg/cftime/__init__.py numpy: 1.16.2 /home/space/anaconda3/lib/python3.7/site-packages/numpy/__init__.py psutil: 5.6.3 /home/space/anaconda3/lib/python3.7/site-packages/psutil/__init__.py scipy: 1.2.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: 7.1.0r /home/space/anaconda3/lib/python3.7/site-packages/ESMF/__init__.py cfdm: 1.7.8 /home/space/anaconda3/lib/python3.7/site-packages/cfdm/__init__.py cfunits: 3.2.2 /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.0.1 /home/space/anaconda3/lib/python3.7/site-packages/cf/__init__.py
- display: