SdsGetDims - Return dimensions of an SDS object

Function

Return dimensions of an SDS object

Description

Given the identifier to an object, return the dimensions of the object.

Language

C

Declaration

void SdsGetDims(SdsIdType id, long *ndims, unsigned long *dims, StatusType * SDSCONST status)

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>idSdsIdTypeThe identifier to the data object.
<ndimslong*The number of dimensions if the object is a primitive or structure array.
<dimsunsigned long*The dimensions of the data. An array of size at least SDS_C_MAXARRAYDIMS (7) should be allowed to receive this.
!statusStatusType*Modified status. Possible failure codes are:

SDS__BADID The identifier is invalid

Prior requirements

None.

Support

Tony Farrell, {AAO}

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tjf@aao.gov.au