[pretel] optimise algorithm of generate_atm.py routine

This issue is specific to the optimisation of the generate_atm routine. The problem with the current implementation is that it interpolates from the ATM file to the GEO file at every time step.