Skip to content
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

ENH: Refactored wgribencode.F90 to extract field data linearization #58

Merged

Conversation

MircoValentiniECMWF
Copy link
Contributor

The logic for linearizing field data has been removed from the wgribencode function and refactored into a separate subroutine. This subroutine is now called by wgribencode. The refactoring was necessary to avoid code duplication, as the IO server also requires field data linearization for Wave data.

…ogic

The logic for linearizing field data has been removed from the wgribencode
function and refactored into a separate subroutine. This subroutine is now
called by wgribencode. The refactoring was necessary to avoid code
duplication, as the IO server also requires field data linearization
for Wave data.
@FussyDuck
Copy link

FussyDuck commented Jan 20, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@wdeconinck wdeconinck left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@wdeconinck wdeconinck requested a review from awnawab January 20, 2025 15:56
Copy link
Contributor

@awnawab awnawab left a comment

Choose a reason for hiding this comment

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

Very nice reorganisation of code, looks good to me 👌

@wdeconinck wdeconinck merged commit 6ff2851 into ecmwf-ifs:develop Jan 20, 2025
11 of 12 checks passed
wdeconinck added a commit that referenced this pull request Jan 20, 2025
* release/1.4.1: (124 commits)
  Version 1.4.1
  ENH: Refactored wgribencode.F90 to extract field data linearization logic (#58)
  add test on output times to match source term time stepping and define MIJ when no call to source term integration
  Add fp-model=strict for stresso.F90 to prevent SIGFPE with newer Intel compilers.
  Loki: Remove deprecated `DIRECTIVE` option in Loki CMake macro call
  Add default compiler flags for Cray (#50)
  NVHPC: downgrade optimisation for W_MAXH
  WAVEMDL: fix bounds checking bug
  fix noise level for better MWP estimate under sea ice
  bug fix for outwspec.F90 for when NPROC > NANG*NFRE_RED
  test change to outwspec.F90
  debugging
  debug problem with call to MPL_ALLTOALLV in outwspec.F90
  correct calling of w_maxh
  fix issue with windesea directional spread when no windsea detected
  correct rearrngsar.F90 for JP = 0 cases
  debug
  debug
  debug
  IFS-49R2-SYNC: set LWVFLX_SNL to TRUE
  ...
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.

4 participants