def _prepare_general_arguments(RRTMGobject):
tlay = _climlab_to_rrtm(RRTMGobject.Tatm)<EOL>tlev = _climlab_to_rrtm(interface_temperature(**RRTMGobject.state))<EOL>play = _climlab_to_rrtm(RRTMGobject.lev * np.ones_like(tlay))<EOL>plev = _climlab_to_rrtm(RRTMGobject.lev_bounds * np.ones_like(tlev))<EOL>ncol, nlay = tlay.shape<EOL>tsfc = _climlab_to_rrtm_sfc(RRTMGobject.Ts, RRTMGobject.Ts)<EOL>vapor_mixing_ratio = mmr_to_vmr(RRTMGobject.specific_humidity, gas='<STR_LIT>')<EOL>h2ovmr   = _climlab_to_rrtm(vapor_mixing_ratio * np.ones_like(RRTMGobject.Tatm))<EOL>o3vmr    = _climlab_to_rrtm(RRTMGobject.absorber_vmr['<STR_LIT>'] * np.ones_like(RRTMGobject.Tatm))<EOL>co2vmr   = _climlab_to_rrtm(RRTMGobject.absorber_vmr['<STR_LIT>'] * np.ones_like(RRTMGobject.Tatm))<EOL>ch4vmr   = _climlab_to_rrtm(RRTMGobject.absorber_vmr['<STR_LIT>'] * np.ones_like(RRTMGobject.Tatm))<EOL>n2ovmr   = _climlab_to_rrtm(RRTMGobject.absorber_vmr['<STR_LIT>'] * np.ones_like(RRTMGobject.Tatm))<EOL>o2vmr    = _climlab_to_rrtm(RRTMGobject.absorber_vmr['<STR_LIT>'] * np.ones_like(RRTMGobject.Tatm))<EOL>cfc11vmr = _climlab_to_rrtm(RRTMGobject.absorber_vmr['<STR_LIT>'] * np.ones_like(RRTMGobject.Tatm))<EOL>cfc12vmr = _climlab_to_rrtm(RRTMGobject.absorber_vmr['<STR_LIT>'] * np.ones_like(RRTMGobject.Tatm))<EOL>cfc22vmr = _climlab_to_rrtm(RRTMGobject.absorber_vmr['<STR_LIT>'] * np.ones_like(RRTMGobject.Tatm))<EOL>ccl4vmr  = _climlab_to_rrtm(RRTMGobject.absorber_vmr['<STR_LIT>'] * np.ones_like(RRTMGobject.Tatm))<EOL>cldfrac = _climlab_to_rrtm(RRTMGobject.cldfrac * np.ones_like(RRTMGobject.Tatm))<EOL>ciwp = _climlab_to_rrtm(RRTMGobject.ciwp * np.ones_like(RRTMGobject.Tatm))<EOL>clwp = _climlab_to_rrtm(RRTMGobject.clwp * np.ones_like(RRTMGobject.Tatm))<EOL>relq = _climlab_to_rrtm(RRTMGobject.r_liq * np.ones_like(RRTMGobject.Tatm))<EOL>reic = _climlab_to_rrtm(RRTMGobject.r_ice * np.ones_like(RRTMGobject.Tatm))<EOL>return (ncol, nlay, play, plev, tlay, tlev, tsfc,<EOL>h2ovmr, o3vmr, co2vmr, ch4vmr, n2ovmr, o2vmr, cfc11vmr,<EOL>cfc12vmr, cfc12vmr, cfc22vmr, ccl4vmr,<EOL>cldfrac, ciwp, clwp, relq, reic)<EOL>
Prepare arguments needed for both RRTMG_SW and RRTMG_LW with correct dimensions.