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.
Changeset 15077 for NEMO/trunk/src/OCE – NEMO

Changeset 15077 for NEMO/trunk/src/OCE


Ignore:
Timestamp:
2021-07-03T12:16:35+02:00 (3 years ago)
Author:
jchanut
Message:

Circumvent AGRIF conv issue with character arrays (must be defined with len=lca). Seems to be detected only with gcc and Debug options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/OBS/diaobs.F90

    r15062 r15077  
    9797   TYPE(obs_prof), PUBLIC, POINTER, DIMENSION(:) ::   profdataqc   !: Profile data after quality control 
    9898 
    99    CHARACTER(len=8), PUBLIC, DIMENSION(:), ALLOCATABLE ::   cobstypesprof, cobstypessurf   !: Profile & surface obs types 
     99   CHARACTER(len=lca), PUBLIC, DIMENSION(:), ALLOCATABLE ::   cobstypesprof, cobstypessurf   !: Profile & surface obs types 
    100100 
    101101#  include "domzgr_substitute.h90" 
     
    10261026      INTEGER, DIMENSION(ntypes), INTENT(OUT) :: & 
    10271027         &                   ifiles      ! Out number of files for each type 
    1028       CHARACTER(len=8), DIMENSION(ntypes), INTENT(IN) :: & 
     1028      CHARACTER(len=lca), DIMENSION(ntypes), INTENT(IN) :: & 
    10291029         &                   cobstypes   ! List of obs types 
    10301030      CHARACTER(len=128), DIMENSION(ntypes, jpmaxnfiles), INTENT(IN) :: & 
Note: See TracChangeset for help on using the changeset viewer.