Changes between Initial Version and Version 1 of Help/UsingAzgcorr


Ignore:
Timestamp:
Mar 2, 2012, 6:10:25 PM (12 years ago)
Author:
mark1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/UsingAzgcorr

    v1 v1  
     1= Basic azgcorr usage =
     2
     3Azgcorr is a command line driven geocorrection software package that can be used to create level-3 data from ARSF delivered level-1 data from the Eagle, Hawk, ATM and CASI instruments. Azgcorr is used to geocorrect data collected prior to 2011. If you have ARSF data that was collected during or after 2011 then you will need to use [wiki:Processing/aplquickstart APL] to process your data.
     4
     5== Compulsory arguments ==
     6
     7 * '''-1 <filename>''' This is used to specify the level-1 HDF file which you wish to geocorrect
     8 * '''-3 <filename>''' This is used to specify the level-3 HDF file name that will be output from azgcorr
     9 * '''-v''' This is not strictly compulsory but tells azgcorr to use verbose output. This is useful if you need to get in touch with us about an issue as it will give the developer more information how to solve this issue.
     10
     11== Some widely-used options ==
     12
     13The following are the widely used options. For more information on these and other options please run {{{azgcorr -help}}}
     14
     15=== Digital elevation model ===
     16
     17Note that when using a DEM it should be in the same projection as the required level-3 output.
     18
     19 * '''-eh <filename>''' This is used to specify an ASCII DEM with the format as described [wiki:FAQ/azgcorrDEM here]. If a DEM was delivered from ARSF (pre-2011) then this will be the format of the DEM, and is the format we recommended when using azgcorr.
     20
     21 * '''-es <filename> | NO''' This is used to specify whether to use a geoid-spheroid separation file. If the DEM has heights relative to the WGS84 spheroid then no geoid-spheroid shift is required (use {{{-es NO}}}). Else a suitable file (see [wiki:Downloads/geoid-spheroid here] to download) should be given unless using the -mUK99 projection (see below).
     22
     23=== Output projection ===
     24
     25 * '''-mTMw CM''' This is the ARSF recommended map projection to get UTM data referenced to the WGS84 spheroid. You should replace CM with the central meridian of the UTM zone that you wish to map to, e.g. if you want to map to zone 31 you would replace CM with 3
     26
     27 * '''-mUK99 <filename>''' This is used to map data into the Ordnance Survey National Grid projection (OSTN02). You need to pass it a file that describes the OSTN02 projection (see [wiki:Downloads/geoid-spheroid here] to download). Note that you do NOT need to specify a geoid-spheroid shift when using this projection.
     28
     29=== Pixel size ===
     30
     31 * '''-p X Y''' This is used to specify the output level-3 pixel size. e.g. -p 2 2 will output the data to square pixels of size 2m.
     32
     33=== Band selection to map ===
     34
     35 * '''-bl LIST -1''' This is used to specify a list of bands that you wish to map, note the trailing '''-1''' which tells azgcorr that the list has finished. You should replace LIST with the space separated list of bands to map, e.g. -bl 100 50 45 -1 will map bands 100, 50 and 45.
     36
     37== Some example command lines ==
     38
     39The following are example command lines that show possible usage.
     40
     41* Map the bands 30, 15 and 7 from the file lev1.hdf to 2m pixels storing in a file called lev3.hdf. Use the OSTN02 transformation to get data in Ordnance Survey National Grid projection and use elevation data from my_ascii.dem.
     42
     43 {{{azgcorr -v -mUK99 osgb02.cgrf -bl 30 15 7 -1 -p 2.0 2.0 -1 lev1.hdf -3 lev3.hdf -eh my_ascii.dem}}}
     44
     45* Map bands 100, 110, 120 and 130 from level1_data.hdf to WGS84 UTM zone 29 using 4m pixel size. Use elevation data, which is referenced to WGS84 spheroid, from the DEM named my_ascii_data.dem.
     46
     47  {{{azgcorr -v -mTMw -9 -bl 100 110 120 130 -1 -p 4.0 4.0 -1 level1_data.hdf -3 level3_data.hdf -eh my_ascii_data.dem -es NO}}}