Keith Aric Cherkauer
Software
|
|
GMT Scripts and Programs
gmt_utils.tgz - a collection of utilities for GMT (extract using tar -xvzf gmt_utils.tgz):
- ReadMe.txt - includes information about installing the scripts and programs.
- C Programs
- coldiff.c - This program reads through two multicolumn ASCII files and computes the differences between the selected columns. Differences are output to stdout, statistics are output to stderr.
- colfilter.c - This program reads through a multicolumn ASCII file and exports only the selected columns to stdout (all functionality can be duplicated with awk).
- colstat.c - This program reads through a multicolumn ASCII file and computes basic statistics on the selected colmns. Output is to stdout.
- linearregression.c - This program computes a linear regression for data from a two column ASCII file. It outputs the regression parameters and statistics as described in Numerical Recipies.
- makedates.c - This program creates two files (one with text and one with tick marks), which can be used to create a GMT x-axis with dates and times. 5 formats are available (only one works with sub-daily tick marks), providing necessary flexibility for creating nice looking date axes.
- monthstats.c - This program reads through an ASCII file with julian days as the first column and computes monthly statistics (functionality of this program has been included in newer scripts which are also more flexible - will include those later).
- C-shell Scripts
- scripts/arcgrid_to_xyz.script - This script reads in an ArcInfo ASCII grid file (created using GRIDASCII in arc or grid) and writes out the three column ASCII equivalent for use in GMT. Output is to stdout.
- Python Scripts
- scripts/get.range.and.interval.py - This script accepts a range defined by maximum and minimum values and fits any number of intervals between such that the resulting numbers have an acceptable number of significant figures. This information can be used for making prettier axes and colorbars.
|