next up previous contents
Next: Ending the work Up: Attributes Previous: Writing attributes   Contents

Deleting attributes

Attributes are deleted using idba_scusa:

c     Delete the confidence interval from the wind speed

c     The referring variable is identified in the same way as with
c     idba_critica:
      call idba_seti(handle, "*context_id", saved_id)
      call idba_seti(handle, "*var_related", "B11002")

c     The attributes to delete are selected by setting "*varlist":
      call idba_setc(handle, "*varlist", "*B33007")
      call idba_scusa(handle)

This code introduces a new function:

idba_scusa
Delete attributes from a variable identified in the same way as with idba_critica. By default it deletes all attributes; specific attributes to delete can be selected by setting their names, separated by commas, in the "*varlist" variable.

idba_scusa will not work unless the database has been opened in attribute rewrite mode.



root 2007-06-20