edges_io.auxiliary.auxiliary_data#
- edges_io.auxiliary.auxiliary_data(weather_file: str | Path, thermlog_file: str | Path, year: int, day: int, hour: int = 0, minute: int = 0, n_hours: int | None = None, end_time: tuple[int, int, int, int] | None = None)[source]#
Read both weather and thermlog files for a given time range.
- Parameters:
weather_file (path or str) – The file containing the weather information.
thermlog_file (path or str) – The file containing the thermlog information.
year (int) – The year defining the chunk of times to return.
day (int) – The day defining the chunk of times to return.
hour (int) – The hour defining the start of the chunk of times to return.
minute (int) – The minute defining the start of the chunk of times to return.
n_hours (int) – Number of hours of data to return. Default is to return the rest of the day.
end_time (tuple of int) – The (year, day, hour, minute) defining the end of the returned data (exclusive). Default is to return the rest of the starting day.
- Returns:
structured array – The weather data (see
read_weather_file()
).structured array – The thermlog data (see
read_thermlog_file()
)