Skip to content

HAFSv1 related developments and moving-nesting code restructure#610

Merged
jkbk2004 merged 47 commits into
NOAA-EMC:developfrom
hafs-community:feature/mn_cleanup_202211
Dec 15, 2022
Merged

HAFSv1 related developments and moving-nesting code restructure#610
jkbk2004 merged 47 commits into
NOAA-EMC:developfrom
hafs-community:feature/mn_cleanup_202211

Conversation

@BinLiu-NOAA
Copy link
Copy Markdown
Collaborator

@BinLiu-NOAA BinLiu-NOAA commented Dec 4, 2022

Description

Merge HAFSv1 related developments back to FV3ATM develop branch, including:

Issue(s) addressed

Testing

Regression testing were conducted at the ufs-weather-model level and the HAFS application level. Only HAFS related regression tests get changing results (which is expected). All other regression tests got identical results.

Dependencies

BinLiu-NOAA and others added 30 commits April 14, 2022 21:22
…and allow one to override data integrity checks in FMS restart logic
…hafsv0.3_final

Conflicts:
	atmos_cubed_sphere
…nLiu-NOAA):

suite_FV3_HAFS_v0_thompson.xml
suite_FV3_HAFS_v0_thompson_nonsst.xml
suite_FV3_HAFS_v0_thompson_noahmp.xml
suite_FV3_HAFS_v0_thompson_noahmp_nonsst.xml
…ling time

steps). This is to reduce the overhead introduced by downscaling the coupling
variables from FV3ATM parent to nest.
…FS sa-TKE

EDMF PBL scheme for HAFS/hurricane modeling.
in internal tracker output (fort.602, phtcf file).
…itch from 'fp-model source' as they were compiled in atmos_cubed_sphere, to 'fp-model consistent' aligned with the FV3atm tree. Minor rounding differences are noted in forecast results.
@wramstrom
Copy link
Copy Markdown
Contributor

@DusanJovic-NOAA I removed the CMake files in the moving_nest directory and added them to the main CMakeLists.txt in FV3. This makes the structure simpler. Model results with the new setting "fp-model consistent" are slightly different from the old setting of "fp-model source".

@DusanJovic-NOAA
Copy link
Copy Markdown
Collaborator

@DusanJovic-NOAA I removed the CMake files in the moving_nest directory and added them to the main CMakeLists.txt in FV3. This makes the structure simpler. Model results with the new setting "fp-model consistent" are slightly different from the old setting of "fp-model source".

Thanks @wramstrom . This is now much cleaner, and easier to maintain. Now that moving_nest directory is no longer (unconditionally) added with add_subdirectory, but the 7 files are conditionally added to the fv3atm target directly, I think there's no need to have #ifdef MOVING_NEST in each of the moving nest modules.

Comment thread CMakeLists.txt Outdated
Comment thread moving_nest/fv_moving_nest.F90 Outdated
@junwang-noaa
Copy link
Copy Markdown
Collaborator

@BinLiu-NOAA @wramstrom Thanks for making the code changes. The code changes aer clean. One more question, since the moving nest calls are now moved to atmo_model.F90, will this have big impact to the results since previously the moving nest subroutines are called within dycore?

@wramstrom
Copy link
Copy Markdown
Contributor

@junwang-noaa The relocation of the moving_nest directory did not change the results when compiled with the exact same compiler options; forecast results were bitwise identical. However, the settings for "fp-model" are different in the FV3 directory vs. the atmos_cubed_sphere model. We have moved over to use the FV3 settings for the moving_nest directory, so there are small differences in the results due to different rounding of floating point numbers.

@grantfirl
Copy link
Copy Markdown
Collaborator

@jkbk2004 @BinLiu-NOAA ufs-community/ccpp-physics#27 has been merged. It looks like NOAA-GFDL/GFDL_atmos_cubed_sphere#227 needs to be merged before .gitmodules is reverted and submodule pointers are updated here.

@jkbk2004
Copy link
Copy Markdown
Collaborator

@grantfirl @BinLiu-NOAA yes, I asked NOAA-GFDL/GFDL_atmos_cubed_sphere#227 to be merged.

@jkbk2004
Copy link
Copy Markdown
Collaborator

@BinLiu-NOAA the cubed sphere pr was merged. can you update the submodule pointer?

@BinLiu-NOAA
Copy link
Copy Markdown
Collaborator Author

@jkbk2004, submodule updated now. Thanks!

@jkbk2004 jkbk2004 merged commit 1d97e1f into NOAA-EMC:develop Dec 15, 2022
@BinLiu-NOAA BinLiu-NOAA deleted the feature/mn_cleanup_202211 branch November 26, 2025 18:53
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.

Bring in HAFSv1 related developments Modularization of moving nest and storm tracker functionality.

8 participants