Once a slot is reserved, it must be associated with an image. The following 4 routines connect an image to a specified image slot IS, in one of the 4 possible access modes (CReate, EXtend, REad only, Write and Read). No part of the image is immediately accessible after that, but the image slot is ready for memory connection using GDF_GEMS.
GDF CReate Image Slot Arguments: IS I Slot number Input GTYPE C*(*) Image type Input NAME C*(*) File name Input FORM I Image format (Real,Integer...) Input SIZE I Image size Input ERROR L Error flag OutputCreates a new file from the information available in image slot IS. The internal header should have been defined (through calls to GDF_WHSEC) before, and is written on the new file header.
GDF EXtend Image Slot Arguments: IS I Slot number Input GTYPE C*(*) Image type Input NAME C*(*) File name Input FORM I Image format (Real,Integer...) Input SIZE I Image size Input ERROR L Error flag OutputThis routine is used to change the size of an image, usually by increasing the last dimension of the image. The new internal header must have been defined before in image slot IS, by use of the GDF_WHSEC routine.
GDF REad Image Slot Arguments: IS I Slot number Input GTYPE C*(*) Image type Output NAME C*(*) File name Input FORM I Image format (Real,Integer...) Output SIZE I Image size Output ERROR L Error flag OutputThis routine is used to open an existing image for ReadOnly operations. The image is available for file sharing.
GDF WRite Image Slot Arguments: IS I Slot number Input GTYPE C*(*) Image type Output NAME C*(*) File name Input FORM I Image format (Real,Integer...) Output SIZE I Image size Output ERROR L Error flag OutputThis routine is used to open an existing image for ReadWrite operations. The image is not available for file sharing.