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: NF90_INQ_ENUM, Up: Enum Type


5.8.4 Learn the Name of a Enum Type: nf90_inq_enum_member

Get information about a member of an enum type.

Usage

       function nf90_inq_enum_member(ncid, xtype, idx, name, value)
         integer, intent(in) :: ncid
         integer, intent(in) :: xtype
         integer, intent(in) :: idx
         character (len = *), intent(out) :: name
         integer, intent(in) :: value
         integer :: nf90_inq_enum_member
NCID
The groupid where this enum type exists.
XTYPE
The typeid for this enum type.
IDX
The one-based index number for the member of interest.
NAME
A character array which will get the name of the member. It will have a maximum length of NF90_MAX_NAME.
VALUE
An integer that will get the value associated with this member.

Errors

NF90_NOERR
No error.
NF90_EBADTYPEID
Bad type id.
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