Skip to content
Snippets Groups Projects
  1. Mar 25, 2025
  2. Mar 17, 2025
  3. Mar 03, 2025
  4. Feb 24, 2025
  5. Feb 20, 2025
  6. Feb 17, 2025
  7. Feb 12, 2025
  8. Jan 29, 2025
  9. Jan 15, 2025
    • Daniel Reinert's avatar
      Generalize field declaration for the least squares reconstruction routines... · 59496a48
      Daniel Reinert authored and Pradipta Samanta's avatar Pradipta Samanta committed
      Generalize field declaration for the least squares reconstruction routines (!24)
      
      ## What is the new feature
      
      The field declaration of the LSQ reconstruction routines has been generalized slightly, in order to make the routines applicable to the ocean surface wave model **ICON-wave**. 
      
      ## How is it implemented
      
      Currently, the 'vertical' or '3rd' dimension of the local field `z_b` is implicitly identified with `p_patch%nlev`. This is fine for the atmosphere model, but does not work for ICON-WAVE, where the 3rd dimension is the total number of spectral wave energy bins. 
      This issue has been solved by replacing 
      ```
      REAL(wp) :: z_d(3, nproma, nlev)
      ``` 
      with
      ```
      REAL(wp) :: z_d(3, nproma, elev)
      ```
      As a side effect, `nlev` is no longer needed by the reconstruction routines. The argument lists have been adapted accordingly.
      
      Merged-by: default avatarPradipta Samanta <samanta@dkrz.de>
      Changelog: default
  10. Jan 07, 2025
Loading