PIO  2.5.4
Functions/Subroutines
Write Attributes

Writes an attribute to a file in Fortran. More...

Functions/Subroutines

integer function pionfatt_mod::put_att_desc_text (File, vdesc, name, values)
 Writes an netcdf attribute to a file. More...
 
integer function pionfatt_mod::put_att_1d_id_real (ncid, varid, name, values)
 Writes an netcdf attribute to a file. More...
 
integer function pionfatt_mod::put_att_1d_id_double (ncid, varid, name, values)
 Writes an netcdf attribute to a file. More...
 
integer function pionfatt_mod::put_att_1d_id_int (ncid, varid, name, values)
 Writes an netcdf attribute to a file. More...
 
integer function pionfatt_mod::put_att_1d_id_short (ncid, varid, name, values)
 Writes an netcdf attribute to a file. More...
 
integer function pionfatt_mod::put_att_1d_desc_real (File, varDesc, name, values)
 Writes an netcdf attribute to a file. More...
 
integer function pionfatt_mod::put_att_1d_desc_int (File, varDesc, name, values)
 Writes an netcdf attribute to a file. More...
 
integer function pionfatt_mod::put_att_1d_desc_double (File, varDesc, name, values)
 Writes an netcdf attribute to a file. More...
 
integer function pionfatt_mod::put_att_1d_desc_short (File, varDesc, name, values)
 Writes an netcdf attribute to a file. More...
 

Detailed Description

Writes an attribute to a file in Fortran.

Function/Subroutine Documentation

◆ put_att_1d_desc_double()

integer function pionfatt_mod::put_att_1d_desc_double ( type (file_desc_t), intent(inout), target  File,
type (var_desc_t), intent(in)  varDesc,
character(len=*), intent(in)  name,
real(r8), dimension(:), intent(in)  values 
)

Writes an netcdf attribute to a file.

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

◆ put_att_1d_desc_int()

integer function pionfatt_mod::put_att_1d_desc_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(in)  values 
)

Writes an netcdf attribute to a file.

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

◆ put_att_1d_desc_real()

integer function pionfatt_mod::put_att_1d_desc_real ( type (file_desc_t), intent(inout), target  File,
type (var_desc_t), intent(in)  varDesc,
character(len=*), intent(in)  name,
real(r4), dimension(:), intent(in)  values 
)

Writes an netcdf attribute to a file.

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

◆ put_att_1d_desc_short()

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

Writes an netcdf attribute to a file.

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

◆ put_att_1d_id_double()

integer function pionfatt_mod::put_att_1d_id_double ( integer, intent(in)  ncid,
integer, intent(in)  varid,
character(len=*), intent(in)  name,
real(r8), dimension(:), intent(in)  values 
)

Writes an netcdf attribute to a file.

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

◆ put_att_1d_id_int()

integer function pionfatt_mod::put_att_1d_id_int ( integer, intent(in)  ncid,
integer, intent(in)  varid,
character(len=*), intent(in)  name,
integer(i4), dimension(:), intent(in)  values 
)

Writes an netcdf attribute to a file.

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

◆ put_att_1d_id_real()

integer function pionfatt_mod::put_att_1d_id_real ( integer, intent(in)  ncid,
integer, intent(in)  varid,
character(len=*), intent(in)  name,
real(r4), dimension(:), intent(in)  values 
)

Writes an netcdf attribute to a file.

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

◆ put_att_1d_id_short()

integer function pionfatt_mod::put_att_1d_id_short ( integer, intent(in)  ncid,
integer, intent(in)  varid,
character(len=*), intent(in)  name,
integer(i2), dimension(:), intent(in)  values 
)

Writes an netcdf attribute to a file.

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

◆ put_att_desc_text()

integer function pionfatt_mod::put_att_desc_text ( type (file_desc_t), intent(in)  File,
type(var_desc_t), intent(in)  vdesc,
character(len=*), intent(in)  name,
character(len=*), intent(in)  values 
)

Writes an netcdf attribute to a file.

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