In-house developed scripts

This is a list of some of the scripts that have been developed at ARSF-DAN to aid in processing and handling of the data. As these may be useful for further processing of ARSF data descriptions are included here. If you have an interest in using one of these scripts, or would like to know if one would be useful for what you are trying to do, then please contact us and we can supply them to you with limited help.

We also have some general purpose scripts on GitHib

Please note that these are specifically designed for processing using linux systems as set up at ARSF-DAN. There are no guarantees that they will work with other system set ups. Some scripts are simply just wrappers for using other free packages (such as liblas or LAStools). A lot of these scripts are only suitable for working on raw data and not the standard delivered level-1 data

LiDAR

Name Description
check_ascii_lidar(.sh) Linux bash script that scans ASCII lidar and reports min/max values
classify_las Linux bash program for auto-classifying noisy points in LAS files
get_first_return.sh Linux bash scan ASCII LiDAR files and returns only first returns
lag Linux lidar point cloud viewer
make_lidardem_or_intensity.sh Linux GRASS script that makes a simple DEM or intensity mosaics from ASCII lidar files

Raw hyperspectral data

Name Description
bil_binning.py spectrally bins (x2) a hyperspectral raw file
cal_radiometric.py Generates a calibration curve in each band given input data in BIL or BSQ format and a known lamp file
check_fsm.py Works out the corrected value for frame shift smear at a given band assuming a constant DN value through the spectrum
check_qpftiming.py Test specified Eagle/Hawk framerates against actual framerates calculated from qpfTiming
checkpeaks.py Matches measured spectral lines to fityk-detected peaks and eagle/hawk pixel numbers for use in spectral calibration
dummy_linecount.py Replaces a broken line counter on the first band of eagle and hawk
gen_bandsets.py Generates bandset (.prn, .bnd, .wls) files from a wavelength scale file
gen_synth_radcal.py Generates a synthetic Eagle or Hawk calibration file
gen_synth_raw.py Generates a synthetic Eagle or Hawk dataset
gen_synth_sbet.py Generates a synthetic SBET file
generate_prn.py Generates a .prn file from some subset of bands in a given .wls file
nav2txt Output contents of an AISA nav file to an ASCII text file
split_autodark.py split a line from it's dark frames
splitline split eagle and hawk flightlines
slice_nav.py split nav files
specim_gap_check.py Searches Eagle/Hawk raw files for dropped frames by looking at the band 1 frame counter

Camera

Name Description
photo2thumb.sh Uses the Linux convert utility to convert TIFF files to smaller JPEGS

General

Name Description
asterdem.sh generates a DEM from ASTER data using GRASS
nextmapdem.sh generates a DEM from nextmapdata using GRASS
dimfixer.py Truncates BIL files so that the file size matches what the header file says it should
fastQC QC viewer of BIL data files
get_sbet_bounds.py Gets North/South/East/West extent of (part of) an SBET file in lat/lon
logwriter.py Outputs mean altitude, heading and speed from an SBET file for a number of Eagle or Hawk lines
make_mosaic.sh Script to convert GeoTIFFs into JPGs using GRASS and create a mosaic image

Python Libraries

Name Description
band_reader.py reads AISA band files
data_handler.py BIL/BSQ reading/writing library
sbet_handler.py functions to manipulate SBET files and Specim nav files
sol_reader.py sol reading library
Last modified 23 months ago Last modified on May 21, 2015 4:23:16 PM