New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#1512 (Function cpl_freq not consistent with OASIS interface) – NEMO

Opened 9 years ago

Closed 4 years ago

#1512 closed Defect (fixed)

Function cpl_freq not consistent with OASIS interface

Reported by: ufla Owned by: jamrae
Priority: low Milestone:
Component: OCE Version: v3.6
Severity: minor Keywords:
Cc:

Description

There are issues with the way oasis_get_freqs is called from cpl_freq in cpl_oasis3.F90. The subroutine name 'cpl_freq' and the code comments suggest that one can ask for the coupling frequency of an arbitrary coupling field (kid). However,

  • it works only for coupling fields with ncpl=1 (i.e. with single entries in the namcouple file)
  • it will not work with OASIS3-MCT-3.0 since a new parameter (mop: OASIS_Out or OASIS_In) is required when calling oasis_get_freqs

It is not a major issue right now because cpl_freq is only used in one place (sbccpl.F90) for a very specific issue (ln_dm2dc) but it's an inconsistency that can lead to other errors when somebody decides to use cpl_freq for other purposes.

Commit History (0)

(No commits)

Change History (5)

comment:1 Changed 7 years ago by clevy

  • Owner changed from nemo to cetlod

comment:2 Changed 6 years ago by clevy

  • Cc diovino added
  • Owner changed from cetlod to diovino
  • Status changed from new to assigned

comment:3 Changed 6 years ago by nicolasmartin

  • Type changed from Bug to Defect

comment:4 Changed 6 years ago by clevy

  • Cc diovino removed
  • Owner changed from diovino to jamrae
  • Severity set to minor

comment:5 Changed 4 years ago by smasson

  • Resolution set to fixed
  • Status changed from assigned to closed

soved in [5407]

Note: See TracTickets for help on using tickets.