Density estimate and its application to analysis of temperature series