I have simulated the MPAS model at 120km horizontal resolution for 5 months with the bucket option activated. I want to visualize the precipitation. I have calculated the total accumulated precipitation by taking into account the i_rainc, i_rainnc, and the bucket size using the formula :
rain = (rainc+i_rainc*100) + (rainnc+i_rainnc*100) ; where 100 is the bucket size.
But I am not able to de-accumulate the rainfall amount. The size of rainc, rainnc, i_rainc, i_rainnc is 360*180*153, where 153 is the number of time steps. I tried to de-accumulate the amount using the following:
for i=2:153
rain_de[:,: ,i-1] = rain [:,:,i] - rain [:,:,i-1]
The overall pattern seems good, but I am not sure if I am doing this correctly because the values differ from the observations by a significant margin.
rain = (rainc+i_rainc*100) + (rainnc+i_rainnc*100) ; where 100 is the bucket size.
But I am not able to de-accumulate the rainfall amount. The size of rainc, rainnc, i_rainc, i_rainnc is 360*180*153, where 153 is the number of time steps. I tried to de-accumulate the amount using the following:
for i=2:153
rain_de[:,: ,i-1] = rain [:,:,i] - rain [:,:,i-1]
The overall pattern seems good, but I am not sure if I am doing this correctly because the values differ from the observations by a significant margin.