# A stochastic daily weather generator for perennial crop simulations in tropical Malaysia

**Authors:** Christopher Boon Sung Teh, See Siang Cheah, David Ross Appleton, Salim Heddam, Salim Heddam, Lingye Yao, Lingye Yao

PMC · DOI: 10.1371/journal.pone.0338833 · PLOS One · 2026-02-13

## TL;DR

This paper introduces MsiaGen, a weather generator for tropical Malaysia that simulates daily weather patterns with high accuracy for agricultural use.

## Contribution

MsiaGen is a new stochastic weather generator tailored for Malaysia's tropical climate with site-specific parameterization and strong validation.

## Key findings

- MsiaGen achieved strong monthly-scale performance with low mean absolute errors for temperature, wind speed, and rainfall.
- Daily temperature and wind speed errors were mostly within acceptable ranges, but extreme events showed performance limitations.
- Oil palm yield simulations confirmed the generator's ability to reproduce weather-driven dynamics in agricultural settings.

## Abstract

Weather generators are crucial for agricultural modeling in tropical regions, where historical weather data are often scarce or incomplete. This study introduces MsiaGen, a stochastic daily weather generator for Malaysia’s tropical climate, emphasizing computational simplicity, site-specific parameterization, and p ractical applicability. The model was calibrated using data from 12 sites across Malaysia and validated at 11 independent sites, encompassing diverse climatic conditions from Peninsular to East Malaysia. MsiaGen uses a Skew Normal distribution for air temperatures to capture observed asymmetries, particularly in maximum temperatures, while utilizing Weibull and Gamma distributions for wind speed and rainfall, respectively. The generator incorporates first-order autoregressive processes for temporal dependencies and a two-state Markov chain for wet/dry day sequencing. Validation showed strong monthly-scale performance, with mean absolute errors below 1.2% for temperatures, 2.4% for wind speed, and 1.8% for rainfall, along with near-zero model bias and high overall model agreement scores (Kling-Gupta Efficiency metric >0.8). Daily scale validation using quantile-quantile plots revealed excellent agreement for temperature distributions, with points clustering tightly along the identity line within common ranges (21–28 °C for minimum and 25–39 °C for maximum temperatures). Empirical cumulative distribution function analysis indicated that 85 ± 10% of daily temperature errors were within ±2.0°C, 94 ± 6% of wind speed errors were within ±1.0 m s ⁻ ¹, and 83 ± 5% of rainfall errors were within ±20 mm. However, performance declined for extreme events, particularly rainfall exceeding 80–100 mm and wind speeds above 3–4 m s-1, likely due to distribution tail limitations and short observational records (3–5 years). Further validation using oil palm yield simulations at two independent plantation sites demonstrated that generated weather reproduced temporal dynamics across multiple planting densities. MsiaGen offers a practical and data-efficient tool for tropical agricultural research.

## Full-text entities

- **Diseases:** GSL (MESH:D015835), H   L (MESH:D000848), AD (MESH:C535460), flood (MESH:C565009)
- **Chemicals:** FFB (-), H (MESH:D006859), palm oil (MESH:D000073878), water (MESH:D014867), L (MESH:D007930)
- **Species:** Elaeis guineensis (African oil palm, species) [taxon 51953], Arecaceae (palm family, family) [taxon 4710]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12904454/full.md

## Figures

12 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12904454/full.md

## References

74 references — full list in the complete paper: https://tomesphere.com/paper/PMC12904454/full.md

---
Source: https://tomesphere.com/paper/PMC12904454