cg_iRIC_Read_Grid_FunctionalTime

Reads the time values of grid attribute with time dimension.

Format (FORTRAN)

call cg_iRIC_Read_Grid_FunctionalTime(fid, name, time_arr, ier)

Format (C/C++)

ier = cg_iRIC_Read_Grid_FunctionalTime(fid, name, time_arr)

Format (Python)

time_arr = cg_iRIC_Read_Grid_FunctionalTime(fid, name)

Arguments and returned value

fid

Table 502 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

name

Table 503 Description of name

Item

Value

Name

name

Input/Output

Input

Description

The name of the grid attribute

Data type (FORTRAN)

character(*)

Data type (C/C++)

const char*

Data type (Python)

str

time_arr

Table 504 Description of time_arr

Item

Value

Name

time_arr

Input/Output

Output

Description

The array of time values

Data type (FORTRAN)

double precision, dimension(:)

Data type (C/C++)

double*

Data type (Python)

numpy.array

ier

Table 505 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)