Mean radiation fluxes in the near-IR spectral range: Algorithms