Note that when using the stand-alone version of the REF library, it is currently necessary to ensure that HDS_START is called to activate HDS prior to making calls to any REF routines. This requirement will be removed in future, and is currently not required with the ADAM version.