added diel-period to calculate Day or Night based oon Date and Lat and Long - uses sun_calc function