Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Next: , Previous: Opaque Type, Up: Opaque Type


5.7.1 Creating Opaque Types: NF90_DEF_OPAQUE

Create an opaque type. Provide a size and a name.

Usage

       function nf90_def_opaque(ncid, size, name, xtype)
         integer, intent(in) :: ncid
         integer, intent(in) :: size
         character (len = *), intent(in) :: name
         integer, intent(out) :: xtype
         integer :: nf90_def_opaque
NCID
The groupid where the type will be created. The type may be used anywhere in the file, no matter what group it is in.
NAME
The name for this type. Must be shorter than NF90_MAX_NAME.
SIZE
The size of each opaque object.
TYPEIDP
Pointer where the new typeid for this type is returned. Use this typeid when defining variables of this type with NF90_DEF_VAR.

Errors

NF90_NOERR
No error.
NF90_EBADTYPEID
Bad typeid.
NF90_EBADFIELDID
Bad fieldid.
NF90_EHDFERR
An error was reported by the HDF5 layer.

Example




       
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690