Returns an output variable dimension. This function contains the definitions of all dimensions used to describe the in-memory data shapes of CABLE variables.
Note
"Note on adding new dimensions and shapes for output variables" Adding new dimensions and shapes for output variables is possible, however it is currently more involved than adding new output variables and requires making changes to the output module implementation. The steps to add a new dimension to the output module are as follows:
cable_output_get_dimension.cable_output_decomp_smod
consistent with the data shape and any necessary code to associate the
decomposition with an output variable.In future versions this can be improved by generating the necessary grid reduction buffers and parallel I/O decompositions based on the active output variables across all output streams, rather than requiring hard coded definitions for each dimension and shape in the output module implementation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | name |
Name of the dimension. Please see the implementation of this function for the list of allowed dimension names and their meanings. |
The output dimension object corresponding to the requested dimension name.