XMM-Newton SAS Home Page
XMM-Newton Science Analysis System

dal (dal-1.198) [xmmsas_20211130_0941-20.0.0]


A column can be accessed and released again with the procedures

The following example illustrates how to change the values in a column.

program modifyColumn
  use dal
  type(DataSetT) :: set
  type(TableT) :: tab
  type(ColumnT) :: col
  integer(kind=int32), dimension(:), pointer :: x

  set = dataSet("test.dat",Modify)
  tab = table(set,"test")
  col = column(tab,"x",0,0,Modify)
  x => int32Data(col)
  x = 124
  call release(col)
  call release(set)
end program

The following procedures can operator on a column handle:

To reduce the size of the column that is accessed in one go (and thereby reducing memory usage), one can select a certain range:

Note: the current implementation of the DAL does not support the column seek function.

XMM-Newton SOC -- 2021-11-30