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


dal (dal-1.187) [xmmsas_20141104_1833-14.0.0]

Table API Overview Reference Home Index

Meta Index / Home Page / F90 DAL API / API Overview


Column

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.


Table API Overview Reference Home Index

XMM-Newton SOC/SSC -- 2014-11-04