Print a description of an object.
If the object has a dump method then this is used to create the output, so that cf.dump(f) is equivalent to print f.dump(). Otherwise cf.dump(x) is equivalent to print x.
Parameters: |
|
---|---|
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)