Skip to content

update era5/ifs soil field processing #266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

jimbresch
Copy link
Collaborator

Modifications to rd_grib2.F to allow decoding of the era5/ifs soil fields. (referenced in #264 and #265). . Note that EC uses a local table for the grib codes and that g2print is not able to process these fields yet. Decoding was successful for a sample file.

@gabrielcassol
Copy link

@jimbresch @JoshLovesFun I downloaded the modified rd_grib2.F file, recompiled my WPS, and tested it with the operational ECMWF IFS 0.25º data using your Vtable.ERA5 and it didn't work. The soil temperature and moisture data still aren't being read. Maybe your contributions work for the ERA5 data, but they don't work for the operational IFS data.

image

@JoshLovesFun
Copy link

@jimbresch @JoshLovesFun I downloaded the modified rd_grib2.F file, recompiled my WPS, and tested it with the operational ECMWF IFS 0.25º data using your Vtable.ERA5 and it didn't work. The soil temperature and moisture data still aren't being read. Maybe your contributions work for the ERA5 data, but they don't work for the operational IFS data.

image

@gabrielcassol Thanks for your testing. I don't expect the Vtable.ERA5 to work for the operational ECMWF. It is designed to only work for the ERA5 data which I don't think had any changes to soil processing. Thus, a new Vtable specific to the latest operational ECMWF would need to be developed.

Josh

@dudhia
Copy link

dudhia commented Jan 13, 2025 via email

@dudhia
Copy link

dudhia commented Jan 14, 2025 via email

@gabrielcassol
Copy link

@dudhia I have already tested this Vtable.ECMWF with the new operational IFS data and it doesn't work either. I reported this here #264

@weiwangncar
Copy link
Collaborator

The fix @jimbresch provided is based on a particular dataset a user pointed to us. Depending on how your data is obtained, the data may have peculiarities. Can you point us to or supply us a data file that you have problem with?

@smileMchen
Copy link
Collaborator

I will download and process IFS data to make sure what is going on.
I will keep you updated ....

@weiwangncar
Copy link
Collaborator

@jimbresch Do you think this is ready for WPS v4.7?

@andrewsoong
Copy link

andrewsoong commented May 30, 2025

@jimbresch Do you think this is ready for WPS v4.7?

@weiwangncar This bugfix was not run correctly when real.exe stoped with (grid%tsk unreasonable).
Because the skin temp Vtable is wrong.

@andrewsoong
Copy link

Modify Vtable in line 20 to:
235 | 1 | 0 | | SKINTEMP | K | Skin Temperature | 0 | 0 | 17 | 1 |

WRF4.7 works.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct line 20 to the follow:
235 | 1 | 0 | | SKINTEMP | K | Skin Temperature | 0 | 0 | 17 | 1 |

The WRF runs successfully.

@MHBalsmeier
Copy link

@jimbresch I also tested it and can confirm it works with the modification by @andrewsoong

I have two small suggestions though:

  • The command module load is often not necessary when not running on derecho but on standard Linux systems like Ubuntu. To prevent "command not found" errors one could do something like:
if command -v module >/dev/null 2>&1
then
  module load ncarenv/23.09  intel/2024.2.1
  module load eccodes/2.36.0
fi
  • The WRF option smooth_cg_topo does not work with this data since the soilhgt variable is not found. Maybe this can be fixed in the Vtable or soilhgt can be computed based on soilgeo by ungrib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants