Stellarator-Tools
|
Work around to fix some netcdf import problems with the Ezcdf. This module emulates the F77 interface using the F90 interface. More...
Data Types | |
interface | nf_open |
Interface to open a file. More... | |
interface | nf_create |
Interface to open a file. More... | |
interface | nf_close |
Interface to open a file. More... | |
interface | nf_enddef |
Interface to inquire a dimension id. More... | |
interface | nf_strerror |
Interface to inquire a dimension id. More... | |
interface | nf_inq_dimid |
Interface to inquire a dimension id. More... | |
interface | nf_def_dim |
Interface to define a dimension. More... | |
interface | nf_inq_varid |
Interface to inquire a variable id. More... | |
interface | nf_get_var_int |
Interface for reading integer variables. More... | |
interface | nf_put_var_int |
Interface for writing integer variables. More... | |
interface | nf_put_vara_int |
Interface for writing integer variables. More... | |
interface | nf_get_var_real |
Interface for reading real variables. Note double 2D array used by complex real array values. More... | |
interface | nf_put_vara_real |
Interface for reading real variables. Note double 2D array used by complex real array values. More... | |
interface | nf_put_var_real |
Interface for writing real variables. Note double 2D array used by complex real array values. More... | |
interface | nf_get_var_double |
Interface for reading double variables. More... | |
interface | nf_put_vara_double |
Interface for reading double variables. Note double 2D array used by complex double array values. More... | |
interface | nf_put_var_double |
Interface for writing double variables. More... | |
Functions/Subroutines | |
integer function | nf_def_var (ncid, name, xtype, ndims, dimids, varid) |
Define a variable. More... | |
integer function | nf_inq_var (ncid, varid, name, xtype, ndims, dimids, natts) |
Inquire a variable. More... | |
integer function | nf_inq_dim (ncid, dimid, name, length) |
Inquire a dimension name or length. More... | |
integer function | nf_inq_dimlen (ncid, dimid, length) |
Inquire a dimension length. More... | |
integer function | nf_get_att_text (ncid, varid, name, text) |
Read an string attribute. More... | |
integer function | nf_get_att_double (ncid, varid, name, dvals) |
Read an double attribute. More... | |
integer function | nf_get_att_real (ncid, varid, name, rvals) |
Read an real attribute. More... | |
integer function | nf_get_att_int (ncid, varid, name, ivals) |
Read an integer attribute. More... | |
integer function | nf_get_var_double (ncid, varid, dvals) |
Read a double value. More... | |
integer function | nf_get_var_1d_double (ncid, varid, dvals) |
Read a double valued array. More... | |
integer function | nf_get_var_2d_double (ncid, varid, dvals) |
Read a double valued 2D array. More... | |
integer function | nf_get_var_3d_double (ncid, varid, dvals) |
Read a double valued 3D array. More... | |
integer function | nf_get_var_cpx_double (ncid, varid, cvals) |
Read a 64bit complex value. More... | |
integer function | nf_get_var_1d_cpx_double (ncid, varid, cvals) |
Read a 64bit complex valued array. More... | |
integer function | nf_get_var_2d_cpx_double (ncid, varid, cvals) |
Read a 64bit complex valued 2D array. More... | |
integer function | nf_get_var_3d_cpx_double (ncid, varid, cvals) |
Read a 64bit complex valued 3D array. More... | |
integer function | nf_get_var_real (ncid, varid, rvals) |
Read a real value. More... | |
integer function | nf_get_var_1d_real (ncid, varid, rvals) |
Read a real valued array. More... | |
integer function | nf_get_var_2d_real (ncid, varid, rvals) |
Read a real valued 2D array. More... | |
integer function | nf_get_var_3d_real (ncid, varid, rvals) |
Read a real valued 3D array. More... | |
integer function | nf_get_var_cpx_real (ncid, varid, cvals) |
Read a 32bit complex value. More... | |
integer function | nf_get_var_1d_cpx_real (ncid, varid, cvals) |
Read a 32bit complex valued array. More... | |
integer function | nf_get_var_2d_cpx_real (ncid, varid, cvals) |
Read a 32bit complex valued 2D array. More... | |
integer function | nf_get_var_3d_cpx_real (ncid, varid, cvals) |
Read a 32bit complex valued 3D array. More... | |
integer function | nf_get_var_int (ncid, varid, ivals) |
Read an integer value. More... | |
integer function | nf_get_var_1d_int (ncid, varid, ivals) |
Read an integer valued array. More... | |
integer function | nf_get_var_2d_int (ncid, varid, ivals) |
Read an integer valued 2D array. More... | |
integer function | nf_get_var_3d_int (ncid, varid, ivals) |
Read an integer valued 3D array. More... | |
integer function | nf_get_var_text (ncid, varid, text) |
Read a text value. More... | |
integer function | nf_get_vara_text (ncid, varid, start, count, text) |
Read a text valued array. More... | |
integer function | nf_put_att_text (ncid, varid, name, length, text) |
Put an text attribute. More... | |
integer function | nf_put_att_double (ncid, varid, name, xtype, length, dvals) |
Put an double attribute. More... | |
integer function | nf_put_att_real (ncid, varid, name, xtype, length, rvals) |
Put an real attribute. More... | |
integer function | nf_put_att_int (ncid, varid, name, xtype, length, ivals) |
Put an integer attribute. More... | |
integer function | nf_put_var_int (ncid, varid, ivals) |
Write an integer value. More... | |
integer function | nf_put_var_1d_int (ncid, varid, ivals) |
Write an integer valued array. More... | |
integer function | nf_put_var_2d_int (ncid, varid, ivals) |
Write an integer valued 2D array. More... | |
integer function | nf_put_var_3d_int (ncid, varid, ivals) |
Write an integer valued 3D array. More... | |
integer function | nf_put_vara_int (ncid, varid, start, count, ivals) |
Write a integer value. More... | |
integer function | nf_put_vara_3d_int (ncid, varid, start, count, ivals) |
Write a integer value. More... | |
integer function | nf_put_var_double (ncid, varid, dvals) |
Write a double value. More... | |
integer function | nf_put_var_1d_double (ncid, varid, dvals) |
Write a double valued array. More... | |
integer function | nf_put_var_2d_double (ncid, varid, dvals) |
Read a double valued 2D array. More... | |
integer function | nf_put_var_3d_double (ncid, varid, dvals) |
Write a double valued 3D array. More... | |
integer function | nf_put_var_cpx_double (ncid, varid, cvals) |
Write a 64bit complex value. More... | |
integer function | nf_put_var_1d_cpx_double (ncid, varid, cvals) |
Write a 64bit complex valued array. More... | |
integer function | nf_put_var_2d_cpx_double (ncid, varid, cvals) |
Write a 64bit complex valued 2D array. More... | |
integer function | nf_put_var_3d_cpx_double (ncid, varid, cvals) |
Write a 64bit complex valued 3D array. More... | |
integer function | nf_put_vara_double (ncid, varid, start, count, dvals) |
Write a double value. More... | |
integer function | nf_put_vara_2d_double (ncid, varid, start, count, dvals) |
Write a double value. More... | |
integer function | nf_put_vara_3d_double (ncid, varid, start, count, dvals) |
Write a double value. More... | |
integer function | nf_put_vara_cpx_double (ncid, varid, start, count, cvals) |
Write a complex double value. More... | |
integer function | nf_put_vara_2d_cpx_double (ncid, varid, start, count, cvals) |
Write a complex double value. More... | |
integer function | nf_put_vara_3d_cpx_double (ncid, varid, start, count, cvals) |
Write a double value. More... | |
integer function | nf_put_var_real (ncid, varid, rvals) |
Write a real value. More... | |
integer function | nf_put_var_1d_real (ncid, varid, rvals) |
Write a real valued array. More... | |
integer function | nf_put_var_2d_real (ncid, varid, rvals) |
Read a real valued 2D array. More... | |
integer function | nf_put_var_3d_real (ncid, varid, rvals) |
Write a real valued 3D array. More... | |
integer function | nf_put_var_cpx_real (ncid, varid, cvals) |
Write a 32bit complex value. More... | |
integer function | nf_put_var_1d_cpx_real (ncid, varid, cvals) |
Write a 32bit complex valued array. More... | |
integer function | nf_put_var_2d_cpx_real (ncid, varid, cvals) |
Write a 32bit complex valued 2D array. More... | |
integer function | nf_put_var_3d_cpx_real (ncid, varid, cvals) |
Write a 32bit complex valued 3D array. More... | |
integer function | nf_put_vara_real (ncid, varid, start, count, rvals) |
Write a real value. More... | |
integer function | nf_put_vara_2d_real (ncid, varid, start, count, rvals) |
Write a real value. More... | |
integer function | nf_put_vara_3d_real (ncid, varid, start, count, rvals) |
Write a real value. More... | |
integer function | nf_put_vara_cpx_real (ncid, varid, start, count, cvals) |
Write a complex real value. More... | |
integer function | nf_put_vara_2d_cpx_real (ncid, varid, start, count, cvals) |
Write a complex real value. More... | |
integer function | nf_put_vara_3d_cpx_real (ncid, varid, start, count, cvals) |
Write a complex real value. More... | |
integer function | nf_put_var_text (ncid, varid, text) |
Write a text value. More... | |
integer function | nf_put_vara_text (ncid, varid, start, count, text) |
Write a text valued array. More... | |
Variables | |
integer, parameter | nf_real = nf90_real |
32bit Real type. | |
integer, parameter | nf_float = nf90_float |
32bit Real type. | |
integer, parameter | nf_double = nf90_double |
64bit Real type. | |
integer, parameter | nf_byte = nf90_byte |
8bit Integer type. | |
integer, parameter | nf_char = nf90_char |
Character type. | |
integer, parameter | nf_int = nf90_int |
32bit Integer type. | |
integer, parameter | nf_max_name = nf90_max_name |
Maximum length of strings. | |
integer, parameter | nf_global = nf90_global |
Netcdf global . | |
integer, parameter | nf_noerr = nf90_noerr |
No error responce. | |
integer, parameter | nf_write = nf90_write |
Write flag. | |
integer, parameter | nf_nowrite = nf90_nowrite |
Readonly flag. | |
integer, parameter | nf_clobber = nf90_clobber |
Clobber flag. | |
integer, parameter | nf_64bit_offset = nf90_64bit_offset |
64bit offset flag. | |
Work around to fix some netcdf import problems with the Ezcdf. This module emulates the F77 interface using the F90 interface.
integer function netcdf_inc::nf_def_var | ( | integer, intent(in) | ncid, |
character (len=*), intent(in) | name, | ||
integer, intent(in) | xtype, | ||
integer, intent(in) | ndims, | ||
integer, dimension(:), intent(in) | dimids, | ||
integer, intent(out) | varid | ||
) |
Define a variable.
[in] | ncid | Netcdf file id. |
[in] | name | Variable id. |
[in] | xtype | Variable type. |
[in] | ndims | Number of dimensions. |
[in] | dimids | Dimension ids. |
[out] | varid | Variable id. |
integer function netcdf_inc::nf_get_att_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(in) | name, | ||
real (real64), dimension(:), intent(out) | dvals | ||
) |
Read an double attribute.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | name | Name of the attribute. |
[out] | dvals | Double values of the attribute. |
integer function netcdf_inc::nf_get_att_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(in) | name, | ||
integer, dimension(:), intent(out) | ivals | ||
) |
Read an integer attribute.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | name | Name of the attribute. |
[out] | ivals | Integer values of the attribute. |
integer function netcdf_inc::nf_get_att_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(in) | name, | ||
real (real32), dimension(:), intent(out) | rvals | ||
) |
Read an real attribute.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | name | Name of the attribute. |
[out] | rvals | Real values of the attribute. |
integer function netcdf_inc::nf_get_att_text | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(in) | name, | ||
character (len=*), intent(out) | text | ||
) |
Read an string attribute.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | name | Name of the attribute. |
[out] | text | String values of the attribute. |
integer function netcdf_inc::nf_get_var_1d_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real64), dimension(:), intent(out) | cvals | ||
) |
Read a 64bit complex valued array.
Netcdf does not support complex types directly. Instead these values are interweaved into a double array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex array to store the value. |
integer function netcdf_inc::nf_get_var_1d_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real32), dimension(:), intent(out) | cvals | ||
) |
Read a 32bit complex valued array.
Netcdf does not support complex types directly. Instead these values are interweaved into a real array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex array to store the value. |
integer function netcdf_inc::nf_get_var_1d_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real64), dimension(:), intent(out) | dvals | ||
) |
Read a double valued array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | dvals | Double array to store the value. |
integer function netcdf_inc::nf_get_var_1d_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(out) | ivals | ||
) |
Read an integer valued array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | ivals | Integer array to store the value. |
integer function netcdf_inc::nf_get_var_1d_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real32), dimension(:), intent(out) | rvals | ||
) |
Read a real valued array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | rvals | Real array to store the value. |
integer function netcdf_inc::nf_get_var_2d_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real64), dimension(:,:), intent(out) | cvals | ||
) |
Read a 64bit complex valued 2D array.
Netcdf does not support complex types directly. Instead these values are interweaved into a double array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex array to store the value. |
integer function netcdf_inc::nf_get_var_2d_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real32), dimension(:,:), intent(out) | cvals | ||
) |
Read a 32bit complex valued 2D array.
Netcdf does not support complex types directly. Instead these values are interweaved into a real array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex array to store the value. |
integer function netcdf_inc::nf_get_var_2d_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real64), dimension(:,:), intent(out) | dvals | ||
) |
Read a double valued 2D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | dvals | Double array to store the value. |
integer function netcdf_inc::nf_get_var_2d_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:,:), intent(out) | ivals | ||
) |
Read an integer valued 2D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | ivals | Integer array to store the value. |
integer function netcdf_inc::nf_get_var_2d_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real32), dimension(:,:), intent(out) | rvals | ||
) |
Read a real valued 2D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | rvals | Real 2D array to store the value. |
integer function netcdf_inc::nf_get_var_3d_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real64), dimension(:,:,:), intent(out) | cvals | ||
) |
Read a 64bit complex valued 3D array.
Netcdf does not support complex types directly. Instead these values are interweaved into a double array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex array to store the value. |
integer function netcdf_inc::nf_get_var_3d_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real32), dimension(:,:,:), intent(out) | cvals | ||
) |
Read a 32bit complex valued 3D array.
Netcdf does not support complex types directly. Instead these values are interweaved into a real array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex array to store the value. |
integer function netcdf_inc::nf_get_var_3d_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real64), dimension(:,:,:), intent(out) | dvals | ||
) |
Read a double valued 3D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | dvals | Double array to store the value. |
integer function netcdf_inc::nf_get_var_3d_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:,:,:), intent(out) | ivals | ||
) |
Read an integer valued 3D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | ivals | Integer array to store the value. |
integer function netcdf_inc::nf_get_var_3d_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real32), dimension(:,:,:), intent(out) | rvals | ||
) |
Read a real valued 3D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | rvals | Real 3D array to store the value. |
integer function netcdf_inc::nf_get_var_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real64), intent(out) | cvals | ||
) |
Read a 64bit complex value.
Netcdf does not support complex types directly. Instead these values are interweaved into a real array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex to store the value. |
integer function netcdf_inc::nf_get_var_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real32), intent(out) | cvals | ||
) |
Read a 32bit complex value.
Netcdf does not support complex types directly. Instead these values are interweaved into a real array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex to store the value. |
integer function netcdf_inc::nf_get_var_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real64), intent(out) | dvals | ||
) |
Read a double value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | dvals | Double to store the value. |
integer function netcdf_inc::nf_get_var_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, intent(out) | ivals | ||
) |
Read an integer value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | ivals | Integer to store the value. |
integer function netcdf_inc::nf_get_var_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real32), intent(out) | rvals | ||
) |
Read a real value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | rvals | Real to store the value. |
integer function netcdf_inc::nf_get_var_text | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(out) | text | ||
) |
Read a text value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | text | String to store the value. |
integer function netcdf_inc::nf_get_vara_text | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
character (len=*), intent(out) | text | ||
) |
Read a text valued array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting index of the string array. |
[in] | count | Number of elements to count. |
[out] | text | String to store the value. |
integer function netcdf_inc::nf_inq_dim | ( | integer, intent(in) | ncid, |
integer, intent(in) | dimid, | ||
character (len=*), intent(out), optional | name, | ||
integer, intent(out), optional | length | ||
) |
Inquire a dimension name or length.
[in] | ncid | Netcdf file id. |
[in] | dimid | Dimension id. |
[out] | name | Name of the dimension. |
[out] | length | Length of the dimension. |
integer function netcdf_inc::nf_inq_dimlen | ( | integer, intent(in) | ncid, |
integer, intent(in) | dimid, | ||
integer, intent(out) | length | ||
) |
Inquire a dimension length.
[in] | ncid | Netcdf file id. |
[in] | dimid | Dimension id. |
[out] | length | Length of the dimension. |
integer function netcdf_inc::nf_inq_var | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(out), optional | name, | ||
integer, intent(out), optional | xtype, | ||
integer, intent(out), optional | ndims, | ||
integer, dimension(:), intent(out), optional | dimids, | ||
integer, intent(out), optional | natts | ||
) |
Inquire a variable.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | name | Variable id. |
[out] | xtype | Variable type. |
[out] | ndims | Number of dimensions. |
[out] | dimids | Dimension ids. |
[out] | natts | Number of attributes. |
integer function netcdf_inc::nf_put_att_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(in) | name, | ||
integer, intent(in) | xtype, | ||
integer, intent(in) | length, | ||
real (real64), dimension(:), intent(in) | dvals | ||
) |
Put an double attribute.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | name | Name of the atribute. |
[in] | xtype | Type of the value. This is not used. |
[in] | length | Length of the real array. |
[in] | dvals | Real values to asign to the attribute. |
integer function netcdf_inc::nf_put_att_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(in) | name, | ||
integer, intent(in) | xtype, | ||
integer, intent(in) | length, | ||
integer, dimension(:), intent(in) | ivals | ||
) |
Put an integer attribute.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | name | Name of the atribute. |
[in] | xtype | Type of the value. This is not used. |
[in] | length | Length of the integer array. |
[in] | ivals | Integer values to asign to the attribute. |
integer function netcdf_inc::nf_put_att_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(in) | name, | ||
integer, intent(in) | xtype, | ||
integer, intent(in) | length, | ||
real (real32), dimension(:), intent(in) | rvals | ||
) |
Put an real attribute.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | name | Name of the atribute. |
[in] | xtype | Type of the value. This is not used. |
[in] | length | Length of the real array. |
[in] | rvals | Real values to asign to the attribute. |
integer function netcdf_inc::nf_put_att_text | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(in) | name, | ||
integer, intent(in) | length, | ||
character (len=*), intent(in) | text | ||
) |
Put an text attribute.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | name | Name of the atribute. |
[in] | length | Length of the real array. |
[in] | text | String value to asign to the attribute. |
integer function netcdf_inc::nf_put_var_1d_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real64), dimension(:), intent(in) | cvals | ||
) |
Write a 64bit complex valued array.
Netcdf does not support complex types directly. Instead these values are interweaved into a double array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | cvals | Complex value to write. |
integer function netcdf_inc::nf_put_var_1d_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real32), dimension(:), intent(in) | cvals | ||
) |
Write a 32bit complex valued array.
Netcdf does not support complex types directly. Instead these values are interweaved into a real array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex value to write. |
integer function netcdf_inc::nf_put_var_1d_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real64), dimension(:), intent(in) | dvals | ||
) |
Write a double valued array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | dvals | Double value to write. |
integer function netcdf_inc::nf_put_var_1d_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | ivals | ||
) |
Write an integer valued array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | ivals | Integer value to write. |
integer function netcdf_inc::nf_put_var_1d_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real32), dimension(:), intent(in) | rvals | ||
) |
Write a real valued array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | rvals | Real value to write. |
integer function netcdf_inc::nf_put_var_2d_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real64), dimension(:,:), intent(in) | cvals | ||
) |
Write a 64bit complex valued 2D array.
Netcdf does not support complex types directly. Instead these values are interweaved into a double array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | cvals | Complex value to write. |
integer function netcdf_inc::nf_put_var_2d_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real32), dimension(:,:), intent(in) | cvals | ||
) |
Write a 32bit complex valued 2D array.
Netcdf does not support complex types directly. Instead these values are interweaved into a real array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex value to write. |
integer function netcdf_inc::nf_put_var_2d_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real64), dimension(:,:), intent(in) | dvals | ||
) |
Read a double valued 2D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | dvals | Double value to write. |
integer function netcdf_inc::nf_put_var_2d_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:,:), intent(in) | ivals | ||
) |
Write an integer valued 2D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | ivals | Integer value to write. |
integer function netcdf_inc::nf_put_var_2d_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real32), dimension(:,:), intent(in) | rvals | ||
) |
Read a real valued 2D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | rvals | Real value to write. |
integer function netcdf_inc::nf_put_var_3d_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real64), dimension(:,:,:), intent(in) | cvals | ||
) |
Write a 64bit complex valued 3D array.
Netcdf does not support complex types directly. Instead these values are interweaved into a double array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | cvals | Complex value to write. |
integer function netcdf_inc::nf_put_var_3d_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real32), dimension(:,:,:), intent(in) | cvals | ||
) |
Write a 32bit complex valued 3D array.
Netcdf does not support complex types directly. Instead these values are interweaved into a real array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex value to write. |
integer function netcdf_inc::nf_put_var_3d_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real64), dimension(:,:,:), intent(in) | dvals | ||
) |
Write a double valued 3D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | dvals | Double value to write. |
integer function netcdf_inc::nf_put_var_3d_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:,:,:), intent(in) | ivals | ||
) |
Write an integer valued 3D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | ivals | Integer value to write. |
integer function netcdf_inc::nf_put_var_3d_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real32), dimension(:,:,:), intent(in) | rvals | ||
) |
Write a real valued 3D array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | rvals | Real value to write. |
integer function netcdf_inc::nf_put_var_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real64), intent(in) | cvals | ||
) |
Write a 64bit complex value.
Netcdf does not support complex types directly. Instead these values are interweaved into a real array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | cvals | Complex value to write. |
integer function netcdf_inc::nf_put_var_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
complex (real32), intent(in) | cvals | ||
) |
Write a 32bit complex value.
Netcdf does not support complex types directly. Instead these values are interweaved into a real array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[out] | cvals | Complex value to write. |
integer function netcdf_inc::nf_put_var_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real64), intent(in) | dvals | ||
) |
Write a double value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | dvals | Double value to write. |
integer function netcdf_inc::nf_put_var_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, intent(in) | ivals | ||
) |
Write an integer value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | ivals | Integer value to write. |
integer function netcdf_inc::nf_put_var_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
real (real32), intent(in) | rvals | ||
) |
Write a real value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | rvals | Real value to write. |
integer function netcdf_inc::nf_put_var_text | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
character (len=*), intent(in) | text | ||
) |
Write a text value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | text | String value to write. |
integer function netcdf_inc::nf_put_vara_2d_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
complex (real64), dimension(:,:), intent(in) | cvals | ||
) |
Write a complex double value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | cvals | Complex double value to write. |
integer function netcdf_inc::nf_put_vara_2d_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
complex (real32), dimension(:,:), intent(in) | cvals | ||
) |
Write a complex real value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | cvals | Real value to write. |
integer function netcdf_inc::nf_put_vara_2d_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
real (real64), dimension(:,:), intent(in) | dvals | ||
) |
Write a double value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | dvals | Double value to write. |
integer function netcdf_inc::nf_put_vara_2d_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
real (real32), dimension(:,:), intent(in) | rvals | ||
) |
Write a real value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | rvals | Real value to write. |
integer function netcdf_inc::nf_put_vara_3d_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
complex (real64), dimension(:,:,:), intent(in) | cvals | ||
) |
Write a double value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | cvals | Complex double value to write. |
integer function netcdf_inc::nf_put_vara_3d_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
complex (real32), dimension(:,:,:), intent(in) | cvals | ||
) |
Write a complex real value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | cvals | Real value to write. |
integer function netcdf_inc::nf_put_vara_3d_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
real (real64), dimension(:,:,:), intent(in) | dvals | ||
) |
Write a double value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | dvals | Real value to write. |
integer function netcdf_inc::nf_put_vara_3d_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
integer, dimension(:,:,:), intent(in) | ivals | ||
) |
Write a integer value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | ivals | Double value to write. |
integer function netcdf_inc::nf_put_vara_3d_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
real (real32), dimension(:,:,:), intent(in) | rvals | ||
) |
Write a real value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | rvals | Real value to write. |
integer function netcdf_inc::nf_put_vara_cpx_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
complex (real64), dimension(:), intent(in) | cvals | ||
) |
Write a complex double value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | cvals | Complex double value to write. |
integer function netcdf_inc::nf_put_vara_cpx_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
complex (real32), dimension(:), intent(in) | cvals | ||
) |
Write a complex real value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | cvals | Real value to write. |
integer function netcdf_inc::nf_put_vara_double | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
real (real64), dimension(:), intent(in) | dvals | ||
) |
Write a double value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | dvals | Double value to write. |
integer function netcdf_inc::nf_put_vara_int | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
integer, dimension(:,:), intent(in) | ivals | ||
) |
Write a integer value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | ivals | Double value to write. |
integer function netcdf_inc::nf_put_vara_real | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
real (real32), dimension(:), intent(in) | rvals | ||
) |
Write a real value.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting indices. |
[in] | count | Number of elements to count. |
[in] | rvals | Real value to write. |
integer function netcdf_inc::nf_put_vara_text | ( | integer, intent(in) | ncid, |
integer, intent(in) | varid, | ||
integer, dimension(:), intent(in) | start, | ||
integer, dimension(:), intent(in) | count, | ||
character (len=*), dimension(:), intent(in) | text | ||
) |
Write a text valued array.
[in] | ncid | Netcdf file id. |
[in] | varid | Variable id. |
[in] | start | Starting index of the string array. |
[in] | count | Number of elements to count. |
[in] | text | String value to write. |