Understanding PCPCombine behaviour #2694
Replies: 1 comment 5 replies
-
Hi:
You mention seeing differences when computing a day 2 total. What type of differences are seeing between the R and MET versions? Are they small or large? Are the spatial patterns consistent between the two scripts or do these differ? Are the differences still present for the non-DA runs? Having more information about the differences may help understand what is going on. I have seen MET produce differences previously as a result of the way data is packed. However, this would produce only very small differences if it was impacting the results here. It's also possible something isn't working as expected in MET/METplus. Having some examples would help track down what may be causing these differences if you are able to upload data and configuration to test one of the commands using the instructions. Christina |
Beta Was this translation helpful? Give feedback.
-
I am struggling to get PCPCombine accumulations to match those calculated using independent means. I am taking the same files fed into PCPCombine and an R script (netcdf) to check. I was trying to understand whether the behaviour of the METplus / MET functionality that has been added for the Met Office, to subtract t+0 precip (i.e. the DA precip accumulated from t-3h) from the accumulation, was doing what I thought it should be doing. Non-DA runs do not have t+0h precip to subtract.
FCST_PCP_COMBINE_USE_ZERO_ACCUM = True
This is set to false if you have no t+0h and true if you do, i.e. use it.
This was implemented specifically for the UM which accumulates precip from the start of the run, and t+0h always needs to be subtracted for accumulations which may feature t+0h, i.e. t+1h for hourly, t+3h for three-hourly, t+6h for 6h etc. Later lead times it makes no difference, because computing a day 2 total is simply subtracting the t+24h from the t+48h. For this we use the SUBTRACT option, which I thought worked ok but in my latest tests even this doesn't agree with the independent calculation. The log file suggests it picking up the right files and doing the right thing. It does look like it's subtracting but the numbers are not the same.
Roll up LFRic which is doing things differently. Now we have discrete 3h or 6h accumulations which need to be added, but we still have a t+0h that needs to be subtracted from the t+3h (or t+6h for the DA runs, or whichever is the first accumulation from t+0h), which is really awkward. I've questioned why this is happening but it seems it's unlikely we can do anything about this. I can't reconcile any numbers on this with ADD or SUM either. It does seem to be picking up the files ok, but what it does with t+0h is unclear. The log file isn't that forthcoming. Specific mention of the switch and when it is doing something like "Subtracting t+0h precip now" might be good.
So, question time.
For LFRic it might be a case of having to run PCPCombine twice, e.g. for a 24h accum I first run ADD (to add 4 or 8 accums together) and then again with SUBTRACT just for the first accum of the forecast (to subtract t+0h).... but I am still not sure why I can't get the numbers to agree with independent tests.
Beta Was this translation helpful? Give feedback.
All reactions