cf.dump¶
-
cf.
dump
(x, **kwargs)[source]¶ Print a description of an object.
If the object has a
dump
method then this is used to create the output, so thatcf.dump(f)
is equivalent toprint f.dump()
. Otherwisecf.dump(x)
is equivalent toprint x
.Parameters: - x :
The object to print.
- kwargs : optional
As for the input variable’s
dump
method, if it has one.
Returns: None
Examples: >>> x = 3.14159 >>> cf.dump(x) 3.14159
>>> f <CF Field: rainfall_rate(latitude(10), longitude(20)) kg m2 s-1> >>> cf.dump(f) >>> cf.dump(f, complete=True)