The Intermediate Complexity Atmospheric Research model (ICAR)
A computationally efficient atmospheric model for downscaling.
 All Classes Files Functions Variables
Private Member Functions | List of all members
linear_theory_lut_disk_io::write_var Interface Reference

Private Member Functions

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...

 

Member Function/Subroutine Documentation

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
filenameName of LUT file to open or create
varnameName of variable to create
data_outArray with the data to be output to the file (1D real)
dimnamesArray of dimension names (1 element 1D character)
open_new_fileFlag to clobber any existing file if true
Return values
error0 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
filenameName of LUT file to open or create
varnameName of variable to create
data_outArray with the data to be output to the file (6D real)
dimnamesArray of dimension names (6 element 1D character)
open_new_fileFlag to clobber any existing file if true
Return values
error0 if the file was successfully written

The documentation for this interface was generated from the following file: