|
integer function | check_attribute_r (filename, default_value, value_name) |
|
Check that a named real attribute matches the value in a file More...
|
|
integer function | check_attribute_i (filename, default_value, value_name) |
|
Check that a named integer attribute matches the value in a file More...
|
|
integer function | check_attribute_c (filename, default_value, value_name) |
|
Check that a named character attribute matches the value in a file More...
|
|
integer function linear_theory_lut_disk_io::check_attribute::check_attribute_c |
( |
character(len=*), intent(in) |
filename, |
|
|
character(len=*), intent(in) |
default_value, |
|
|
character(len=*), intent(in) |
value_name |
|
) |
| |
|
private |
Check that a named character attribute matches the value in a file
Takes a filename, attribute name, and expected attribute value Reads the attribute from the file, and compares the results to the expected value. If the results match the function is successful and 0 is returned, else 1 is returned
- Parameters
-
filename | name of the netCDF file |
default_value | expected value of the attribute |
value_name | name of the attribute to read |
- Return values
-
error | 0 if expected matches read, 1 otherwise
|
integer function linear_theory_lut_disk_io::check_attribute::check_attribute_i |
( |
character(len=*), intent(in) |
filename, |
|
|
integer, intent(in) |
default_value, |
|
|
character(len=*), intent(in) |
value_name |
|
) |
| |
|
private |
Check that a named integer attribute matches the value in a file
Takes a filename, attribute name, and expected attribute value Reads the attribute from the file, and compares the results to the expected value. If the results match the function is successful and 0 is returned, else 1 is returned
- Parameters
-
filename | name of the netCDF file |
default_value | expected value of the attribute |
value_name | name of the attribute to read |
- Return values
-
error | 0 if expected matches read, 1 otherwise
|
integer function linear_theory_lut_disk_io::check_attribute::check_attribute_r |
( |
character(len=*), intent(in) |
filename, |
|
|
real, intent(in) |
default_value, |
|
|
character(len=*), intent(in) |
value_name |
|
) |
| |
|
private |
Check that a named real attribute matches the value in a file
Takes a filename, attribute name, and expected attribute value Reads the attribute from the file, and compares the results to the expected value. If the results are within 1e-20 of each other. they are assumed to match, and 0 is returned, else 1 is returned
- Parameters
-
filename | name of the netCDF file |
default_value | expected value of the attribute |
value_name | name of the attribute to read |
- Return values
-
error | 0 if expected matches read, 1 otherwise
|
The documentation for this interface was generated from the following file: