Hi,
I am having problems with a regional run, more specifically I am trying to run quite a high resolution (~1km) domain with my own meteorological forcing data. I have created a surface datasets and domain file (used for ATM_DOMAIN_FILE and LND_DOMAIN_FILE, see attached) which I am also using as my domain in the datm.stream files. Lat and long in my met data forcing files are identical to lat and long in the surface dataset. The created surface dataset in combination with lnd and atmospheric domain runs without problems with the CRUNCEP v7 meteorological input data.
The model usually runs fine for 10-1000 time steps before it crashes due to "ERROR: One or more of the output from CLM to the coupler are NaN". Sl_t, the radiative temperature (lnd2atm_inst%t_rad_grc(g) = sqrt(sqrt(lnd2atm_inst%eflx_lwrad_out_grc(g)/sb))) seems to be the problem, and after writing out all sorts of diagnostic variables I could confirm that it is actually due to outgoing longwave radiation (eflx_lwrad_out_grc(g)) turning negative, which then gives an NaN. It always seems to crash at a slightly different grid cell - have double checked my input data and it all seems sensible. When I attempted to mask out certain grid cells via the mask variable in the domain file (=set to 0) it seemed to still run over the entire domain. I have also tried with and without longwave radiation as a direct input variable, which doesn't make a difference. If I run in DEBUG mode, it crashes in... clm/src/main/subgridAveMod.F90 at line 1067 during the c2g_2d subroutine. Any help/suggestions would be greatly appreciated.
Thanks!
I am having problems with a regional run, more specifically I am trying to run quite a high resolution (~1km) domain with my own meteorological forcing data. I have created a surface datasets and domain file (used for ATM_DOMAIN_FILE and LND_DOMAIN_FILE, see attached) which I am also using as my domain in the datm.stream files. Lat and long in my met data forcing files are identical to lat and long in the surface dataset. The created surface dataset in combination with lnd and atmospheric domain runs without problems with the CRUNCEP v7 meteorological input data.
The model usually runs fine for 10-1000 time steps before it crashes due to "ERROR: One or more of the output from CLM to the coupler are NaN". Sl_t, the radiative temperature (lnd2atm_inst%t_rad_grc(g) = sqrt(sqrt(lnd2atm_inst%eflx_lwrad_out_grc(g)/sb))) seems to be the problem, and after writing out all sorts of diagnostic variables I could confirm that it is actually due to outgoing longwave radiation (eflx_lwrad_out_grc(g)) turning negative, which then gives an NaN. It always seems to crash at a slightly different grid cell - have double checked my input data and it all seems sensible. When I attempted to mask out certain grid cells via the mask variable in the domain file (=set to 0) it seemed to still run over the entire domain. I have also tried with and without longwave radiation as a direct input variable, which doesn't make a difference. If I run in DEBUG mode, it crashes in... clm/src/main/subgridAveMod.F90 at line 1067 during the c2g_2d subroutine. Any help/suggestions would be greatly appreciated.
Thanks!