cf.RegridOperator.todense

RegridOperator.todense(order='C')[source]

Return the weights in dense format.

New in version 3.14.0.

See also

tosparse

Parameters
order: str, optional

Specify the memory layout of the returned weights matrix. 'C' (the default) means C order (row-major), and``’F’`` means Fortran order (column-major).

Returns
numpy.ndarray

The 2-d dense weights matrix, an array with with shape (J, I), where J is the number of destination grid cells and I is the number of source grid cells.