Q: Is there any way to speed up geocorrecting my data or to reduce the file size of the geocorrected files?

A:
There are three main ways to do this:

  1. Only geocorrect bands you want to look at. Azgcorr can be passed a -bl parameter that tells it only to geocorrect bands in the given list. For example, to correct bands 4, 5 and 6 you'd use:

azgcorr ... -bl 4 5 6 -1 ...

...the -1 at the end is necessary to tell azgcorr that you've finished giving it band numbers.

  1. If you're only interested in part of the flightline, don't process the parts you're not interested in. This may require some trial-and-error to establish the line numbers. Use the -l option to azgcorr to process only a certain range of scan lines. To obtain the total number of scan lines, run:

azexhdf <hdf_file_name> | grep SClines

For example, for a flightline with 10000 scan lines, if you only want lines 2000-6000 you'd use:

azgcorr ... -l 2000 6000 ...

  1. Make the pixel size you're using larger - larger pixels give less detail, but the file size is inversely proportional to the square of the pixel size, so if you double the pixel size (if you don't need the extra detail) you will reduce file sizes by roughly 75%.
  1. Use an extra "-inf2" option to azgcorr to specify fast nearest neighbour interpolation. This is significantly faster than other processing methods.

Back to FAQ


Related articles:

Last modified 13 years ago Last modified on May 18, 2012, 5:31:14 PM