@davidhassell commented on this pull request.


> +Note that the value of `s` varies from `0.0` at the tie point `A` to `1.0` 
> at tie point `B`. For example, if `ia = 100` and `ib = 110` and the index in 
> the target domain of the coordinate value to be reconstituted is `i = 105`, 
> then `s = (105 - 100)/(110 - 100) = 0.5`.
+
+In the case of two dimensional interpolation, the two interpolation variables 
are equivalently computed as
+
+`s1 = s(ia1, ib1, i1) = (i1 - ia1)/(ib1 - ia1)`  +
+`s2 = s(ia2, ic2, i2) = (i2 - ia2)/(ic2 - ia2)`
+
+where `ia1` and `ib1` are the first dimension indices in the target domain of 
the tie points `A` and `B` respectively, `ia2` and `ic2` are the second 
dimension indices in the target domain of the tie points `A` and `D` 
respectively and the indices `i1` and `i2` are the first and second dimension 
indices respectively in the target domain of the coordinate value to be 
reconstituted. 
+
+For the reconstitution of the uncompressed coordinate and auxiliary coordinate 
variables the interpolation method can be applied independently for each 
interpolation zone, making it possible to parallelize the computational process.
+
+The following notation is used: +  
+A variable staring with `v` denotes a vector and `v.x` , `v.y` and `v.z` refer 
to the three coordinates of that vector. +
+A variable staring with `ll` denotes a latitude-longitude coordinate pair and 
`ll.lat` and `ll.lon` refer to the latitude and longitude coordinates. +
+For one dimensional interpolation, `i` is an index in the interpolation 
dimension, `tp` is an index in the tie point interpolation dimension and `iz` 
is an index in the interpolation zone dimensions. 
+For two dimensional interpolation, `i1` and `i2` are indices in the 
interpolation dimensions, `tp1` and `tp2` are indices in the tie point 
interpolation dimensions and `iz1` and `iz2` are indices in the interpolation 
zone dimensions. +

Could we call "tp1" and "tp2" `tpi1` and `tpi2` instead? This makes the naming 
consistent with the indices (`i1`, `iz`) wand avoids confusion (that I have 
had) that "tp1" is a an index, not a tie point.

Also, `iz1` is an interpolation zone index - should/could that be now `is1` for 
interpolation subarea index?

This would also affect figure 1.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://urldefense.us/v3/__https://github.com/cf-convention/cf-conventions/pull/326*pullrequestreview-706156663__;Iw!!G2kpM7uM-TzIFchu!h68gQ0e_jrpz4tZFa2gPX_GmlykXuX0dj1ngmCZUEtpzBh6cZ_mKWKGlkZWd4imdOTcnbFj-Ql8$
 
This list forwards relevant notifications from Github.  It is distinct from 
[email protected], although if you do nothing, a subscription to the 
UCAR list will result in a subscription to this list.
To unsubscribe from this list only, send a message to 
[email protected].

Reply via email to