*****************
Third command:***
*****************
azgcorr -v -mTM 3 0 0 9 1 0 500000 -dNO -eh latera.dem -es sphseplx.grd -bl 5 3 2 -1 -p 1 1 -1 h248011b.hdf -3 h248013b_532test.hdf

££££££££££££££££££££££££££££££££££££££££££££££££
GIVES THIS OUTPUT:

azgcorr  -- ver: 4.8.9-lin Feb 26 2008   (C) Azimuth Systems UK 1996, 2008

data recorded in year: 2007  date: 05/09/07
CCD type [3]: SPECIM sensor details and data

HDF level 1 input file: h248011b.hdf
No CApsfov table on hdf - using default optic details

Scanner: CCD image (CAimage) pixels: 320 lines: 4901 bands: 237
  config: Specim HAWK  SWIR
  view angles port: -11.8526 star: 11.8526

Navigation...

Projection and datum shift details initialised....
Spheroid name: WGS84
  semi-major: 6378137.00000  semi-minor: 6356752.31425  e^2: 0.006694380 1/f: 298.257223563
Projection name: TM
  origin  lat: 0.0000  long (central meridian) : 9.0000
  grid coords at origin  easting: 500000.00  northing: 0.00
  scale factor: 1.00000000  hemisphere: north
Datum shift name: none

  site lat/lng start: 42.6686884 11.8815816  end: 42.5849846 11.7722556
       grid    start: 736233.7   4729942.6   end: 727575.5   4720343.4
  flight line grid azimuth: 222.0   direction to: South
  nav  index values from:     0  to:  4899
  scan index values from:     1  to:  4900
  navigation attitude items...
     Pitch  use status: file value unchanged
     Roll  use status: file value unchanged
     Heading  use status: file value unchanged

Pixel spacing stats... along line...
   centre     min: 2.43 max: 3.15 ave: 2.64
   port       min: 0.26 max: 19.57 ave: 3.54
   starboard  min: 0.18 max: 17.31 ave: 3.54
   across line centre (pix 160): 2.48

Site details...
  input lines to be processed: 4900
  corrected image pixels : 9201  lines: 10585
  limits from scans x: 727225.6 736424.9  y: 4720018.3 4730601.7
  pixel/line limits x: 727225.0 736425.0  y: 4720018.0 4730602.0

HDF data items to level 3 output file: h248013b_532test.hdf

Correction init  interpolation: BiCub  pixel size X: 1.00 Y: 1.00
DEM file: latera.dem
    limits SW: 714240.0 4710608.3  NE: 754541.0 4736607.0
    order (1): N-S cols: 806 rows: 520 grid inc: 90.0
** info: one or more grid limits are NOT multiples of the grid increment

DEM source: User flatfile
   name  : latera.dem
   limits  x:   727110 to  736560  y:  4719960 to 4730670
   (image) x:   727225 to  736425  y:  4720018 to 4730602
   cols: 106  rows: 120  xinc: 90.0  yinc: 90.0
   height range  from: 270.0  to: 650.4
   geoid-spheroid correction applied

HDF image access...

Old BIL  bands: 237 pix: 320 lines: 4901
  Image input HDF file: h248011b.hdf
  input  level1 image: CAimage   bands: 237 pix: 320 lines: 4901
  HDF output file: h248013b_532test.hdf
  output level3 image: CAimage   bands: 3 pix: 9201 lines: 10585
Correcting bands:   5 3 2
Correction rate: 214  input lines per second

updating hdf

End of azgcorr run - files complete

££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££

*****************
Fourth command:**
*****************
azgcorr -v -mTM 3 0 0 9 1 0 500000 -dNO -eh latera_lidar.dem -es sphseplx.grd -bl 5 3 2 -1 -p 1 1 -1 h248011b.hdf -3 h248013b_532test_lidardem.hdf

££££££££££££££££££££££££££££££££££££££££££££££££
GIVES THIS OUTPUT:

-----------------------------------------------------------------------
azgcorr  -- ver: 4.8.9-lin Feb 26 2008   (C) Azimuth Systems UK 1996, 2008

data recorded in year: 2007  date: 05/09/07
CCD type [3]: SPECIM sensor details and data

HDF level 1 input file: h248011b.hdf
No CApsfov table on hdf - using default optic details

Scanner: CCD image (CAimage) pixels: 320 lines: 4901 bands: 237
  config: Specim HAWK  SWIR
  view angles port: -11.8526 star: 11.8526

Navigation...

Projection and datum shift details initialised....
Spheroid name: WGS84
  semi-major: 6378137.00000  semi-minor: 6356752.31425  e^2: 0.006694380 1/f: 298.257223563
