cf.RegridOperator.check_method¶
-
RegridOperator.check_method(method)[source]¶ Whether the given method is equivalent to the regridding method.
- Parameters
- method:
str A regridding method, such as
'conservative'.
- method:
- Returns
boolWhether or not method is equivalent to the regridding method.
Examples:
>>> r.method 'conservative' >>> r.check_method('conservative') True >>> r.check_method('conservative_1st') True >>> r.check_method('conservative_2nd') False