V3FIT
|
Module for opening and reading a 'ece.' file. The file format for these files are documented in ECE Diagnostic Dot File. More...
Functions/Subroutines | |
subroutine | ece_dot_read (ece_file, signals, signals_created, observed, sigma, weight, first_index) |
Read an ECE diagnostic dot file. More... | |
subroutine | ece_dot_parse_chord (ece_dot_file_ref, coordinate_type, signals, signals_created, observed, sigma, weight, first_index) |
Parse ECE diagnostic chord. More... | |
Module for opening and reading a 'ece.' file. The file format for these files are documented in ECE Diagnostic Dot File.
subroutine ece_dot::ece_dot_parse_chord | ( | type (signal_dot_file), intent(inout) | ece_dot_file_ref, |
character (len=*), intent(in) | coordinate_type, | ||
type (signal_pointer), dimension(:), intent(inout) | signals, | ||
integer, intent(inout) | signals_created, | ||
real (rprec), dimension(:), intent(in) | observed, | ||
real (rprec), dimension(:), intent(in) | sigma, | ||
real (rprec), dimension(:), intent(in) | weight, | ||
integer, intent(inout) | first_index | ||
) |
Parse ECE diagnostic chord.
Parses a single chord. Chords are laid out as,
[in] | ece_dot_file_ref | Reference to the ece. file. |
[in] | coordinate_type | Specifies the cartesian or cylindrical coordinate type. |
[in,out] | signals | Array of pointers to the a signal |
[in,out] | signals_created | Number valid signals in the array, or index of the last signal created. |
[in] | observed | Array of observed values. |
[in] | sigma | Array of observed sigma values |
[in] | weight | Array of signal weight values |
[in,out] | first_index | Index of the first instance of an intpol signal. |
subroutine ece_dot::ece_dot_read | ( | character (len=path_length), intent(in) | ece_file, |
type (signal_pointer), dimension(:), intent(inout) | signals, | ||
integer, intent(inout) | signals_created, | ||
real (rprec), dimension(:), intent(in) | observed, | ||
real (rprec), dimension(:), intent(in) | sigma, | ||
real (rprec), dimension(:), intent(in) | weight, | ||
integer, intent(inout) | first_index | ||
) |
Read an ECE diagnostic dot file.
Parses the structure of a dignostic dot file and constructs a ece object. Each chord is parsed by ece_dot_parse_chord.
[in] | ece_file | Name of the ece. file. |
[in,out] | signals | Array of pointers to the a signal |
[in,out] | signals_created | Number valid signals in the array, or index of the last signal created. |
[in] | observed | Array of observed values. |
[in] | sigma | Array of observed sigma values |
[in] | weight | Array of signal weight values |
[in,out] | first_index | Index of the first instance of an intpol signal. |