Description:
Finds the extent of the data (given X and Y) and then reports back the size
of the grid that is necessary to contain the data. Also returns the reference pixel position.
Invocation
CALL SURFLIB_CALC_OUTPUT_GRID (N_FILES, N_PTS, PIXEL_SZ, X_PTR,
Y_PTR, NX, NY, I_CENTRE, J_CENTRE, STATUS )
Arguments
N_FILES = INTEGER
(Given)
Number of data sets (ie files)
N_PTS = INTEGER (Given)
Number of X,Y pairs
supplied
PIXEL_SZ = REAL (Given)
Size of each pixel (radians)
X_PTR( N_FILES ) =
INTEGER (Given)
Pointers to arrays containing DOUBLE PRECISION X positions
Y_PTR(
N_FILES ) = INTEGER (Given)
Pointers to arrays containing DOUBLE PRECISION Y
positions
NX = INTEGER (Given)
Required number of points in X in output grid
NY =
INTEGER (Given)
Required number of points in Y in output grid
I_CENTRE = INTEGER
(Given)
Location of reference pixel in X
J_CENTRE = INTEGER (Given)
Location of
reference pixel in Y
STATUS = INTEGER (Given & Returned)
Global Status
Notes:
Copyright
Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights
Reserved.