def get_observation_from_table(cursor, hash):
    """
    Gets the observation for a state_id from a given database
    Inputs:
        - cursor: the db cursor
        - state_id: the state_id we want (primary key in the table)
    """
    cursor.execute(f"SELECT * from Observations where state_id = '{hash}'")
    return cursor.fetchall()