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_DEF_VLEN, Up: Variable Length Array


5.6.2 Learning about a Variable Length Array (VLEN) Type: NF90_INQ_VLEN

Use this type to learn about a vlen.

Usage

       function nf90_inq_vlen(ncid, xtype, name, datum_size, base_nc_type)
         integer, intent(in) :: ncid
         integer, intent(in) :: xtype
         character (len = *), intent(out) :: name
         integer, intent(out) :: datum_size
         integer, intent(out) :: base_nc_type
         integer :: nf90_inq_vlen
NCID
The ncid of the file that contains the VLEN type.
XTYPE
The type of the VLEN to inquire about.
NAME
The name of the VLEN type. The name will be NF90_MAX_NAME characters or less.
DATUM_SIZEP
A pointer to a size_t, this will get the size of one element of this vlen.
BASE_NF90_TYPEP
An integer that will get the type of the VLEN base type. (In other words, what type is this a VLEN of?)

Errors

NF90_NOERR
No error.
NF90_EBADTYPE
Can't find the typeid.
NF90_EBADID
ncid invalid.
NF90_EBADGRPID
Group ID part of ncid was invalid.

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