runtraj.execution.schedule.read_sites#
- runtraj.execution.schedule.read_sites(directory)[source]#
Return the sites in a project’s
sites.csv.Each row needs
longitude,latitudeandaltitude; analtitude_refcolumn (agl, the default, ormsl) is kept. Other columns, such as a site’s name, are ignored.- Raises:
FileNotFoundError – If the project has no
sites.csv.ValueError – If a column is missing, a value is empty or not a number, a site would not make a valid release (a latitude beyond 90, say), or there are no rows. The message names the line.
- Return type:
- Parameters: