You should run each lesson in a separate directory, so that it will be easier to check for the necessary input files and look for what output files are created after a successful run.
We recommend you create /classroom/users/${USER}/DA/cloudy_radiance to be your working directory for this session.
mkdir -p /classroom/users/${USER}/DA/cloudy_radiance
cd /classroom/users/${USER}/DA/cloudy_radiance
To begin this exercise, link or copy the basic necessary files from the WRFDA package and the test directory:
ln -sf /classroom/users/${USER}/DA/WRFDA/run/LANDUSE.TBL .
ln -sf /classroom/wrfhelp/DATA/WRFDA/allsky_radiance_case/be.dat .
ln -sf /classroom/wrfhelp/DATA/WRFDA/allsky_radiance_case/fg .
ln -sf /classroom/wrfhelp/DATA/WRFDA/allsky_radiance_case/ob.ascii .
cp -p /classroom/wrfhelp/DATA/WRFDA/allsky_radiance_case/namelist.input .
View the namelist file in the text editor of your choice: note the relevant options which are enabled (use_amsr2obs=true to read in AMSR2 observations, crtm_cloud=true to use cloudy radiance observations for CRTM).
&wrfvar4
use_amsr2obs=true,
/
...
&wrfvar14
rtminit_nsensor=1,
rtminit_platform=29,
rtminit_satid=1,
rtminit_sensor=63,
thinning_mesh=30.0,
thinning=true,
qc_rad=true,
write_iv_rad_ascii=true,
write_oa_rad_ascii=true,
rtm_option=2,
crtm_cloud=true,
only_sea_rad=.true,
use_varbc=.true.
varbc_factor=1.0,
varbc_nbgerr=5000,
varbc_nobsmin=500,
/
Now get the data/coefficient files specific to radiance assimilation, including the above-mentioned "leapsec.dat". Note that currently the all-sky radiance capability is only available with CRTM, it is not yet available for RTTOV.
ln -sf /classroom/users/${USER}/DA/WRFDA/var/run/radiance_info ./radiance_info
ln -sf /classroom/users/${USER}/DA/WRFDA/var/run/crtm_coeffs ./crtm_coeffs
ln -sf /classroom/users/${USER}/DA/WRFDA/var/run/leapsec.dat .
cp -p /classroom/wrfhelp/DATA/WRFDA/allsky_radiance_case/VARBC.in .
Finally, get the AMSR2 observation files. These files are in HDF5 format, and have a different naming scheme from BUFR radiance observation files. There are two types of AMSR2 observation files which are used by WRFDA: brightness temperature (L1SGRTBR*.h5) and cloud water (L2SGCLWLD*.h5). Brightness temperature observations are assimilated in WRFDA; cloud water information is used for quality control.
ln -fs /classroom/wrfhelp/DATA/WRFDA/allsky_radiance_case/L1SGRTBR*.h5 .
ln -fs /classroom/wrfhelp/DATA/WRFDA/allsky_radiance_case/L2SGCLWLD*.h5 .
Note that the above linking commands get you multiple files through use of the wildcard (*). For more information on the naming scheme and why multiple files are used, see slide 14 of the Observations talk, or the relevant section of the user's guide.