Hi,
The l1mapgen software is based on a program I wrote in 1997 called swtcpcbox.
That software estimated the ___location of the four corners of each pixel in the projected
Cartesian space and then used a technique from early X-server code called scan-conversion
to fill in the projected pixels covered by the original source pixel. This worked well enough
for sensors like SeaWiFS that had (essentially) one detector per scan line.
The MODIS 250-meter bands have 40 detectors per scan line, however, and the edge
detectors from adjacent scan lines do not view adjacent patches of Earth's surface when
viewing in an off-nadir direction. This messes up the estimated pixel-corner locations a bit
for the two outside detectors in the focal plane. I used to get similar artifacts to what you
are seeing when I started working with MODIS data.
My current approach to making imagery from the MODIS data is to use l2gen to
generate rhos (i.e. surface reflectance) products. I then project each pixel using its
center coordinate (stored in the l2gen output file) and use a nearest-neighbor algorithm
to fill in the output Cartesian grid instead of using the older, less-bowtie-compatible
scan-conversion method of swtcpcbox (and presumably, l1mapgen).
If you want a more detailed description of what I do you can find an example here.
https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=32059Regards,
Norman
P.S. I think a replacement for l1mapgen is in the works.