...
Users often need to write their retrieved fields to multiple target files named according to forecast base-time, forecast step, parameter name etc. Rather than using an external loop around the MARS request this can best be done by using the multi-target feature, see Data storage keywords. If, using this method, you don't get the desired file names, they can in most cases be easily renamed afterwards.
...
A sample MARS request to compute the 48-hour accumulation of total precipitation from T1 = 216 h to T2 =264 h, on a 0.5/0.5 regular lat/lon grid where the truncation time step is 240 looks like this:
RETRIEVE, CLASS = OD, GRID = 0.5/0.5, |
...