<div dir="ltr">I have hourly output files in my WRF runs, running up to 6 days. I would like to plot daily total rainfal at D+00(at T+24), D+01(at T+48), up to D+05. My understnding is that WRF rainfall is accumulated over the entire run. I have run the model to T+48 over equatorial Africa, and it apparent that the rainfall field at T+48 is very much wetter than at T+24, suggesting T+48 is accumulation from the beginning of the run (attached graphics).<br>My search indicates that it is best to do a difference in cdo or nco. So I tried <br><br>cdo sub wrfoutT+<a href="http://48.nc">48.nc</a> wrfoutT+<a href="http://24.nc">24.nc</a> <a href="http://wrfout_cdodiff.nc">wrfout_cdodiff.nc</a><br>ncdiff wrfoutT+<a href="http://48.nc">48.nc</a> wrfoutT+<a href="http://24.nc">24.nc</a> <a href="http://wrfout_nc0diff.nc">wrfout_nc0diff.nc</a><br><br>Then I do a plot of <a href="http://wrfout_new.nc">wrfout_new.nc</a> in ncl. I used the script WRF_pcp_1.cnl, except I removed the plotting of terrain height.<br>With <a href="http://cdodiff.nc">cdodiff.nc</a> I get the following message and error:<br>fatal:Number of subscripts do not match number of dimensions of variable, (3) subscripts used, (2) subscripts expected<br>fatal:["Execute.c":6377]:variable (XLAT) is not in file (in_file)<br>fatal:["Execute.c":8637]:Execute: Error occurred at or near line 5140 in file /home/zmumba/anaconda3/envs/py39/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl<br><br>fatal:["Execute.c":8637]:Execute: Error occurred at or near line 5241 in file /home/zmumba/anaconda3/envs/py39/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl<br><br>fatal:["Execute.c":8637]:Execute: Error occurred at or near line 5324 in file /home/zmumba/anaconda3/envs/py39/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl<br><br>fatal:["Execute.c":8637]:Execute: Error occurred at or near line 289 in file WRF_pcp_1.ncl<br><br><br>wrfout_ncodiff plots ok. The problem is the scale used which goes from 40 to 440 (attached graphic). I do not know where this scale is coming from. rpntVarSumaary(rain_tot) for both files shows reasonable values, which do not exceed 200mm.<br><br>If there is anyone who is able to plot 24hr WRF rainfall at day1, day2, ..., I will appreciate if they are able to share their method.<br></div>