|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://xmm.vilspa.esa.es/sas/7.1.0/doc/dal/node27.html
Дата изменения: Sun Jul 8 23:42:43 2007 Дата индексирования: Sat Dec 22 07:18:22 2007 Кодировка: Поисковые слова: asteroid |
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.
XMM-Newton SOC/SSC -- 2007-07-08