drought module

RHEAS module for generating drought products.

drought.calc(varname, model, cid)[source]

Calculate drought-related variable.

drought.calcDrySpells(model, cid, droughtfun=<Mock id='140504401390288'>, duration=14, recovduration=2)[source]

Calculate maps of number of dry spells during simulation period.

drought.calcSMDI(model, cid)[source]

Calculate Soil Moisture Deficit Index (Narasimhan & Srinivasan, 2005).

drought.calcSPI(duration, model, cid)[source]

Calculate Standardized Precipitation Index for specified month duration.

drought.calcSRI(duration, model, cid)[source]

Calculate Standardized Runoff Index for specified month duration.

drought.calcSeverity(model, cid, varname='soil_moist')[source]

Calculate drought severity from climatology table stored in database.