.Annex60.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

function getAbsolutePath
  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-28T19:26:00Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos