GetGridCDFInfo()
Summary
Gets info from a Grid CDF file.
Changes
Added to Version 6.0/2012.
Syntax
GetGridCDFInfo(string filename)
| Argument | Contents |
|---|---|
| filename | The path and file name of the Grid CDF file |
Returns
An options array of information as follows:
| Option | Type | Contents |
|---|---|---|
| Rows | Integer | Number of rows in grid |
| Columns | Integer | Number of columns in grid |
| Grid Area | Boolean | "True" if an area grid, "False" if a point grid |
| Data Values | String | Number of cells in grid with values |
| Data Rows | Real | Number of rows in grid with values |
| Data Columns | Real | Number of columns in grid with values |
Notes
-
The Grid CDF may have rows or columns without values.
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The specified file could not be found |
| Error | The file is not a valid Grid CDF file |
See Also
| Function | Summary |
|---|---|
| CreateGrid() | Creates a geographic file of features on a regular grid |