I read a paper on enhancing WRF model coastal wind simulations by updating roughness length using dynamic boundary conditions, and I wanted to know how to modify my WRF to enable this process.The following is the procedure described in the literature:
The WRF model is equipped with a native option termed "sst_update" within its namelist.input configuration, which we utilize to facilitate the SST updates. In this study, we first add the Z0, denoted as “ZNT” within the WRF code framework, to the registry table as the “SST” variable, ensuring the “ZNT” is involved in the boundary layer file. Then, we modify the code to synchronize the updates of the Z0 and SST when the “sst_update” is activated. The update frequency aligns with the intervals of other lateral boundary conditions. Consequently, the updated SST and Z0 are introduced as the boundary conditions at each updating intervals. Between updates, the respective schemes are applied to refresh the magnitude of SST and Z0.
The WRF model is equipped with a native option termed "sst_update" within its namelist.input configuration, which we utilize to facilitate the SST updates. In this study, we first add the Z0, denoted as “ZNT” within the WRF code framework, to the registry table as the “SST” variable, ensuring the “ZNT” is involved in the boundary layer file. Then, we modify the code to synchronize the updates of the Z0 and SST when the “sst_update” is activated. The update frequency aligns with the intervals of other lateral boundary conditions. Consequently, the updated SST and Z0 are introduced as the boundary conditions at each updating intervals. Between updates, the respective schemes are applied to refresh the magnitude of SST and Z0.