.Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath

Information

The function returns the absolute path of a uniform resource identifier (URI) or local file name. If the file is not found, then this function terminates with an assert.

This function has been introduced to allow users to specify the name of weather data files with a path that is relative to the library path. This allows users to change the current working directory while still being able to read the files.

Interface

pure function getAbsolutePath
  extends Modelica.Icons.Function;
  input String uri "A URI";
  output String path "The absolute path of the file pointed to by the URI";
end getAbsolutePath;

Revisions


Generated at 2024-12-04T19:25:49Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos