function getLatitudeTMY3
extends Modelica.Icons.Function;
input String filNam "Name of weather data file" annotation(
Dialog(loadSelector(filter = "Weather files (*.mos)", caption = "Select weather file")));
output Modelica.SIunits.Angle lat "Latitude from the weather file";
end getLatitudeTMY3;loadSelector
for MSL compliancy as reported by @tbeu at
RWTH-EBC/AixLib#107