impure function getHeaderElementTMY3
extends Modelica.Icons.Function;
input String filNam "Name of weather data file" annotation(
Dialog(loadSelector(filter = "Weather files (*.mos)", caption = "Select weather file")));
input String start "Start of the string that contains the elements";
input String name "Name of data element, used in error reporting";
input Integer position(min = 1) "Position of the element on the line that contains 'start'";
output String element "Element at position 'pos' of the line that starts with 'start'";
end getHeaderElementTMY3;