Type for describing a netCDF file output stream.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real, | public | :: | previous_write_time | = | 0.0 |
The simulation time at which the output stream was last written. |
|
| integer, | public | :: | frame | = | 0 |
The current index along the unlimited time dimension for the output stream. |
|
| character(len=64), | public | :: | sampling_frequency |
The frequency at which all output variables in the output stream are aggregated in time and written to disk. Please refer to the cable_timing_frequency_matches procedure for more information on the available frequency settings. |
|||
| character(len=64), | public | :: | grid_type |
The grid type of the output stream. This controls the netCDF dimensions
and coordinate variables used to describe non-vertical spatial coordinates
in the netCDF file. Common grid types in CABLE include the compressed land
grid, or the lat-lon mask grid. The allowed grid types are specified in
|
|||
| character(len=256), | public | :: | file_name |
The name of the netCDF file to which the output stream is written. |
|||
| logical, | public | :: | shuffle | = | .false. |
Whether to apply the shuffle filter to the variables in the file. |
|
| integer, | public | :: | compression_level | = | 0 |
Deflate level 0 to 9 for the variables in the file. Zero means no compression. |
|
| class(cable_netcdf_file_t), | public, | allocatable | :: | output_file |
The netCDF file object associated with the output stream. |
||
| type(cable_output_variable_t), | public, | allocatable | :: | coordinate_variables(:) |
An array of coordinate variables to be written to the output stream. |
||
| type(cable_output_variable_t), | public, | allocatable | :: | output_variables(:) |
An array of output variables to be written to the output stream. |
||
| type(cable_output_attribute_t), | public, | allocatable | :: | metadata(:) |
Global netCDF file attributes to be written to the output stream. |