Opened 8 years ago

Closed 3 years ago

#126 closed defect (fixed)

Crash with monthly forcing files (weathergen mode) due to levels arrays

Reported by: maignan Owned by: maignan
Priority: major Milestone: ORCHIDEE 3.0
Component: Driver files Version: orchidee_1_9_6
Keywords: Cc:

Description

The levels arrays are not initialized in weathergen mode, which causes a crash of the program. I propose to add two lines after line 584 in readdim2.f90 (r1947):

...
      IF ( (itauin == 0).AND.(itau_split == 0) ) THEN
         zlev(:,:)=zlev_fixed             !level for t and q
         zlevuv(:,:)=zlevuv_fixed         !level for u and v
         CALL weathgen_main (istp, istp, filename, force_id, iim, jjm, 1, &
...

Change History (5)

comment:1 Changed 8 years ago by maignan

This was done formerly (TAG 1.9.6) in forcing_grid.

comment:2 Changed 4 years ago by jgipsl

  • Milestone changed from ORCHIDEE 1.9.7 to ORCHIDEE 3.0
  • Owner changed from somebody to maignan
  • Status changed from new to assigned

related to ticket #180

comment:3 Changed 3 years ago by nvuilsce

  • Priority changed from major to minor

comment:4 Changed 3 years ago by nvuilsce

  • Priority changed from minor to major

comment:5 Changed 3 years ago by jgipsl

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

Done in the trunk rev [5866]

Note: See TracTickets for help on using tickets.