|
integer function | write_var_1d (filename, varname, data_out, dimnames, open_new_file) |
|
Same as write_var_6d but for a 1D variable More...
|
|
integer function | write_var_6d (filename, varname, data_out, dimnames, open_new_file) |
|
Write a 6D variable to a netCDF file More...
|
|
integer function linear_theory_lut_disk_io::write_var::write_var_1d |
( |
character(len=*), intent(in) |
filename, |
|
|
character(len=*), intent(in) |
varname, |
|
|
real, dimension(:), intent(in) |
data_out, |
|
|
character(len=*), dimension(ndims), intent(in), optional |
dimnames, |
|
|
logical, intent(in), optional |
open_new_file |
|
) |
| |
|
private |
Same as write_var_6d but for a 1D variable
Takes a filename variable name, data, dimension names and optionally a flag to clobber existing files. If the specified dimensions don't exist they are created based on the size if the data_out variable. Then the netcdf variable is created with those dimensions and the data are written.
- Parameters
-
filename | Name of LUT file to open or create |
varname | Name of variable to create |
data_out | Array with the data to be output to the file (1D real) |
dimnames | Array of dimension names (1 element 1D character) |
open_new_file | Flag to clobber any existing file if true |
- Return values
-
error | 0 if the file was successfully written
|
integer function linear_theory_lut_disk_io::write_var::write_var_6d |
( |
character(len=*), intent(in) |
filename, |
|
|
character(len=*), intent(in) |
varname, |
|
|
real, dimension(:,:,:,:,:,:), intent(in) |
data_out, |
|
|
character(len=*), dimension(ndims), intent(in), optional |
dimnames, |
|
|
logical, intent(in), optional |
open_new_file |
|
) |
| |
|
private |
Write a 6D variable to a netCDF file
Takes a filename variable name, data, dimension names and optionally a flag to clobber existing files. If the specified dimensions don't exist they are created based on the size if the data_out variable. Then the netcdf variable is created with those dimensions and the data are written.
- Parameters
-
filename | Name of LUT file to open or create |
varname | Name of variable to create |
data_out | Array with the data to be output to the file (6D real) |
dimnames | Array of dimension names (6 element 1D character) |
open_new_file | Flag to clobber any existing file if true |
- Return values
-
error | 0 if the file was successfully written
|
The documentation for this interface was generated from the following file: