Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.0.0/doc/dal/node27.html
Дата изменения: Wed Jun 28 22:32:45 2006
Дата индексирования: Sat Dec 22 07:16:39 2007
Кодировка:

Поисковые слова: south pole
Array XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


dal (dal-1.182) [xmmsas_20060628_1801-7.0.0]

Block API Overview Table Home Index

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


Array

An array is a block that is an n-dimensional array of scalars. An array can be accessed and released with the following procedures:

Once the handle is available, the following properties can be enquired:

The data in an array can be accessed via access function. There is a large variety of those to support the different types and dimensions.

The following example illustrates how to change the values in an array.

program modifyColumn
  use dal
  type(DataSetT) :: set
  type(ArrayT) :: arr
  integer(kind=int32), dimension(:,:), pointer :: x

  set = dataSet("test.dat",Modify)
  arr = array(set,"test")
  x => int32Array2Data(arr)
  x = 124
  call release(arr)
  call release(set)
end program

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

Note: the current DAL does not support the seek function.


Block API Overview Table Home Index

XMM-Newton SOC/SSC -- 2006-06-28