eloop function is similar to the
tloop function. When displaying a grads expression (
expr) with the E (Ensemble) dimension varying, the
eloop function will evaluate the
exprwith each designated ensemble member fixed, then reassemble the grids to obtain a final result that is E-varying. The
eloop function is provided as a way to obtain E-varying results from functions or expressions that are unable to operate when E is a varying dimension.
- Suppose you have an ensemble forecast with 15 ensemble members, and you want to evaluate the accuracy of each ensemble member by comparing it to reanalysis. You need to calculate the difference between an E-varying data set (the forecast) with a non-E-varying data set (reanalysis).
set lon -77
set lat 39
set e 1 15
set t 1 last