| lattice.retrieve {ssBase} | R Documentation |
This is a complementary function to the function lattice. The function lattice calculates longitude-latitude centres for a
(2*J+1) by (2*K+1) grid. It produces a
vector of (2*J+1)*(2*K+1) centres. Given the
ith centre, lattice.retrieve calculates the corresponding
values of j and k. Alternatively, given j and
k, the function returns the corresponding index i.
lattice.retrieve(i, K, J) lattice.retrieve(j, k, K, J)
i |
the index number of the centre of interest. |
j |
scalar where -J <= j <= J, and J is defined in the documentation for the function lattice.
|
k |
scalar where -K <= k <= K, and J is defined in the documentation for the function lattice.
|
K |
see documentation for the function lattice.
|
J |
see documentation for the function lattice.
|
Returns a list object with the values of i, j, k, J, and K.