-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update bufr codes to handle one forecast at a time #75
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code changes look reasonable to me.
A couple of questions:
- I notice
sigio_module
is being used. Is it possible to remove the dependency onsigio
from this program. We have long deprecated the spectral dycore. I noticed only a couple places wheresigio
is referenced. - Since
nemsio
is removed, we can remove linking withnemsio
library inCMakeLists.txt
.
Thanks
The bufr code uses subroutine sigio_modpr(). I will read the code to see why it is called, and see if it can removed.
Will do, thanks! |
Subroutine sigio_modpr is used to compute model pressures. It is sourced from: /apps/ops/prod/libs/build/v1.1.0/pkg/sigio-v2.3.2/src/sigio_module.f. I did the following modifications to remove the dependency on 'sigio'.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
Thank you for removing the dependency on sigio library.
I have just one comment re. an mpif.h
file that is being included.
src/gfs_bufr.fd/meteorg.f
Outdated
@@ -60,18 +65,15 @@ subroutine meteorg(npoint,rlat,rlon,istat,cstat,elevstn, | |||
! | |||
!$$$ | |||
use netcdf | |||
use nemsio_module | |||
use sigio_module | |||
use modpr_module | |||
use physcons | |||
use mersenne_twister | |||
! use funcphys, only : gfuncphys | |||
use funcphys | |||
implicit none | |||
include 'mpif.h' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this include mpif.h
if this is no longer a parallel program?
Code meteorg.f and read_netcdf.f were updated, "mpif.h" was removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
thanks for accepting the suggestions and getting rid of nemsio and sigio library dependencies from this program.
Great. Thanks, Rahul and Walter. |
The current operational BUFR job begins concurrently with the GFS model run. This PR updates the script and ush to process all forecast hour data simultaneously, then combines the temporary outputs to create BUFR sounding products for each station. The updated job will now start processing data only after the GFS model completes its 180-hour run, handling all forecast files from 000hr to 180hr at a time. The new version job running will need 7 nodes instead of the current operational 4 nodes. This PR depends on the GFS bufr code update NOAA-EMC/gfs-utils#75 With the updates of bufr codes and scripts, there is no need to add restart capability to GFS post-process job JGFS_ATMOS_POSTSND. This PR includes the other changes: Rename the following table files: parm/product/bufr_ij13km.txt to parm/product/bufr_ij_gfs_C768.txt parm/product/bufr_ij9km.txt to parm/product/bufr_ij_gfs_C1152.txt Add a new table file: parm/product/bufr_ij_gfs_C96.txt for GFSv17 C96 testing. Added a new capability to the BUFR package. The job priority is to read bufr_ij_gfs_${CASE}.txt. If the table file is not available, the code will automatically find the nearest neighbor grid point (i, j). Refs #1257 Refs NOAA-EMC/gfs-utils#75
* origin/develop: Use contrib installation of spack-stack on Jet (NOAA-EMC#79) Update bufr codes to handle one forecast at a time (NOAA-EMC#75)
Description
This PR includes the follow changes to bufr sounding codes:
With the updates of bufr codes and scripts, there is no need to add restart capability to GFS post-process job JGFS_ATMOS_POSTSND.
The related bufr job script update is another PR NOAA-EMC/global-workflow#2853
Refs NOAA-EMC/global-workflow#1257
Refs NOAA-EMC/global-workflow#2853
Type of change
Change characteristics
How has this been tested?
Checklist