cf.environment

cf.environment(display=True)[source]
Parameters:
display: bool, optional

If False then{+,fef,} return the description of the environment as a string. By default the description is printed.

Returns:
out: None or str

If display is True then the description of the environment is printed and None is returned. Otherwise the description is returned as a string.

Examples:
>>> cf.environment()
Platform: Linux-3.13.0-24-generic-x86_64-with-debian-jessie-sid
HDF5 library: 1.8.17
netcdf library: 4.4.1
python: 2.7.12 /home/user/anaconda2/bin/python
netCDF4: 1.2.4 /home/user/anaconda2/lib/python2.7/site-packages/netCDF4/__init__.pyc
numpy: 1.11.1 /home/user/anaconda2/lib/python2.7/site-packages/numpy/__init__.pyc
psutil: 4.3.0 /home/user/anaconda2/lib/python2.7/site-packages/psutil/__init__.pyc
cfplot: 1.9.21 /home/user/anaconda2/lib/python2.7/site-packages/cfplot/__init__.pyc
cf: 1.4 /home/user/cf-python/cf/__init__.pyc