PIO  2.5.4
Functions/Subroutines
Learn About an Attribute

Learn attribute name, number, type, size in Fortran. More...

Functions/Subroutines

integer function pio_nf::inq_attlen_desc (File, vardesc, name, len)
 File descriptor structure. More...
 
integer function pio_nf::inq_att_desc (File, vardesc, name, xtype, len)
 File descriptor structure. More...
 
integer function pio_nf::inq_attname_desc (File, vdesc, attnum, name)
 

Detailed Description

Learn attribute name, number, type, size in Fortran.

Use the generic functions to call the underlying Fortran functions.

Generic Function Function(s)
pio_inq_attname() inq_attname_desc(), inq_attname_vid(), inq_attname_id()
pio_inq_att() inq_att_desc(), inq_att_vid(), inq_att_id()
pio_inq_attlen() inq_attlen_desc(), inq_attlen_vid(), inq_attlen_id()

Function/Subroutine Documentation

◆ inq_att_desc()

integer function pio_nf::inq_att_desc ( type (file_desc_t), intent(inout)  File,
type(var_desc_t), intent(in)  vardesc,
character(len=*), intent(in)  name,
integer, intent(out), optional  xtype,
integer(pio_offset_kind), intent(out), optional  len 
)

File descriptor structure.

Gets information about attributes.

Parameters
FileThis structure holds information associated with each open file
vardescVariable description structure.
nameName of the attribute
xtypeThe type of attribute
lenThe length of the attribute
Return values
ierrThe error return code (see Error Handling for Fortran).
Author
Jim Edwards

◆ inq_attlen_desc()

integer function pio_nf::inq_attlen_desc ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(in)  vardesc,
character(len=*), intent(in)  name,
integer(kind=pio_offset_kind), intent(out)  len 
)

File descriptor structure.

Gets the attribute length.

Parameters
FileThis structure holds information associated with each open file
vardescVariable description structure.
namename of attribute
lenLength of attribute
Return values
ierrThe error return code (see Error Handling for Fortran).
Author
Jim Edwards

◆ inq_attname_desc()

integer function pio_nf::inq_attname_desc ( type (file_desc_t), intent(inout)  File,
type (var_desc_t), intent(in)  vdesc,
integer, intent(in)  attnum,
character(len=*), intent(out)  name 
)

Gets the name of an attribute.

Author
Jim Edwards