domain
Sections
NAME
domain - Domain/projection converter
SYNOPSIS
domain [parameters] [transform location]
PARAMETERS
Command Line | Resource | Default | Description |
---|---|---|---|
-h | help | No | Lists basic help information. |
-df=filename | default | wxp.cfg | Sets the name of the resource file. |
-me=level | message | out2 | Specifies level of messages to be displayed |
-fp=path | file_path | the current directory | Specifies location of database files. |
-pd=domain | plot_domain | program dependent, mostly "us" | Sets the plotting domain |
-pa=param[,param...] | parameter | none | Specifies addition parameters to program. |
positional | transform | none | Specifies the transformation type:
|
positional | point | none | Specifies the input location either as lat,lon or X,Y. |
DESCRIPTION
The domain program is an interface into the WXP domain/projection library. The user specifies a transformation and a location and the program transforms the data to the requested coordinates. The transformation is based on the resrc:plot_domain. Regions can also be specified.
EXAMPLES
domain -pd=us earth2proj 40,-90 6.755947,-55.022774
The input is the lat,lon coordinate 40,-90. South latitude and west longitude are negative. The output is the X,Y coordinates on the projection plane. In this case the projection plane is a polar stereographic projection centered on 97W longitude.-
domain -pd=us earth2grid 40,-90 14.937368,7.268939
The output here is the location of the points relative to the grid specified by the plot domain. In this case, the grid is a 25x17 grid centered on 39,-97 with a grid spacing of 2.3 (230 km). The upper left hand gridpoint is 0,0 and the lower right gridpoint is 24,16.
FILES
- wxp.reg - The default region file
SEE ALSO
Last updated December 2013