Abstract type for netCDF file handling. This type defines the interface for operations on netCDF files, such as defining dimensions and variables, writing and reading data, and managing attributes.
Close the netCDF file and release any associated resources.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this |
End the definition mode of the netCDF file, allowing data to be written.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this |
Re-enter definition mode for the netCDF file, allowing dimensions and variables to be defined.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this |
Synchronize the netCDF file, ensuring that all data is written to disk and visible to other processes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this |
Define dimensions in the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | dim_names(:) |
Array of dimension names to define. |
||
| integer, | intent(in) | :: | dim_lens(:) |
Array of dimension lengths corresponding to dim_names. Use
|
Define a variable in the netCDF file with the specified name, dimensions, and type.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to define. |
||
| integer, | intent(in) | :: | type |
Data type of the variable, using the |
||
| character(len=*), | intent(in), | optional | :: | dim_names(:) |
Array of dimension names for the variable. If not provided, the variable will be defined as a scalar. |
Define a global attribute with a string value in the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name |
Name of the global attribute to define. |
||
| character(len=*), | intent(in) | :: | att_value |
Value of the global attribute to define. |
Define a global attribute with an 32-bit integer value in the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name |
Name of the global attribute to define. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | att_value |
Value of the global attribute to define. |
Define a global attribute with a 32-bit real value in the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name |
Name of the global attribute to define. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | att_value |
Value of the global attribute to define. |
Define a global attribute with a 64-bit real value in the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name |
Name of the global attribute to define. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | att_value |
Value of the global attribute to define. |
Define a variable attribute with a string value in the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to define the attribute for. |
||
| character(len=*), | intent(in) | :: | att_name |
Name of the variable attribute to define. |
||
| character(len=*), | intent(in) | :: | att_value |
Value of the variable attribute to define. |
Define a variable attribute with an 32-bit integer value in the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to define the attribute for. |
||
| character(len=*), | intent(in) | :: | att_name |
Name of the variable attribute to define. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | att_value |
Value of the variable attribute to define. |
Define a variable attribute with a 32-bit real value in the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to define the attribute for. |
||
| character(len=*), | intent(in) | :: | att_name |
Name of the variable attribute to define. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | att_value |
Value of the variable attribute to define. |
Define a variable attribute with a 64-bit real value in the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to define the attribute for. |
||
| character(len=*), | intent(in) | :: | att_name |
Name of the variable attribute to define. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | att_value |
Value of the variable attribute to define. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name | |||
| character(len=*), | intent(in) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| character(len=*), | intent(in) | :: | att_name | |||
| character(len=*), | intent(in) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| character(len=*), | intent(in) | :: | att_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| character(len=*), | intent(in) | :: | att_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| character(len=*), | intent(in) | :: | att_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | att_value |
Read a global attribute with a string value from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name |
Name of the global attribute to read. |
||
| character(len=*), | intent(out) | :: | att_value |
Value of the global attribute read. |
Read a global attribute with an 32-bit integer value from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name |
Name of the global attribute to read. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | att_value |
Value of the global attribute read. |
Read a global attribute with a 32-bit real value from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name |
Name of the global attribute to read. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | att_value |
Value of the global attribute read. |
Read a global attribute with a 64-bit real value from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name |
Name of the global attribute to read. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | att_value |
Value of the global attribute read. |
Read a variable attribute with a string value from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read the attribute from. |
||
| character(len=*), | intent(in) | :: | att_name |
Name of the variable attribute to read. |
||
| character(len=*), | intent(out) | :: | att_value |
Value of the variable attribute read. |
Read a variable attribute with an 32-bit integer value from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read the attribute from. |
||
| character(len=*), | intent(in) | :: | att_name |
Name of the variable attribute to read. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | att_value |
Value of the variable attribute read. |
Read a variable attribute with a 32-bit real value from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read the attribute from. |
||
| character(len=*), | intent(in) | :: | att_name |
Name of the variable attribute to read. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | att_value |
Value of the variable attribute read. |
Read a variable attribute with a 64-bit real value from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read the attribute from. |
||
| character(len=*), | intent(in) | :: | att_name |
Name of the variable attribute to read. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | att_value |
Value of the variable attribute read. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name | |||
| character(len=*), | intent(out) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | att_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| character(len=*), | intent(in) | :: | att_name | |||
| character(len=*), | intent(out) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| character(len=*), | intent(in) | :: | att_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| character(len=*), | intent(in) | :: | att_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | att_value |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| character(len=*), | intent(in) | :: | att_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | att_value |
Inquire the length of a dimension in the netCDF file by its name.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | dim_name |
Name of the dimension to inquire. |
||
| integer, | intent(out) | :: | dim_len |
Length of the dimension returned. For unlimited dimensions, the number of records will be returned. |
Inquire the number of dimensions of a variable in the netCDF file by its name.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to inquire. |
||
| integer, | intent(out) | :: | ndims |
Number of dimensions of the variable returned. |
Write a 0-dimensional (scalar) 32-bit integer variable to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values |
Value to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 1-dimensional array of 32-bit integers to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:) |
Array of values to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 2-dimensional array of 32-bit integers to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:,:) |
2-dimensional array of values to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 3-dimensional array of 32-bit integers to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:,:,:) |
3-dimensional array of values to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 0-dimensional (scalar) 32-bit real variable to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values |
Scalar value to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 1-dimensional array of 32-bit real values to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:) |
1-dimensional array of values to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 2-dimensional array of 32-bit real values to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:,:) |
2-dimensional array of values to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 3-dimensional array of 32-bit real values to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:,:,:) |
3-dimensional array of values to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 0-dimensional (scalar) 64-bit real variable to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values |
The scalar value to write. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 1-dimensional array of 64-bit real values to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:) |
1-dimensional array of values to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 2-dimensional array of 64-bit real values to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:,:) |
2-dimensional array of values to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
Write a 3-dimensional array of 64-bit real values to the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:,:,:) |
3-dimensional array of values to write to the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for writing the variable. If not provided, writing will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to write for each dimension. If not provided, the entire variable will be written. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:,:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:,:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:,:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
Write a 1-dimensional array of 32-bit integers to the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:) |
1-dimensional array of values to write to the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in), | optional | :: | fill_value |
Fill value to use for any missing data. If not provided, the default fill value for the variable's type will be used. |
|
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be written to the specified frame along the unlimited dimension. |
Write a 2-dimensional array of 32-bit integers to the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:,:) |
2-dimensional array of values to write to the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in), | optional | :: | fill_value |
Fill value to use for any missing data. If not provided, the default fill value for the variable's type will be used. |
|
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be written to the specified frame along the unlimited dimension. |
Write a 3-dimensional array of 32-bit integers to the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:,:,:) |
3-dimensional array of values to write to the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in), | optional | :: | fill_value |
Fill value to use for any missing data. If not provided, the default fill value for the variable's type will be used. |
|
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be written to the specified frame along the unlimited dimension. |
Write a 1-dimensional array of 32-bit real values to the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:) |
1-dimensional array of values to write to the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in), | optional | :: | fill_value |
Fill value to use for any missing data. If not provided, the default fill value for the variable's type will be used. |
|
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be written to the specified frame along the unlimited dimension. |
Write a 2-dimensional array of 32-bit real values to the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:,:) |
2-dimensional array of values to write to the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in), | optional | :: | fill_value |
Fill value to use for any missing data. If not provided, the default fill value for the variable's type will be used. |
|
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be written to the specified frame along the unlimited dimension. |
Write a 3-dimensional array of 32-bit real values to the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:,:,:) |
3-dimensional array of values to write to the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in), | optional | :: | fill_value |
Fill value to use for any missing data. If not provided, the default fill value for the variable's type will be used. |
|
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be written to the specified frame along the unlimited dimension. |
Write a 2-dimensional array of 32-bit real values to the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:) |
1-dimensional array of values to write to the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in), | optional | :: | fill_value |
Fill value to use for any missing data. If not provided, the default fill value for the variable's type will be used. |
|
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be written to the specified frame along the unlimited dimension. |
Write a 2-dimensional array of 32-bit real values to the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:,:) |
2-dimensional array of values to write to the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in), | optional | :: | fill_value |
Fill value to use for any missing data. If not provided, the default fill value for the variable's type will be used. |
|
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be written to the specified frame along the unlimited dimension. |
Write a 3-dimensional array of 32-bit real values to the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to write to. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:,:,:) |
3-dimensional array of values to write to the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in), | optional | :: | fill_value |
Fill value to use for any missing data. If not provided, the default fill value for the variable's type will be used. |
|
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be written to the specified frame along the unlimited dimension. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in), | optional | :: | fill_value | ||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in), | optional | :: | fill_value | ||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in) | :: | values(:,:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(in), | optional | :: | fill_value | ||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in), | optional | :: | fill_value | ||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in), | optional | :: | fill_value | ||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in) | :: | values(:,:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(in), | optional | :: | fill_value | ||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in), | optional | :: | fill_value | ||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in), | optional | :: | fill_value | ||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in) | :: | values(:,:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(in), | optional | :: | fill_value | ||
| integer, | intent(in), | optional | :: | frame |
Read a 0-dimensional (scalar) 32-bit integer variable from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values |
The scalar value read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
Read a 1-dimensional array of 32-bit integers from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:) |
1-dimensional array to store the values read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will |
Read a 2-dimensional array of 32-bit integers from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:,:) |
2-dimensional array to store the values read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
Read a 3-dimensional array of 32-bit integers from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:,:,:) |
3-dimensional array to store the values read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
Read a 0-dimensional (scalar) 32-bit real variable from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values |
Scalar value to store the value read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
Read a 1-dimensional array of 32-bit real values from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:) |
1-dimensional array to store the values read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
Read a 2-dimensional array of 32-bit real values from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:,:) |
2-dimensional array to store the values read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
Read a 3-dimensional array of 32-bit real values from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:,:,:) |
3-dimensional array to store the values read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
Read a 0-dimensional (scalar) 64-bit real variable from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values |
Scalar value to store the value read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
Read a 1-dimensional array of 64-bit real values from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:) |
1-dimensional array to store the values read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
Read a 2-dimensional array of 64-bit real values from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:,:) |
2-dimensional array to store the values read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
Read a 3-dimensional array of 64-bit real values from the netCDF file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:,:,:) |
3-dimensional array to store the values read from the variable. |
||
| integer, | intent(in), | optional | :: | start(:) |
Starting indices for reading the variable. If not provided, reading will start at the beginning of the variable. |
|
| integer, | intent(in), | optional | :: | count(:) |
Count of elements to read for each dimension. If not provided, the entire variable will be read. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:,:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:,:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:,:,:) | |||
| integer, | intent(in), | optional | :: | start(:) | ||
| integer, | intent(in), | optional | :: | count(:) |
Read a 1-dimensional array of 32-bit integers from the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:) |
1-dimensional array to store the values read from the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be read from the specified frame along the unlimited dimension. |
Read a 2-dimensional array of 32-bit integers from the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:,:) |
2-dimensional array to store the values read from the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be read from the specified frame along the unlimited dimension. |
Read a 3-dimensional array of 32-bit integers from the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:,:,:) |
3-dimensional array to store the values read from the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be read from the specified frame along the unlimited dimension. |
Read a 1-dimensional array of 32-bit real values from the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:) |
1-dimensional array to store the values read from the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be read from the specified frame along the unlimited dimension. |
Read a 2-dimensional array of 32-bit real values from the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:,:) |
2-dimensional array to store the values read from the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be read from the specified frame along the unlimited dimension. |
Read a 3-dimensional array of 32-bit real values from the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:,:,:) |
3-dimensional array to store the values read from the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be read from the specified frame along the unlimited dimension. |
Read a 1-dimensional array of 64-bit real values from the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:) |
1-dimensional array to store the values read from the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be read from the specified frame along the unlimited dimension. |
Read a 2-dimensional array of 64-bit real values from the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:,:) |
2-dimensional array to store the values read from the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be read from the specified frame along the unlimited dimension. |
Read a 3-dimensional array of 64-bit real values from the netCDF file using decomposition information for parallel I/O.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name |
Name of the variable to read from. |
||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:,:,:) |
3-dimensional array to store the values read from the variable. |
||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp |
Decomposition information for parallel I/O. |
||
| integer, | intent(in), | optional | :: | frame |
Optional frame index for record variables. If provided, the data will be read from the specified frame along the unlimited dimension. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| integer(kind=CABLE_NETCDF_INT32_KIND), | intent(out) | :: | values(:,:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL32_KIND), | intent(out) | :: | values(:,:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer, | intent(in), | optional | :: | frame |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cable_netcdf_stub_file_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | var_name | |||
| real(kind=CABLE_NETCDF_REAL64_KIND), | intent(out) | :: | values(:,:,:) | |||
| class(cable_netcdf_decomp_t), | intent(inout) | :: | decomp | |||
| integer, | intent(in), | optional | :: | frame |