cf.RegridOperator.get_parameter¶
-
RegridOperator.
get_parameter
(parameter, *default)[source]¶ Return a regrid operation parameter.
Deprecated at version 3.14.0.
- Parameters
- Returns
The value of the named parameter or the default value, if set.
Examples
>>> r.get_parameter('dst_axes') ['domainaxis1', 'domainaxis0'] >>> r.get_parameter('x') Traceback ... ValueError: RegridOperator has no 'x' parameter >>> r.get_parameter('x', 'missing') 'missing'