Name pattern for output files, ICMGG and ICMSH

Sorry for the late answer, I only saw this after Joakim send me an mail. This problem and (OpenIFS Cy40R1 crash in GRIB_API in a very long run) was solved by the EC-Earth community. Uwe Fladrich identified the problems and files associated as listed below. He also solved them with a set of changes that I uploaded here:

changeset_r4469.diff (33.1 KB)


First, a categorisation of the problems:

(1) Using too short integer type
    (1a) Converting RSTATI (from YOMRIP) to standard integer with NINT
    (1b) Intermediate computations of type: time_step_number*time_step_in_sec
    (1c) other variables

(2) Too short output format
(2a) Logging
(2b) Time stamps used in file names
(2c) other

(3) Write time_in_seconds into grib message

Next, a list of source files with their associated category of problems:

climate
    updclie.F90             (1b)
    updrgas.F90             (1b)
control
    cnt4.F90                (2b), (1b)
    reresf.F90              (2a), (2c)
dia
    grib_code_message.F90   (3)
    ppeddh.F90              (1a)
    ppeddhec.F90            (1a), (2a?)
    wroutgpgb.F90           (1b), (2a)
    wroutspgb.F90           (1b), (2a)
fullpos
    su4fpos.F90             (1c)
include
    ppreq.intfb.h           (1c)
    ppreset.intfb.h         (1c)
    su4fpos.intfb.h         (1c)
module
    yomres.F90              (2c)
phys_ec
    callpar.F90             (1a)
    radpar.F90              (1a)
pp_obs
    ppreq.F90               (1c), (2a)
    ppreset.F90             (1c)
utility
    updtim.F90              (1a), (1b)
    wrresf.F90              (1b), (2b)