cfdm.Data.get_interpolation_parameters

Data.get_interpolation_parameters(default=ValueError())[source]

Return the list variable for a compressed array.

New in version (cfdm): 1.10.0.1

Parameters
default: optional

Return the value of the default parameter if no interpolation parameters have been set. If set to an Exception instance then it will be raised instead.

Returns
dict

Interpolation parameters required by the subsampling interpolation method. Each key is an interpolation parameter term name, whose value is an InterpolationParameter variable.

Interpolation parameter term names for the standardised interpolation methods are defined in CF Appendix J “Coordinate Interpolation Methods”.

Examples

>>> l = d.get_interpolation_parameters()