Version 54 (modified by knpa, 14 years ago) (diff)


ARSF Scripts and Binaries

Please keep this page updated. Also please keep it sorted in a sensible order or we're never going to be able to find anything...


Script Language Use Author
alspp.exe bash Runs wine version of ALSPP bash Configure wine environment for ARSF users
attune bash Runs wine version of Attune (boresight calibration) bash Checks the ASCII LiDAR files in the delivery for erroneous data
classify_las Binary (C) LiDAR classification bash Runs classify_las on a set of LAS files using a specified classification algorithm Python Creates a LaTeX file for generating a PDF read-me for delivery Python Creates a Readme for lidar deliveries
fugroviewer.exe bash Runs wine version of Fugroviewer
Python Script for generating mask file for use in GRASS for old Optech LiDAR bash Creates new ASCII lidar files with 1st returns only ASCII English text Imports lidar .txt file into grass (run from within grass)
lag Binary (C++) LiDAR file viewer harg + chrfi bash Convert a directory of LAS files or a single LAS file into ascii format Python Populates las files with header with information that may have been lost: min and max of x,y,z and number of points by return knpa bash Merges sets of LAS files of the form *_000.LAS, *_001.LAS... etc. together Python Samples a LAS file at a specified interval and creates an output LAS file of these points knpa Python Classifies all points as a user defined number (quite slow) knpa
LASsorter Python sorts Las files by time, x, y, z , ascending and descending
leica_photo_processing bash Runs wine version of Leica's photo processor bash Generates an azgcorr-format ASCII DEM from old Optech lidar point cloud files
Python Reads old Optech LiDAR files and outputs a numeric histogram for use in filtering Python Extracts statistics from a set of LAS files bash Create a LiDAR delivery folder
bash Create a lidar dem or intensity image from ascii lidar files
pt_cloud_filter Binary (C) Removes points of a specified classification from ascii lidar point cloud knpa Python Sol reading library chrfi bash Cuts UTM zone number off old Optech LiDAR point cloud files


Script Language Use bash Determines lat/lon for flight from Eagle/Hawk header files bash Determines BNG grid squares for flight from Eagle/Hawk header files
bash Script to use IGM files to generate a GLT file and map level 1 data bash Creates a hyperspectral delivery folder
bash Script to convert GeoTIFFs into JPGs and create a mosaic image (with vectors) Python Get the North/South/East/West extent of a number of hdr files in bng coords Python Test specified Eagle/Hawk framerates against actual framerates calculated from qpfTiming Python Create a LaTeX file for a PDF Readme for Hyperspectral deliveries Python Truncates BIL files so that the file size matches what the header file says it should
fastQC Binary (C) Program for viewing BIL files (raw data or level 1) Python Auto-renames (line numbers and removes sct section) level 1, level 3, screenshots for a delivery. Python Generates config files for hyperspectral data processing Python Generates a synthetic Eagle or Hawk dataset Python Generates a synthetic SBET file Python Extracts boresight values for given day from data file Python Extracts calibration file names for given day from data file Python Gets North/South/East/West extent of (part of) an SBET file in lat/lon
getposition Python Gets position information at from an SBET file for a specified time (or file limits) Python Finds sync records on one or more AISA nav files Python Checks if a Specim file has a mismatch between recorded and actual frame rate (Hawk problem) Python Outputs mean altitude, heading and speed from an SBET file for a number of Eagle or Hawk lines Python Checks which of a selection of Eagle/Hawk header files have compatible binning, framerate and integration time settings Python Merges a .cfg and a .sync (eagle/hawk line sct offsets)
nav2txt Binary (C) Output contents of an AISA nav file to an ASCII text file Python Converts azgcorr's ppv (per-pixel view vector) output to an ENVI IGM Python Runs az suite on specified Eagle/Hawk flightline for processing Python Cuts a chunk of an AISA nav file out into a smaller nav file Python Searches Eagle/Hawk raw files for dropped frames by looking at the band 1 frame counter Python Submits an ARSF project for processing through the grid engine


Script Language Use Python Creates a LaTeX file for generating a PDF read_me for delivery Python Corrects image event files, mainly by using a sol/sbet file to correct position accuracy bash Creates a Photograph delivery folder bash Converts RCD TIF files to JPG thumbnails Python generates new file names for tiffs and their entries in the image events file Python Adds tags to tiff files (using image event files) which define position, attitude and other metadata


Script Language Use
atcor bash Runs ATCOR-4
Python uses grass to produce tiff images of vectors Python Converts binary files from one data type to another (eg. Float32 -> Int16) Python Converts BNG numeric grid references to OS grid square co-ordinates Python Reads eagle or hawk header files and SBET file to generate a list of the DEM tiles that the SBET covers bash Converts dems from az format header to grass header bash Converts dems from grass format header to az header Python Converts .doc or .odt files to PDF format bash Script to make a workspace copy of a project directory (ie. avoid copying raw files, etc) Python Finds linux-unfriendly characters in filenames
freelook bash Runs ENVI Freelook Python Creates a config file for hyperspectral and camera read_me generators bash Convert GML Vector files to Shapefiles
gpstime Python Converts GPS time-of-week to human-readable format and vice-versa Python Lists contents of an HDF file to the terminal
hdf_to_bil Python converts hdf files to bil files (navigation data) bash Converts specified lat/lon into BNG co-ordinates (wrapper around appropriate proj command) Python Sets defined bad pixels in a BIL or BSQ file to be a mask value bash Generates an azgcorr-style DEM from NextMap data
ppv_to_envi_igm Python converts a ppv file (whatever those are) to an igm file and creates a envi header file for it bash Checks that a specified project conforms to the current defined structure and file name formats bash Symlinks all files in a source directory into a target directory
teqc Binary (third-party) Program for slicing/splicing/fiddling with RINEX or other GPS base station data (like raw data) Python Searches E/H headers and gets start/stop times for importing into Grafnav to show on trajectory Python Extracts date from Trimble GPS format file names


Script Language Use Python Functions to convert numbers to letters and back (A=1, B=2 etc) Python Reads AISA band (.prn) files Python Sorts config files into sensible order (can also be executed directly) Python Functions for latex readme generator scripts Python Reads/writes BIL and BSQ files Python Converts GPS time-of-week to human-readable format and vice-versa Python Gets mean altitude, heading and speed from an SBET file for a number of Eagle or Hawk lines Python Functions to manipulate SBET files, also limited AISA nav file support


Script Language Use Python Part of old processing job submission system Python Parse output from az* programs to remove cruft - not kept up to date with newer versions and possibly too ambitious Python Convert GeoTIFFs to JPEGs
lagf12 bash fedora 12 version of lag, when the main version was designed for f10
kqsub bash Handy for quick submission of individual flightlines and sct values. Designed for use with old rune/runh scripts Python Unpacking check files script Python Unpacking check the folder structure

If it's obsolete and been replaced by something newer / better, delete the obsoleted one. If we don't have a replacement, it may be worth keeping around but remember the cost in confusion.

Explanation of symlinks in ~arsf/usr/bin

Link name Link target Use
configSorter /users/rsg/arsf/usr/lib/python/site-packages/ Link to configSorter library (see Libraries section) - library is also executable


Script Language Use Python Python symbolic link to `/users/rsg/arsf/code/mask_creation/' bash Python Python Python Python symbolic link to `/users/rsg/arsf/code/mask_creation/' Python Python Python symbolic link to `/users/rsg/arsf/code/mask_creation/' Python

Note: See also Python resources/libraries on main RSG wiki at