Help for CUTQUAD
PURPOSE
CUTQUAD uses a lower left coordinate point to cut a degree quadrangle
from a geographic image.
CALL
cutquad INPUT OUTPUT PARAMS
WHERE:
INPUT is the input data set (must have a GeoTIFF label).
OUTPUT is the output data set (will have a GeoTIFF label).
PARAMS lon,lat,nlon,nlat,pixdeg.
OPERATION
The corner given by parameters (lon,lat) is converted to a pixel
coordinate with pixmap referring to the input image. Then the
size is calculated by pixdeg times nlon and pixdeg times nlat.
One pixel is added for point type images to nl,ns.
Finally gtcopy is applied. This guarantees no resampling, if the user
ensures that the image aligns with degree quadrangles.
PERFORMANCE
Restrictions
------------
The input image must have a GeoTIFF label and be mapped geo-
graphically.
The input image must align properly with the desired quadrangle,
otherwise resampling will take place.
HISTORY
Original Programmer: A. L. Zobrist, 30 Jan, 2007
Current Cognizant Programmer: A. L. Zobrist
Revised: A. L. Zobrist, 27 Feb, 2007 ll corner
Revised: A. L. Zobrist, 03 Mar, 2007 skirt param
2022-06-28 B. Crocco afids to opensource
PARAMETERS:
INP
Input file name with GeoTIFF
label
OUT
Output file name
LON
Lon of lower left corner
LAT
Lat of lower left corner
NLON
Horizontal number of degrees
NLAT
Vertical number of degrees
PIXDEG
number of pixels per degree
SKIRT
added pixels of skirt
.END
See Examples:
Cognizant Programmer: