Hi everybody!
When using WRF-Chem with aerosol optical properties aer_op_opt= 1 (volume) option , huge rsl files (exceeds 20 Gb in size) are generated due to the fact that the model is writing repeatedly the following messages:
....
Warning: refi is larger than lookup table range and reset to maximum bound at SW band 1
Warning: refi is larger than lookup table range and reset to maximum bound at SW band 2
....
Warning: refi is larger than lookup table range and reset to maximum bound at LW band 1
Warning: refi is larger than lookup table range and reset to maximum bound at LW band 2
....
If I use aer_op_opt=3 (complex volume-mixin), I don't get these warning.
In the module_optical_averaging.F file, I can see that there is a check for refr and refi outside of lookup table range to prevent unstable extrapolation 'binterp'.
My question: is it safe to use aer_op_opt= 1, even if I have these warnings since the simulation never stops? Do these warnings affect the simulation results.
In this case, I can make the followings changes in module_optical_averaging.F file, so the warning printings should only be showed for debugging.:
!! Disable printing
IF ( 100 .LE. debug_level ) THEN
....
if (refi > refitabsw(prefi,ns)) then
refi = refitabsw(prefi,ns)
write(*,*), 'Warning: refi is larger than lookup table range and reset to maximum bound at SW band ', ns
endif
ENDIF
...
IF ( 100 .LE. debug_level ) THEN
....
if (refi > refitablw(prefi,ns)) then
refi = refitablw(prefi,ns)
write(*,*), 'Warning: refi is larger than lookup table range and reset to maximum bound at LW band ', ns
endif
ENDIF
...
Thank you so much for your help.
Rachid
When using WRF-Chem with aerosol optical properties aer_op_opt= 1 (volume) option , huge rsl files (exceeds 20 Gb in size) are generated due to the fact that the model is writing repeatedly the following messages:
....
Warning: refi is larger than lookup table range and reset to maximum bound at SW band 1
Warning: refi is larger than lookup table range and reset to maximum bound at SW band 2
....
Warning: refi is larger than lookup table range and reset to maximum bound at LW band 1
Warning: refi is larger than lookup table range and reset to maximum bound at LW band 2
....
If I use aer_op_opt=3 (complex volume-mixin), I don't get these warning.
In the module_optical_averaging.F file, I can see that there is a check for refr and refi outside of lookup table range to prevent unstable extrapolation 'binterp'.
My question: is it safe to use aer_op_opt= 1, even if I have these warnings since the simulation never stops? Do these warnings affect the simulation results.
In this case, I can make the followings changes in module_optical_averaging.F file, so the warning printings should only be showed for debugging.:
!! Disable printing
IF ( 100 .LE. debug_level ) THEN
....
if (refi > refitabsw(prefi,ns)) then
refi = refitabsw(prefi,ns)
write(*,*), 'Warning: refi is larger than lookup table range and reset to maximum bound at SW band ', ns
endif
ENDIF
...
IF ( 100 .LE. debug_level ) THEN
....
if (refi > refitablw(prefi,ns)) then
refi = refitablw(prefi,ns)
write(*,*), 'Warning: refi is larger than lookup table range and reset to maximum bound at LW band ', ns
endif
ENDIF
...
Thank you so much for your help.
Rachid
Last edited: