fix more notices - weather conditions null, datetime conversion cast to
int