PIO  2.5.4
Functions/Subroutines
Read Attributes

Reads an attribute from a file in Fortran. More...

Functions/Subroutines

integer function pionfatt_mod::get_att_desc_text (File, varDesc, name, values)
 Reads an netcdf attribute from a file. More...
 
integer function pionfatt_mod::get_att_desc_1d_int (File, varDesc, name, values)
 Reads an netcdf attribute from a file. More...
 
integer function pionfatt_mod::get_att_id_int (ncid, varid, name, values)
 Reads an netcdf attribute from a file. More...
 
integer function pionfatt_mod::get_att_1d_real (File, varid, name, values)
 Reads an netcdf attribute from a file. More...
 
integer function pionfatt_mod::get_att_1d_int (File, varid, name, values)
 Reads an netcdf attribute from a file. More...
 
integer function pionfatt_mod::get_att_1d_short (File, varid, name, values)
 Reads an netcdf attribute from a file. More...
 
integer function pionfatt_mod::get_att_1d_double (File, varid, name, values)
 Reads an netcdf attribute from a file. More...
 

Detailed Description

Reads an attribute from a file in Fortran.

Function/Subroutine Documentation

◆ get_att_1d_double()

integer function pionfatt_mod::get_att_1d_double ( type (file_desc_t), intent(in), target  File,
integer(i4), intent(in)  varid,
character(len=*), intent(in)  name,
real(r8), dimension(:), intent(out)  values 
)

Reads an netcdf attribute from a file.

Parameters
FileFile descriptor structure. This structure holds information associated with each open file
varid: The netcdf variable identifier
name: name of the attribute to get
values: The value for the netcdf attribute
Return values
ierrThe error return code (see Error Handling for Fortran).

◆ get_att_1d_int()

integer function pionfatt_mod::get_att_1d_int ( type (file_desc_t), intent(in), target  File,
integer(i4), intent(in)  varid,
character(len=*), intent(in)  name,
integer(i4), dimension(:), intent(out)  values 
)

Reads an netcdf attribute from a file.

Parameters
FileFile descriptor structure. This structure holds information associated with each open file
varid: The netcdf variable identifier
name: name of the attribute to get
values: The value for the netcdf attribute
Return values
ierrThe error return code (see Error Handling for Fortran).

◆ get_att_1d_real()

integer function pionfatt_mod::get_att_1d_real ( type (file_desc_t), intent(in), target  File,
integer(i4), intent(in)  varid,
character(len=*), intent(in)  name,
real(r4), dimension(:), intent(out)  values 
)

Reads an netcdf attribute from a file.

Parameters
FileFile descriptor structure. This structure holds information associated with each open file
varid: The netcdf variable identifier
name: name of the attribute to get
values: The value for the netcdf attribute
Return values
ierrThe error return code (see Error Handling for Fortran).

◆ get_att_1d_short()

integer function pionfatt_mod::get_att_1d_short ( type (file_desc_t), intent(in), target  File,
integer(i4), intent(in)  varid,
character(len=*), intent(in)  name,
integer(i2), dimension(:), intent(out)  values 
)

Reads an netcdf attribute from a file.

Parameters
FileFile descriptor structure. This structure holds information associated with each open file
varid: The netcdf variable identifier
name: name of the attribute to get
values: The value for the netcdf attribute
Return values
ierrThe error return code (see Error Handling for Fortran).

◆ get_att_desc_1d_int()

integer function pionfatt_mod::get_att_desc_1d_int ( type (file_desc_t), intent(inout), target  File,
type (var_desc_t), intent(in)  varDesc,
character(len=*), intent(in)  name,
integer(i4), dimension(:), intent(out)  values 
)

Reads an netcdf attribute from a file.

Parameters
FileFile descriptor structure. This structure holds information associated with each open file
varDescVariable description structure.
name: name of the attribute to get
values: The value for the netcdf attribute
Return values
ierrThe error return code (see Error Handling for Fortran).

◆ get_att_desc_text()

integer function pionfatt_mod::get_att_desc_text ( type (file_desc_t), intent(inout), target  File,
type (var_desc_t), intent(in)  varDesc,
character(len=*), intent(in)  name,
character(len=*), intent(out)  values 
)

Reads an netcdf attribute from a file.

Parameters
FileFile descriptor structure. This structure holds information associated with each open file
varDescVariable description structure.
name: name of the attribute to get
values: The value for the netcdf attribute
Return values
ierrThe error return code (see Error Handling for Fortran).

◆ get_att_id_int()

integer function pionfatt_mod::get_att_id_int ( integer, intent(in)  ncid,
integer, intent(in)  varid,
character(len=*), intent(in)  name,
integer(i4), intent(out), target  values 
)

Reads an netcdf attribute from a file.

Parameters
ncid: The netcdf file ID
varid: The netcdf variable identifier
name: name of the attribute to get
values: The value for the netcdf attribute
Return values
ierrThe error return code (see Error Handling for Fortran).