Skip to content

merge Noresmhub noresm branch to dev/unified#42

Open
mvertens wants to merge 366 commits into
ESCOMP:dev/unifiedfrom
NorESMhub:feature/merge_noresm_to_escomp
Open

merge Noresmhub noresm branch to dev/unified#42
mvertens wants to merge 366 commits into
ESCOMP:dev/unifiedfrom
NorESMhub:feature/merge_noresm_to_escomp

Conversation

@mvertens

Copy link
Copy Markdown
Collaborator

Pull Request Summary

Merge NorESMhub develop branch to dev/unified

Summary

Changes vs dev/unified (7 files)

NUOPC coupling cap

  • model/src/wav_import_export.F90
    — implementation of wave-field time-averaging for fields sent to CMEPS
  • model/src/wav_comp_nuopc.F90
    • add determination if auxiliary fields will be sent to CMEPS
    • remove explicit deallocation of allocatable arrays
    • remove initialization of Sw_Hs, Sw_t01, Sw_t0m1 and Sw_thm - this belongs in wav_import_export.F90
  • model/src/wav_shel_inp.F90
    • history frequency is determined by history_n and history_option (WW3 namelist settings are ignored)
      and the nml_output_date is now ignored
    • this feature needs the accompanying PR for the WW3_Interface
  • model/src/wav_wrapper_mod.F90
    • CESMCOUPLED -> WW3_CESMCOUPLED

Core model

  • model/src/w3wavemd.F90
    — restart/history hooks. NOTE: this is minimally different from the https://github.com/NOAA-EMC/WW3 dev/ufs-weather-model head (dcc9da7)
  • model/src/w3src4md.F90
    • fix for the case where BTH is negative

I/O

  • model/src/wav_pio_mod.F90
    • CESMCOUPLED -> W3_CESMCOUPLED

Testing

  • How were these changes tested? ran the aux_noresm_ww3 tests (needs the new WW3_Interface PR)
  • Are the changes covered by regression tests? yes
  • Have the matrix regression tests been run (if yes, please note HPC and compiler)?

aronroland and others added 30 commits December 8, 2022 16:01
…ASIS, there are quite some differences to OGM"

This reverts commit b4825a3.
DeniseWorthen and others added 25 commits October 8, 2024 08:27
fix for history output given current namelist for noresm
additional fix for having output fields set by buildnml hist_n and hist_option
Updates WW3 to the head of emc/dev/ufs-weather-model via ESCOMP's
merge_dev/ufs-weather-model_20260609 sync. NorESM-specific changes
follow in the next commit.
…e-averaging fix

- netCDF/PIO restart and history I/O for the CESM/NorESM WW3 cap
- CESM/NorESM initialization fixes (initial/continue/branch/cold-start)
- Restore aux_flds_to_cmeps argument to w3wave so the per-coupling-step
  w3cprt/w3outg refresh runs for the daily-averaged Sw_*_avg fields
…e NorESM or CESM build - which calls model/src/CMakeLists.txt and circumvents this file
…arts

Updates to the current head of escomp/dev/unified
Comment thread model/src/w3wavemd.F90 Outdated
FLPART, LOCAL, FLOUTG2 = .false.
!
#ifdef W3_DEBUGRUN
LOGICAL :: FLAG0 = .FALSE.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a duplicate of the FLAG0 variable already defined in line 603.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I've removed the duplicate. Thanks for finding this.


call ESMF_ClockGetAlarmList(mclock, alarmlistflag=ESMF_ALARMLIST_ALL, alarmCount=alarmCount, rc=rc)
if (ChkErr(rc,__LINE__,u_FILE_u)) return
dtime_drv = get_minimum_timestep(gcomp, rc)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

With the removal of this line, there's no other assignment of dtime_drv anywhere in model/src. This variable is still used by wav_shr_mod alarmInit for the nstep/nsteps alarm option. So I am wondering if this line was removed inadvertently.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@alperaltuntas - good question. It looks like this was not in the noresm branch - and my tests still passed. That said - it's the right thing to do to put it back. Thanks for catching this. I'll push the fix back to my branch.

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.

9 participants