read_reservoir_data function