cg_iRIC_Read_Grid2d_Open

Opens the grid.

The grid opened with this function can be closed by calling cg_iRIC_Read_Grid2d_Close.

Format (FORTRAN)

call cg_iRIC_Read_Grid2d_Open(fid, grid_handle, ier)

Format (C/C++)

ier = cg_iRIC_Read_Grid2d_Open(fid, grid_handle)

Format (Python)

grid_handle = cg_iRIC_Read_Grid2d_Open(fid)

Arguments and returned value

fid

Table 416 Description of fid

Item

Value

Name

fid

Input/Output

Input

Description

File ID

Data type (FORTRAN)

integer

Data type (C/C++)

int

Data type (Python)

int

grid_handle

Table 417 Description of grid_handle

Item

Value

Name

grid_handle

Input/Output

Output

Description

The handle of the grid

Data type (FORTRAN)

integer

Data type (C/C++)

int*

Data type (Python)

int

ier

Table 418 Description of ier

Item

Value

Name

ier

Input/Output

Output

Description

Error code. 0 means success, other values mean error.

Data type (FORTRAN)

integer

Data type (C/C++)

int

Data type (Python)

(Not defined)