1- Decode the strictly necessary fields of the DE (Typ, Org, MxP, MxL, MxC, NOR)
or
skip the header records, as the record sizes are known by the documentation or the mail accompanying the files.
nbrecde = 2 or nbrecde = 512/recphys + 1 or nbrecde = 512/recphys
2- Read the image data according to the organisation set:
E.g. For a cartographic projection image = PLC
do 100 ican = 1, nbcan
do 100 lin = 1, nblin
irec = nbrecde + (ican - 1) * nblin + lin
read(lu,rec=irec) (tab(ipix,lin,ican),ipix=1,nbpix)
100 continue
Example:
For a Master Plus band AVHRR mage= CPL
do 100 lin = 1, nblin
irec = nbrecde + lin
read(lu,rec=irec) (tab(ican,ipix,lin),ican=1,nbcan,ipix=1,nbpix)
100 continue
3- It is assumed that the problem of geographic location is resolved easily by documentation on the image supplied and that the client requested a particular projection that he knew.
| Field number | Field name | Row | Format | Description |
|---|---|---|---|---|
| 01 | FIL | 001 | a40 | FIS name |
| FIS characteristics | ||||
| 02 | ORG | 041 | a4 | Organisation |
| 03 | TYP | 045 | a4 | Type |
| 04 | MXP | 049 | i5 | Maximum number of points |
| 05 | MXL | 054 | i5 | Maximum number of lines |
| 06 | MXC | 059 | i5 | Maximum number of channels |
| Identification of the FIS creation | ||||
| 07 | AUC | 064 | a20 | Author and programme |
| 08 | DJC | 084 | i5 | Julian date |
| 09 | SER | 089 | a20 | Service |
| 10 | TIT | 109 | a80 | Title |
| Identification of an FIS update | ||||
| 11 | AUM | 189 | a20 | Author and programme |
| 12 | DJM | 209 | i5 | Julian date |
| Parameters of the mission and the IMAGE DATA instrument | ||||
| 13 | MIS | 214 | i2 | Mission numerical code |
| 14 | NIM | 216 | i2 | Mission order number |
| 15 | INS | 218 | i2 | Instrument numerical code |
| 16 | OSS | 220 | i5 | Orbit, slot or station number |
| 17 | IJR | 225 | f14.8 | Julian time (HNA, slot or observation) |
| 18 | LLP | 239 | f7.2 | LNA, LSP or physical parameters of the station |
| 19 | CSC | 246 | a4 | instrument scan direction: "SN" South to North, "NS" North to South "EW" East to West, "WE" West to East |
| IMAGE DATA satellite positions (in angle decrees) | ||||
| 20 | ANW | 250 | f7.2 | NW corner latitude |
| 21 | ONW | 257 | f7.2 | NW corner longitude |
| 22 | ANE | 264 | f7.2 | NE corner latitude |
| 23 | ONE | 271 | f7.2 | NE corner longitude |
| 24 | ASE | 278 | f7.2 | SE corner latitude |
| 25 | OSE | 285 | f7.2 | SE corner longitude |
| 26 | ASW | 292 | f7.2 | SW corner latitude |
| 27 | OSW | 299 | f7.2 | SW corner longitude |
| IMAGE DATA positions with respect to the mission | ||||
| 28 | NPP | 306 | i5 | Number of first point |
| 29 | NPL | 311 | i5 | Number of first line |
| 30 | NDP | 316 | i5 | Number of last point |
| 31 | NDL | 321 | i5 | Number of last line |
| IMAGE DATA temporal positions | ||||
| 32 | IJD | 326 | f14.8 | Start Julian time |
| 33 | IJF | 340 | f14.8 | End Julian time |
| IMAGE DATA missing lines | ||||
| 34 | NLM | 354 | i5 | Number of missing lines |
| Other FIS parameters | ||||
| 35 | NOR | 359 | i5 | Number of bytes per record |
| 36 | NRI | 364 | i6 | Number of IMAGE DATA records |
| 37 | NVE | 370 | a12 | Number of the "FIS Package" version used |
| 38 | NMI | 382 | i6 | Number of IMAGE DATA missions |
| 39 | NBR | 388 | i6 | Total number of FIS records |
| Free space | ||||
| 40 | --- | 394 | --- | Free space of 119 bytes |