Shorten if statement and add more logging

More concise way to check table/vars names
Add try to getting station with error log in exception
More logging in jobs