Projection name: TM
  origin  lat: 0.0000  long (central meridian) : 9.0000
  grid coords at origin  easting: 500000.00  northing: 0.00
  scale factor: 1.00000000  hemisphere: north
Datum shift name: none

  site lat/lng start: 42.6686884 11.8815816  end: 42.5849846 11.7722556
       grid    start: 736233.7   4729942.6   end: 727575.5   4720343.4
  flight line grid azimuth: 222.0   direction to: South
  nav  index values from:     0  to:  4899
  scan index values from:     1  to:  4900
  navigation attitude items...
     Pitch  use status: file value unchanged
     Roll  use status: file value unchanged
     Heading  use status: file value unchanged

Pixel spacing stats... along line...
   centre     min: 2.43 max: 3.15 ave: 2.64
   port       min: 0.26 max: 19.57 ave: 3.54
   starboard  min: 0.18 max: 17.31 ave: 3.54
   across line centre (pix 160): 2.48

Site details...
  input lines to be processed: 4900
  corrected image pixels : 9201  lines: 10585
  limits from scans x: 727225.6 736424.9  y: 4720018.3 4730601.7
  pixel/line limits x: 727225.0 736425.0  y: 4720018.0 4730602.0

HDF data items to level 3 output file: h248013b_532test_lidardem.hdf

Correction init  interpolation: BiCub  pixel size X: 1.00 Y: 1.00
DEM file: latera_lidar.dem
    limits SW: 725476.1 4714826.5  NE: 737141.5 4727383.9
    order (1): N-S cols: 6474 rows: 6969 grid inc: 1.8
** info: one or more grid limits are NOT multiples of the grid increment

DEM source: User flatfile
   name  : latera_lidar.dem
   limits  x:   727170 to  736482  y:  4719959 to 4730660
   (image) x:   727225 to  736425  y:  4720018 to 4730602
   cols: 5169  rows: 5940  xinc: 1.8  yinc: 1.8
   height range  from: 0.0  to: 1049.2
   geoid-spheroid correction applied

HDF image access...

Old BIL  bands: 237 pix: 320 lines: 4901
  Image input HDF file: h248011b.hdf
  input  level1 image: CAimage   bands: 237 pix: 320 lines: 4901
  HDF output file: h248013b_532test_lidardem.hdf
  output level3 image: CAimage   bands: 3 pix: 9201 lines: 10585
Correcting bands:   5 3 2
Correction rate: 181  input lines per second

updating hdf

End of azgcorr run - files complete

££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££

AZEXHDF
***************
***************
TO OUTPUT FILES AS GEOTIF TO VIEW IN IMAGINE/ENVI

*********************
Fith Command       **
*********************

azexhdf -h h248013b_532test.hdf -G h248013b_532test.tif

££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££
Gives:
---------------------------------------------------------------------

azexhdf  -- ver: 3.1.9 Jun 12 2007   (C) Azimuth Systems UK 1996, 2007

Input file: h248013b_532test.hdf
processing level: 3B
Scanner type: CASI  image data item: CAimage

read hdf  bands: 3 pixels: 9201 lines: 10585
Image (CAimage) : (pix) 9201, (lines) 10585, (bands) 3 type 23
Output Geotiff file details...
file: h248013b_532test.tif
grid coord of pixel: 0 line: 10584 is: 727224.5 4730602.5
pixel size is: 1.00 x  and : 1.00 y
coordinate alignment is: 0
 pixels per line: 9201  start line: 10584 lines: 10585  bits per pixel: 16
 bytes per line: 18402
 band(s): 1  to  3
Projection: TM  with spheroid: WGS 1984
last line output: 10585
output file complete
£££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££

************************
Sixth Command         **
************************

azexhdf -h h248013b_532test_lidardem.hdf -G h248013b_532test_lidardem.tif

££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££
GIVES:

---------------------------------------------------------------------

azexhdf  -- ver: 3.1.9 Jun 12 2007   (C) Azimuth Systems UK 1996, 2007

Input file: h248013b_532test_lidardem.hdf
processing level: 3B
Scanner type: CASI  image data item: CAimage

read hdf  bands: 3 pixels: 9201 lines: 10585
Image (CAimage) : (pix) 9201, (lines) 10585, (bands) 3 type 23
Output Geotiff file details...
file: h248013b_532test_lidardem.tif
grid coord of pixel: 0 line: 10584 is: 727224.5 4730602.5
pixel size is: 1.00 x  and : 1.00 y
coordinate alignment is: 0
 pixels per line: 9201  start line: 10584 lines: 10585  bits per pixel: 16
 bytes per line: 18402
 band(s): 1  to  3
