Enhancement: .f90 to .F90. Avoid compilation errors.#829
Merged
Conversation
Enhancement: .F to .F90
Member
|
@andrewsoong thanks for those changes! Could you also add a commit to rename the file |
Contributor
Author
Thanks! I have renamed the file fortglob.f90 to fortglob.F90. |
scrasmussen
approved these changes
Apr 17, 2025
Member
scrasmussen
left a comment
There was a problem hiding this comment.
Files renamed from .f90 to .F90 in line with other files in the model. Build systems updated to reflect that change. Looks good to me, thanks!
rcabell
approved these changes
Apr 24, 2025
scrasmussen
added a commit
to scrasmussen/WRF
that referenced
this pull request
Nov 26, 2025
- NCAR/wrf_hydro_nwm_public#756 Add initial support for gage-assisted diversions in channel routing - NCAR/wrf_hydro_nwm_public#811 bugfix: Diversions Makefiles for configure build - NCAR/wrf_hydro_nwm_public#816 Revert TYPEL(k) check - NCAR/wrf_hydro_nwm_public#823 make clean new directories - NCAR/wrf_hydro_nwm_public#829 Rename fortglob.f90 to fortglob.F90 for preprocessor - NCAR/wrf_hydro_nwm_public#827 Dropping .exe extension from wrf_hydro binary - NCAR/wrf_hydro_nwm_public#855 Properly handle unexpected NaNs in diversion observations - NCAR/wrf_hydro_nwm_public#856 Make diversion init errors non-fatal, proceed without diversions - NCAR/wrf_hydro_nwm_public#861 Nudging, Fixing type mismatch when nudging turned on - NCAR/wrf_hydro_nwm_public#862 OUTPUT_CHAN_CONN uses nudging io but not nudging
scrasmussen
added a commit
to scrasmussen/WRF
that referenced
this pull request
Nov 26, 2025
- NCAR/wrf_hydro_nwm_public#756 Add initial support for gage-assisted diversions in channel routing - NCAR/wrf_hydro_nwm_public#811 bugfix: Diversions Makefiles for configure build - NCAR/wrf_hydro_nwm_public#816 Revert TYPEL(k) check - NCAR/wrf_hydro_nwm_public#823 make clean new directories - NCAR/wrf_hydro_nwm_public#829 Rename fortglob.f90 to fortglob.F90 for preprocessor - NCAR/wrf_hydro_nwm_public#827 Dropping .exe extension from wrf_hydro binary - NCAR/wrf_hydro_nwm_public#855 Properly handle unexpected NaNs in diversion observations - NCAR/wrf_hydro_nwm_public#856 Make diversion init errors non-fatal, proceed without diversions - NCAR/wrf_hydro_nwm_public#861 Nudging, Fixing type mismatch when nudging turned on - NCAR/wrf_hydro_nwm_public#862 OUTPUT_CHAN_CONN uses nudging io but not nudging Co-authored-by: Ryan Cabell <rcabell@users.noreply.github.com> Co-authored-by: Andrew Song <andrewsoong@users.noreply.github.com>
islas
pushed a commit
to wrf-model/WRF
that referenced
this pull request
Feb 12, 2026
TYPE: bugfix, enhancement KEYWORDS: syncing WRF-Hydro/hydro, gage-assisted diversion, bugfixes SOURCE: internal hydro team + contributor - Soren Rasmussen, NSF NCAR - Ryan Cabell, NSF NCAR - Andrew Song, Inner Mongolia Meteorological Service / China Meteorological Administration (Wrote PR#829) DESCRIPTION OF CHANGES: This PR updates the hydro directory to the [NCAR/wrf_hydro_nwm_public](https://github.com/NCAR/wrf_hydro_nwm_public) repository. It includes the following PRs - NCAR/wrf_hydro_nwm_public#756 - NCAR/wrf_hydro_nwm_public#811 - NCAR/wrf_hydro_nwm_public#816 - NCAR/wrf_hydro_nwm_public#823 - NCAR/wrf_hydro_nwm_public#829 - NCAR/wrf_hydro_nwm_public#827 - NCAR/wrf_hydro_nwm_public#855 - NCAR/wrf_hydro_nwm_public#856 - NCAR/wrf_hydro_nwm_public#861 - NCAR/wrf_hydro_nwm_public#862 LIST OF MODIFIED FILES: ``` $ git diff --name-status develop M hydro/CMakeLists.txt M hydro/CPL/WRF_cpl/CMakeLists.txt M hydro/Data_Rec/module_namelist.F90 M hydro/Data_Rec/module_namelist_inc.F90 M hydro/HYDRO_drv/module_HYDRO_drv.F90 M hydro/Makefile M hydro/OrchestratorLayer/config.F90 M hydro/Routing/CMakeLists.txt A hydro/Routing/Diversions/CMakeLists.txt A hydro/Routing/Diversions/Makefile A hydro/Routing/Diversions/module_diversions.F90 A hydro/Routing/Diversions/module_diversions_timeslice.F90 M hydro/Routing/Makefile M hydro/Routing/module_channel_routing.F90 M hydro/arc/Makefile.mpp D hydro/arc/Makefile.seq M hydro/arc/macros.mpp.cray_fortran M hydro/arc/macros.mpp.gfort M hydro/arc/macros.mpp.ifort D hydro/arc/macros.mpp.ifort.luna D hydro/arc/macros.mpp.ifort.summit_has D hydro/arc/macros.mpp.ifort.theia M hydro/arc/macros.mpp.linux D hydro/arc/macros.seq.IBM.xlf90_r D hydro/arc/macros.seq.gfort D hydro/arc/macros.seq.ifort D hydro/arc/macros.seq.linux D hydro/arc/macros.theia.debug D hydro/arc/macros.yellowstone D hydro/arc/macros.yellowstone.debug M hydro/configure M hydro/nudging/CMakeLists.txt A hydro/nudging/io/CMakeLists.txt R098 hydro/nudging/module_nudging_io.F90 hydro/nudging/io/module_nudging_io.F90 M hydro/utils/CMakeLists.txt A hydro/utils/fortglob/CMakeLists.txt A hydro/utils/fortglob/Makefile A hydro/utils/fortglob/fortglob.F90 A hydro/utils/fortglob/libfortglob.c A hydro/utils/fortglob/libfortglob.h ``` TESTS CONDUCTED: **NOTE THAT THE PR IS IN DRAFT UNTIL TESTING IS COMPLETE**. Current building and running 1. [WRF-Hydro Front Range, CO testcase](https://wrf-hydro.readthedocs.io/en/latest/appendices.html#a2-coupled-wrf-wrf-hydro-test-case-user-guide) 2. Testing multiple configurations of Make and CMake build systems RELEASE NOTE: Hydro bug fixes plus modifications to add initial support for gage-assisted diversions in channel routing, which requires a new optional Diversion netCDF parameter file. This adds a C compiler dependency --------- Co-authored-by: Ryan Cabell <rcabell@users.noreply.github.com> Co-authored-by: Andrew Song <andrewsoong@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TYPE: enhancement
KEYWORDS: fortglob.f90
SOURCE: Haiqing SONG (宋海清)
Ph.D, Associate Professor,
Ecological and Agricultural Meteorology Center of Inner Mongolia &
Inner Mongolia Meteorological Satellite Remote Sensing Center,
Building A, Inner Mongolia Meteorological Bureau, Hailaer Road,
Xincheng District, Hohhot, 010051,China
Tel: 0471-3335230
E-Mail: haiqingsong2010@163.com, and haiqingsong@emails.imau.edu.cn
DESCRIPTION OF CHANGES: Avoid compilation errors when wrf-hydro compiled with compile_offline_NoahMP.sh.
ISSUE: The GitHub Issue that this PR addresses. For issue number 123, it would be
Fixes #123TESTS CONDUCTED: After modifying 3 files, the compilation is successful with compile_offline_NoahMP.sh.
NOTES: Optional, as appropriate. Delete if not used.
And https://github.com/andrewsoong/wrf_hydro_nwm_public/blob/main/src/utils/fortglob/fortglob.f90 filename needs to be changed to fortglob.F90.
The F90 field in the /src/utils/fortglob/Makefile file also needs to be modified synchronously.
Error is below:
