FATAL ERROR

56 views
Skip to first unread message

Aarti Soni

unread,
Jan 29, 2025, 5:18:17 AMJan 29
to wrf-hydro_users
Dear WRF-Hydro Team,

I have prepared the GLDAS_NOAH forcing data sets (regridded at 5km) for 22 years. Initially I am running the model for first five years. while running wrf_hydro.exe I am getting following error

FATAL ERROR! Program stopped. Recompile with environment variable HYDRO_D set t
 o 1 for enhanced debug information.

The log file and nameslists are attached here. Could you please check and help me to solve the error?

Thank you.
namelist.hrldas
hydro.log
hydro.namelist

Shanaka Weththasinghe

unread,
Jan 29, 2025, 10:21:56 AMJan 29
to wrf-hyd...@ucar.edu
Hello Aarti,

In your hydro.namelist file, the DXRT value is set to 5000.0 (! Specify the grid spacing of the terrain routing grid...(meters) for 5km domain resolution). However, it should be 500.0. This value should represent the resolution of your routing model, not the land model resolution.

Best regards,
Shanaka

--
You received this message because you are subscribed to the Google Groups "wrf-hydro_users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wrf-hydro_use...@ucar.edu.
To view this discussion visit https://groups.google.com/a/ucar.edu/d/msgid/wrf-hydro_users/7caf7f65-369e-4801-b572-0f4f3c949e90n%40ucar.edu.


--
D. Shanaka Weththasinghe
B.Sc. (SUSL), M.Sc. (UoP)
Tel (mob) (+94) 711409171

Kevin Sampson

unread,
Jan 29, 2025, 11:18:18 AMJan 29
to wrf-hyd...@ucar.edu
Aarti,

I also noticed a few inconsistencies in your hydro namelist:
  1. You have bucket_loss = 1, but you are using gridded diffusive wave routing (channel_option = 3) .These are not compatible options. Set bucket_loss = 0
  2. As Shanaka mentioned previously, you have DXRT = 5000.0 but the notes say your routing resolution is 500.0m Please set this to 500.0
  3. You commented out the restart file frequency (! rst_dt = 120). I would set this to -99999 for monthly outputs, or a very large number so that you will not get any restart files in your simulation window.
Kevin

Aarti Soni

unread,
Jan 29, 2025, 12:45:34 PMJan 29
to wrf-hydro_users, Kevin Sampson
Thank you, Kevin and Shanaka, for your prompt response. 

I have made suggested changes in the namelist DXRT = 500, bucket_loss = 0 and rst_dt = -99999
Again, it stopped with an error. please see the attached log file.


hydro.log

Arezoo RafieeiNasab

unread,
Jan 29, 2025, 12:54:05 PMJan 29
to wrf-hyd...@ucar.edu, Kevin Sampson
Hi Arti, 

Could you compare the namelists you are using with the one shared in the "Run" or "build" directory after compiling? The namelists go under changes from one version to another, so we want to make sure we are using the right namelists with the code we are using. 

Also, not sure this could raise any issue, but I suggest commenting out these lines too: 
reservoir_persistence_usgs = .FALSE.
reservoir_persistence_usace = .FALSE.
reservoir_rfc_forecasts = .FALSE.

Could you try it out and see if it works?
Thanks!
Arezoo





--
Arezoo Rafieei Nasab, Ph.D.
NCAR/RAL Project Scientist II
office: 303-497-2888

Aarti Soni

unread,
Jan 29, 2025, 2:30:12 PMJan 29
to wrf-hydro_users, Arezoo RafieeiNasab, Kevin Sampson
I cross-checked with the original namelist shared in the "Run" folder, and accordingly, I made changes in ! Output netcdf file control
Also, reservoir options are commented out.

The log file is still showing the same error.


Arezoo RafieeiNasab

unread,
Jan 29, 2025, 2:36:14 PMJan 29
to Aarti Soni, wrf-hydro_users, Kevin Sampson
Arti, 

You commented out the whole nudging_nlist but left "\" at the last line there. So right now you have two \ for one namelist. Could you remove or comment out the "\" on line 273 and try again. 

Thanks!
Arezoo

Aarti Soni

unread,
Jan 29, 2025, 2:55:16 PMJan 29
to wrf-hydro_users, Arezoo RafieeiNasab, wrf-hydro_users, Kevin Sampson, Aarti Soni
Tried.
the error: The job is stopped due to the fatal error.
 HYDRO_nlst namelist error in read_rt_nlst

 FATAL ERROR! Program stopped. Recompile with environment variable HYDRO_D set t
 o 1 for enhanced debug information.

Arezoo RafieeiNasab

unread,
Jan 29, 2025, 3:00:28 PMJan 29
to Aarti Soni, wrf-hydro_users, Kevin Sampson
Could you share the domain and the namelist (your latest) and I do not need forcing datasets, and I would try it on my end. Also, let me know what model tag you are using, so I can compile the same code. 
Thanks!
Arezoo

Aarti Soni

unread,
Jan 29, 2025, 3:12:44 PMJan 29
to wrf-hydro_users, Arezoo RafieeiNasab, wrf-hydro_users, Kevin Sampson, Aarti Soni
Thank you, Arezoo, for looking into this error in detail.
I am using wrf_hydro_nwm_public-5.2.0

The requested files are attached. PFA

Thanks
Aarti
hydro.namelist
namelist.hrldas
DOMAIN.zip

Arezoo RafieeiNasab

unread,
Jan 29, 2025, 3:42:20 PMJan 29
to Aarti Soni, wrf-hydro_users, Kevin Sampson
Hi Atri, 

I see this in your hydro.namelit: 

! LSM grid resolution (land model grid) = 5 km = 5000 m
! Routing grid resolution = 500 m
! AGGFACTRT= Routing grid resolution / LSM grid resolution
<200b>! AGGFACTRT= 5000 / 500 = 10

Please remove this line and you should be fine. The model is running on my end. I do not know how that is being added, but it seems like a windows added thing or a editor. I did not see it when I looked at the namelist on the windows machine.
Thanks!
Arezoo

Aarti Soni

unread,
Jan 30, 2025, 8:13:25 AMJan 30
to wrf-hydro_users, Arezoo RafieeiNasab, wrf-hydro_users, Kevin Sampson, Aarti Soni
Thank you so much Arezoo for the help. It is running now.
But I need output as daily but it is generating at 3-hourly interval same as forcing time steps (see the attached screenshot). 
in namelist I gave the following timesteps..

! Timesteps in units of seconds
FORCING_TIMESTEP = 10800
NOAH_TIMESTEP    = 10800
OUTPUT_TIMESTEP  = 86400

One more question, why LDASOUT file is saved as DOMAIN2? 

Thank you.
outdir.png

Arezoo RafieeiNasab

unread,
Jan 30, 2025, 11:11:52 AMJan 30
to Aarti Soni, wrf-hydro_users, Kevin Sampson
Hi Aarti, 

The LDASOUT files frequency is controlled by the OUTPUT_TIMESTEP  in the namelist.hrlda, which is currently ok as is. The other output files frequency is controlled in the hydro.namelist. Please change the frequency there. out_dt = 180

Also, the LDASOUT has the number 2, since you have the  :grid_id = 2 ; as a global attribute in the wrfinput.nc file. 

Thanks!
Arezoo

Reply all
Reply to author
Forward
0 new messages