proj


Introduction:

PROJ is a program, and a corresponding C library, to convert
between geographic longitude and latitude coordinates and various
cartesian coordinate systems.

More than 100 projection functions are available, from Azimuthal
Equidistant to Winkel Tripel, including standard projections such
as Lambert Azimuthal Equal Area and Mercator.

Web Site:


http://proj4.org/

Reference:

Usage:

On any ARC cluster, check the installation details
by typing "module spider proj".

PROJ requires that the appropriate modules be loaded before it can be run.
One version of the appropriate commands for use on NewRiver is:

module purge
module load proj/4.9.2
    

Examples:

The following batch file has PROJ read commands frominput.txt
which have it perform UTM forward projection with a standard UTM
central meridian nearest longitude 112W.

#! /bin/bash
#
#PBS -l walltime=00:05:00
#PBS -l nodes=1:ppn=1
#PBS -W group_list=newriver
#PBS -q open_q
#PBS -j oe
#
cd $PBS_O_WORKDIR
#
module purge
module load proj/4.9.2
#
proj +proj=utm  +lon_0=112w  +ellps=clrk66 -r input.txt

A complete set of files to carry out a similar process are available in
proj_example.tar