Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/8.0.0/doc/dal/node27.html
Дата изменения: Tue Jul 1 23:47:07 2008
Дата индексирования: Fri Sep 5 17:12:48 2008
Кодировка:

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


dal (dal-1.182.1) [xmmsas_20080701_1801-8.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 -- 2008-07-01