cf.RegridOperator.todense¶
-
RegridOperator.
todense
(order='C')[source]¶ Return the weights in dense format.
New in version 3.14.0.
See also
- 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).
- order:
- Returns
numpy.ndarray
The 2-d dense weights matrix, an array with with shape
(J, I)
, whereJ
is the number of destination grid cells andI
is the number of source grid cells.