The reducer.rms function computes for each tick the root mean square of the values of Geo Time Series™ which are in the same equivalence class.

It operates on DOUBLE and LONG.

The location and elevation returned are the first one encountered, which may vary depending on the order of the parameters.

The exclude null version reducer.rms.exclude-nulls, will exclude null values before computing the rms. Even if input GTS are misaligned, there will be one result per tick.

reducer.rms.exclude-nulls is available since version 1.2.18.

See also



[ NEWGTS "GTS1" RENAME 10 42.0 42.0 42.0 1.0 ADDVALUE //for tick 10, there is lat/long/elevation 20 NaN NaN NaN 5.0 ADDVALUE //for tick 20, the first GTS has no lat/long/elevation NEWGTS "GTS2" RENAME 10 NaN NaN NaN 4.0 ADDVALUE 20 44.0 44.0 44.0 3.0 ADDVALUE //lat/long/elevation won't be considered (not the first one encountered) NEWGTS "GTS3" RENAME 10 NaN NaN NaN 3.0 ADDVALUE 20 NaN NaN NaN 8.0 ADDVALUE NEWGTS "GTS4" RENAME 10 NaN NaN NaN 3.0 ADDVALUE 30 NaN NaN NaN 2.0 ADDVALUE ] 'GTSlist' STORE [ $GTSlist [] reducer.rms.exclude-nulls ] REDUCE //exclude nulls: there will be a value for tick 20 and 30.