Projection: TM  with spheroid: WGS 1984
last line output: 10585
output file complete

££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££

The previous commands work but the resultant image has parts missing (black areas) - this might be to do with the pixel size so the command 7 changes the pixel size.

************************
Seventh Command       **
************************
azgcorr -v -mTM 3 0 0 9 1 0 500000 -dNO -eh latera.dem -es sphseplx.grd -bl 5 3 2 -1 -p 2 2 -1 h248011b.hdf -3 h248013b_532_22test.hdf

pixels of 2meters rather than 1m as in above commands

************************
Eighth Command       **
************************
azexhdf -h h248013b_532_22test.hdf -G h248013b_532_2test.tif

To export result of 7th command

*****************
Ninth command:**
*****************
azgcorr -v -mTM 3 0 0 9 1 0 500000 -dNO -eh latera_lidar.dem \
-es sphseplx.grd \
-bl 5 3 2 -1 -p 2 2 \
-1 h248011b.hdf -3 h248013b_532test_lidardem_2m.hdf

correct Hawk strip 1 using lidar DEM, 532 bands only and 2 m pixels.

££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££££

Output is:

-----------------------------------------------------------------------
azgcorr  -- ver: 4.8.9-lin Feb 26 2008   (C) Azimuth Systems UK 1996, 2008

data recorded in year: 2007  date: 05/09/07
CCD type [3]: SPECIM sensor details and data

HDF level 1 input file: h248011b.hdf
No CApsfov table on hdf - using default optic details

Scanner: CCD image (CAimage) pixels: 320 lines: 4901 bands: 237
  config: Specim HAWK  SWIR
  view angles port: -11.8526 star: 11.8526

Navigation...

Projection and datum shift details initialised....
Spheroid name: WGS84
  semi-major: 6378137.00000  semi-minor: 6356752.31425  e^2: 0.006694380 1/f: 298.257223563
Projection name: TM
  origin  lat: 0.0000  long (central meridian) : 9.0000
  grid coords at origin  easting: 500000.00  northing: 0.00
  scale factor: 1.00000000  hemisphere: north
Datum shift name: none

  site lat/lng start: 42.6686884 11.8815816  end: 42.5849846 11.7722556
       grid    start: 736233.7   4729942.6   end: 727575.5   4720343.4
  flight line grid azimuth: 222.0   direction to: South
  nav  index values from:     0  to:  4899
  scan index values from:     1  to:  4900
  navigation attitude items...
     Pitch  use status: file value unchanged
     Roll  use status: file value unchanged
     Heading  use status: file value unchanged

Pixel spacing stats... along line...
   centre     min: 2.43 max: 3.15 ave: 2.64
   port       min: 0.26 max: 19.57 ave: 3.54
   starboard  min: 0.18 max: 17.31 ave: 3.54
   across line centre (pix 160): 2.48

Site details...
  input lines to be processed: 4900
  corrected image pixels : 4602  lines: 5293
  limits from scans x: 727225.6 736424.9  y: 4720018.3 4730601.7
  pixel/line limits x: 727224.0 736426.0  y: 4720018.0 4730602.0

HDF data items to level 3 output file: h248013b_532test_lidardem_2m.hdf

Correction init  interpolation: BiCub  pixel size X: 2.00 Y: 2.00
DEM file: latera_lidar.dem
    limits SW: 725476.1 4714826.5  NE: 737141.5 4727383.9
    order (1): N-S cols: 6474 rows: 6969 grid inc: 1.8
** info: one or more grid limits are NOT multiples of the grid increment

DEM source: User flatfile
   name  : latera_lidar.dem
   limits  x:   727170 to  736482  y:  4719959 to 4730660
   (image) x:   727224 to  736426  y:  4720018 to 4730602
   cols: 5169  rows: 5940  xinc: 1.8  yinc: 1.8
   height range  from: 0.0  to: 1049.2
   geoid-spheroid correction applied

HDF image access...

Old BIL  bands: 237 pix: 320 lines: 4901
  Image input HDF file: h248011b.hdf
  input  level1 image: CAimage   bands: 237 pix: 320 lines: 4901
  HDF output file: h248013b_532test_lidardem_2m.hdf
  output level3 image: CAimage   bands: 3 pix: 4602 lines: 5293
Correcting bands:   5 3 2
Correction rate: 147  input lines per second

updating hdf

End of azgcorr run - files complete

************************
Tenth Command       **
************************
azexhdf -h h248013b_532test_lidardem_2m.hdf -G h248013b_532test_lidardem_2m.tif

To export result of 9th command
