XPAC Import File Format
The Grids to XPAC function creates a multi-variable text file (with a .ASC filename extension) which can be imported by XPAC.
In the example file below, the start column for X coordinate data is 1, the start column for Y coordinate data is 13, and the width of the X and Y coordinate fields is 12.

- Rows that belong to the header are designated by a semi-colon character ( ; ).
- Row 1 contains the X and Y Origin of the grid, which is the bottom left corner (not the centroid).
- Row 2 contains the X and Y Extent (width and height) of the grid area.
- Row 3 contains the Mesh size in the X and Y directions.
- Row 4 contains the Rotation required to ensure the correct orientation of the grid.
- Subsequent rows in the header specify a Name, Start column and a Width for every grid in the dataset.
- In the example, LOW starts in column 25 and has a width of 10. TOPS starts in column 185 and has a width of 10.
- After the header, the data is then shown in columns as defined by the header.
- Null values are shown as blanks in the data.
- This short example only shows values for the first 4 centroids and only the values for LOW are shown.
X and Y values in the data are the centroid X and Y; NOT the bottom left or top right corners: