Opened 2 months ago

Last modified 2 months ago

#2531 new Bug

Incorrect character length declaration in diaobs

Reported by: hadcv Owned by: hadcv
Priority: low Milestone: Unscheduled
Component: OBS Version: trunk
Severity: minor Keywords: diaobs, obs_settypefiles
Cc:

Description (last modified by hadcv)

The dummy (cobstypes) and actual (cobstypesprof, cobstypessurf) arguments of obs_settypefiles have inconsistent character length declarations, which causes a segfault in GYRE. This was likely missed from 13216.

Fix

Use lca in the cobstypes declaration in diaobs.F90:

- CHARACTER(len=6), DIMENSION(ntypes), INTENT(INOUT) :: &
     &                   cobstypes   ! Out appended list of obs type

+ CHARACTER(len=lca), DIMENSION(ntypes), INTENT(INOUT) :: &
     &                     cobstypes   ! Out appended list of obs type

Commit History (0)

(No commits)

Change History (1)

comment:1 Changed 2 months ago by hadcv

  • Description modified (diff)
Note: See TracTickets for help on using tickets.