Invent BinDS data and store in an ADI object
CALL BDI1_INVNT( BDID, HFID, ITEM, TYPE, MODE, ITID, NDIM, DIMS,
Services BDI map requests for HDS files. The BDI system ensures that this routine is not called more than once for a given object. So, all the routine does is translate map requests supplying the name of the abstract model quantity, type and mode into calls to map HDS components. The arguments supplied are,ModelObject, HDSfile, Item, Type, Mode
Mode can be read, write or update. For read and update the object must exist, and for read the data must be valid. In write mode the item need not exist as all valid item dimensions and types can be defaulted using information in the ModelObject.
Invent axis bounds from centres and optionally widths
CALL BDI1_INVNT_VW2B( N, CEN, WOK, WID, BNDS, STATUS )
Invent axis widths from axis values
CALL BDI1_INVNT_V2W( NVAL, AXVAL, WIDTH, STATUS )
Invent axis half-widths from axis widths
CALL BDI1_INVNT_W2HW( NVAL, WIDTH, HWIDTH, STATUS )
Invent axis lower half-widths from axis values
CALL BDI1_INVNT_V2LW( NVAL, VALUE, LWIDTH, STATUS )
Invent axis upper half-widths from axis values
CALL BDI1_INVNT_V2HW( NVAL, VALUE, HWIDTH, STATUS )
Invent errors from REAL variances
CALL BDI1_INVNT_V2ER( NVAL, VAR, ERR, STATUS )
Invent errors from DOUBLE variances
CALL BDI1_INVNT_V2ER( NVAL, VAR, ERR, STATUS )
Convert masked BYTE values to LOGICAL in situ
CALL BDI1_INVNT_BCOP( N, BVAL, LVAL, STATUS )
Provides mapping for the 'Error' class member of BinDS derived objects in HDS files. This member is derived from the VARIANCE file object.