How does atmospheric CO2 and other Greenhousgases (GHG) affect the incoming (from sun) and outgoing (from earth) radiation. I understand that at certain wavenumbers (or areas of wavenumbers) in the Infrared (IR) these molecules (amongst others) absorb an IR-photon, get a bit "warmer" (means perhaps rotate faster or similar) and after a while reemit another photon with less energy (because the enhanced movement costs a bit of energy) ... resulting in a further warming. The emitted photon either hits another photon or will be going to space or will go back to earth.
Now you have lots of molecules (N) and statistically these three mechanisms lead to a warming of the surface of the earth (let aside scattering etc.).
My question is: 1. is this picture correct 2. when yes how are the different mechanisms in terms of photonic energies