CWDI

Luo_Suppe2026-08-15

gma.climet.index.CWDI

[function] CWDI(pre, etc, axis = None, weights = [0.1, 0.15, 0.2, 0.25, 0.3], duration_per_weight = 10):

Calculate Crop Water Deficit Index.

Parameters:

pre: array.

Precipitation (mm).

etc: array.

Crop water requirements (mm).

**Optional:

axis = int. Default None.

Calculation axis. If not set (None), multidimensional data will be expanded to 1 dimension for calculation.

weights = list. Default [0.1, 0.15, 0.2, 0.25, 0.3].

Weighting factors. The length of weights determines the number of weighting factors, and the sum of weights should be 1. Date from oldest to newest.

duration_per_weight = int. Default 10.

The length of water deficit corresponding to each weighting factor.

*Note: The data used in calculating each CWDI is len(weights) �� duration_per_weight.

Returns:

Type: array(%).

References:

Li Chongrui, You Songcai, Wu Yongfeng, Wang Yihao. Improved crop water deficit index for monitoring drought disaster change process of spring maize in the Northeast China[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2019, 35(21): 175-185. DOI: 10.11975/j.issn.1002-6819.2019.21.021

Last Updated 8/19/2026, 6:10:59 AM