Matlab Implementation of SM2RAIN code
Four different versions:
- SM2RAIN.m: first version of SM2RAIN (3 parameters Z, a, b)
http://dx.doi.org/10.1002/2014JD021489
- SM2RAIN_T.m: SM2RAIN with the exponential filter (4 parameters Z, a, b, T)
http://dx.doi.org/10.1002/2016JD025382
- SM2RAIN_Tpot2.m: SM2RAIN with the advanced exponential filter (5 parameters Z, a, b, Tpot, Tbase)
https://doi.org/10.5194/essd-11-1583-2019
- SM2RAIN_Tpot2_E.m: SM2RAIN with the advanced exponential filter including evaporation term (6 parameters Z, a, b, Tpot, Tbase, K)
https://doi.org/10.5194/essd-11-1583-2019
For each code the calibration function is also provided.
In Test_data and Results you can find the dataset for testing the code and the corresponding results.
To run the different version of SM2RAIN you can use the script "RUN_SM2RAIN.m", very easy to use!