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.ndarrayThe 2-d dense weights matrix, an array with with shape
(J, I), whereJis the number of destination grid cells andIis the number of source grid cells.