eccodes
 All Data Structures Namespaces Files Functions Groups Pages
Public Member Functions
eccodes::codes_get_size Interface Reference

Get the size of an array key. More...

Public Member Functions

subroutine codes_get_size_int (msgid, key, size, status)
 Get the size of an array key. More...
 
subroutine codes_get_size_long (msgid, key, size, status)
 Get the size of an array key. More...
 

Detailed Description

Get the size of an array key.

To get the size of a key representing an array.

In case of error, if the status parameter (optional) is not given, the program will exit with an error message.
Otherwise the error message can be gathered with codes_get_error_string.

Parameters
gribidid of the grib loaded in memory
keyname of the key
sizesize of the array key
statusCODES_SUCCESS if OK, integer value on error

Member Function/Subroutine Documentation

subroutine codes_get_size_int ( integer(kind=kindofint), intent(in)  msgid,
character(len=*), intent(in)  key,
integer(kind=kindofint), intent(out)  size,
integer(kind=kindofint), intent(out), optional  status 
)

Get the size of an array key.

To get the size of a key representing an array.

In case of error, if the status parameter (optional) is not given, the program will exit with an error message.
Otherwise the error message can be gathered with codes_get_error_string.

Parameters
msgidid of the message loaded in memory
keyname of the key
sizesize of the array key
statusCODES_SUCCESS if OK, integer value on error
subroutine codes_get_size_long ( integer(kind=kindofint), intent(in)  msgid,
character(len=*), intent(in)  key,
integer(kind=kindoflong), intent(out)  size,
integer(kind=kindofint), intent(out), optional  status 
)

Get the size of an array key.

To get the size of a key representing an array.

In case of error, if the status parameter (optional) is not given, the program will exit with an error message.
Otherwise the error message can be gathered with codes_get_error_string.

Parameters
msgidid of the message loaded in memory
keyname of the key
sizesize of the array key
statusCODES_SUCCESS if OK, integer value on error

The documentation for this interface was generated from the following file:
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.