I came across the issue of having to calculate the lon/lat based on Number of Scan Lines, Pixels per Scan Line, etc.
This is the first time I encounter such issue while working with L2 MERIS data.
To calculate the lon/lat I followed this post https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?tid=758
assuming that the same SeaWiFS, MODIS procedure applies to MERIS distributed in this website.
The reason why I writing here is because the post above suggest the use of 'spline' to interpolate the lon/lat values from the control points to obtain the full lon/lat array.
But, when I use 'spline' my output at control points does not much the lon/lat values at control points.
On the other hand, using simple linear interpolation I get the lon/lat at control points matching the output.
So, I was wondering, is there a special reason for using spline. Or what should be the best approach?
Thanks for your kind support.