...
- The Landsat files contain a set of attributes, of which COFF, LOFF, CFAC and LFAC are the most important ones, as they can be used to determine the coordinate system.
- According to the document http://www.eumetsat.int/groups/cps/documents/document/pdf_cgms_03.pdf, the image coordinates have to be converted to intermediate coordinates x and y that in turn can be converted into longitude and latitude.
- For the Delft-FEWS configuration we need the extremes for x and y (as the satellite image is a rectangle in these coordinates).
- The firstCellCenter's x and y need to be computed as:
Code Block x = -COFF * 2^16 / CFAC y = +LOFF * 2^16 / LFAC
- The cell sizes are to be determined as 2^16 / CFAC and 2^16 / LFAC.
- The centralMeridian may be taken from the Landsat file, but care must be taken: as we give the cell centers a shift may be needed to get the image right.
Example Files
See attached files