Custom Query (964 matches)
Results (49 - 51 of 964)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#917 | Fixed | Corrected minor typos and bugs | ||
Description |
Corrected minor typos and bugs:
|
|||
#916 | Done | VERY IMPORTANT: Update WRF ESMF/NUOPC cap module | ||
Description |
We have carefully examined the DATA-WRF-ROMS coupling system with the ESMF/NUOPC library. We fixed esmf_atm_wrf.h NUOPC cap module after a detailed analysis of the heat flux balance equation. The documentation of WRF fluxes in the code is confusing about the direction (downward/upward) and the sign (positive/negative) of the latent and sensible heat fluxes. The net heat flux previously exported from WRF to ROMS was incorrect due to the confusing information.
Many thanks to my colleagues at Rutgers, John Wilkin, Julia Levin, and Travis Miles, for the discussions about WRF-ROMS coupling. The zero values in the latent heat flux in the Mid-Atlantic Bight (MAB) were corrected by commenting a limiter kluge in WRF modules module_sf_sfclay.F and module_sf_sfclayrev.F. But unfortunately, it has been there for years, and the WRF developers refuse to correct it. Specifically, we need to comment on these two lines: ! line 898 QFX(I)=AMAX1(QFX(I),0.) ! And line 916 HFX(I)=AMAX1(HFX(I),-250.) Furthermore, unlimited and limited latent heat flux and its difference (unlimited minus limited) values are shown below. Notice the effects of the removing the limiters along the US East Coast, MAB, and the Gulf of Maine. The resulting net heat flux difference between using unlimited and limited latent heat fluxes yields: Therefore, users need to be aware of the latent heat flux limiters in the WRF modules mentioned above and experiment in their particular applications. |
|||
#915 | Fixed | VERY IMPORTANT: corrected bug when defining depth arrays in output NetCDF files | ||
Description |
Corrected bug to define time-independent depth arrays in the output history, quicksave, and DA initialization NetCDF files. We get the following error during execution: output statement overflows record, unit -5 The issue is fixed by changing the depth variable long_name attribute statement from: WRITE (Vinfo( 2),40) Vname(2,idpthR) to WRITE (Vinfo( 2),40) TRIM(Vname(2,idpthR)) ... 40 FORMAT ('time independent',1x,a) We need to use the intrinsic TRIM() function to remove the padding blanks and avoid overflow. I am appalled about this one; no idea what the previous version of the compilers was doing here. Although the value in Vname for this case is "depth of RHO-points" the standard says that compilers should pad with blank spaces to the declared length of the character string (120). So, the first statement above prepended "time independent" to the resulting string, rendering the Vinfo(2) length larger than the declared 120 characters. To avoid related issues in the future, the management of Vname and Vinfo is updated in several routines with a character length parameter, MaxLen in the delaration: integer, parameter :: MaxLen = 160 ! information string length ... character (len=MaxLen) :: Vname(6,0:NV) ... character (len=MaxLen), dimension(8) :: Vinfo Notice its character length is incremented from 120 to 160. Many thanks to Jiangtao Xu (NOAA) for reporting and tracking this bug. |