atten.py: moved the NaN-check before first calculations and memory allocations
atten.py: moved the NaN-check before first calculations and memory allocations

heistermann/wradlib,kmuehlbauer/wradlib,wradlib/wradlib,wradlib/wradlib,heistermann/wradlib,kmuehlbauer/wradlib