Weather forecast has been a major concern in various industries such as agriculture, aviation, maritime, tourism, transportation, etc. A good weather prediction may reduce natural disasters and unexpected events. This paper presents an empirical investigation to predict weather temperature using minimization of continuous ranked probability score (CRPS). The mean and standard deviation of normal density function are linear combination of the components of ensemble system. The resulted optimization model has been solved using particle swarm optimization (PSO) and the results are compared with Broyden–Fletcher–Goldfarb–Shanno (BFGS) method. The preliminary results indicate that the proposed PSO provides better results in terms of CRPS deviation criteria than the alternative BFGS method.