| 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. |
|
| logical, | intent(in), | optional | :: | shuffle |
Whether to apply the shuffle filter. Only used together with
|
|
| integer, | intent(in), | optional | :: | deflate_level |
Deflate compression level from 1 (fastest) to 9 (smallest). Zero or
absent means no compression. Compression needs a netCDF-4 file
( |
Define a variable in the netCDF file with the specified name, dimensions, and type.