Skip to content
Snippets Groups Projects
Commit 1083c794 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 23/02/2018: lfi2cdf: add CPROGRAM + some initialisations to later use...

Philippe 23/02/2018: lfi2cdf: add CPROGRAM + some initialisations to later use file and fields structures from MNH
parent fc83fdb9
No related branches found
No related tags found
No related merge requests found
program LFI2CDF program LFI2CDF
USE MODD_CONF, ONLY: CPROGRAM
USE MODE_IO_ll, ONLY: INITIO_ll, SET_CONFIO_ll
USE mode_options USE mode_options
USE mode_util USE mode_util
USE MODN_CONFIO, ONLY: LCDF4, LLFIOUT, LLFIREAD
IMPLICIT NONE IMPLICIT NONE
INTEGER :: ibuflen INTEGER :: ibuflen
...@@ -20,8 +26,30 @@ program LFI2CDF ...@@ -20,8 +26,30 @@ program LFI2CDF
integer :: runmode integer :: runmode
CPROGRAM = 'LFICDF'
CALL INITIO_ll()
CALL VERSION
call read_commandline(options,hinfile,houtfile,runmode) call read_commandline(options,hinfile,houtfile,runmode)
IF (runmode == MODELFI2CDF) THEN
LCDF4 = .TRUE.
LLFIOUT = .FALSE.
LLFIREAD = .TRUE.
CALL SET_CONFIO_ll()
ELSE IF (runmode == MODECDF2CDF) THEN
LCDF4 = .TRUE.
LLFIOUT = .FALSE.
LLFIREAD = .FALSE.
CALL SET_CONFIO_ll()
ELSE
LCDF4 = .TRUE.
LLFIOUT = .TRUE.
LLFIREAD = .FALSE.
CALL SET_CONFIO_ll()
END IF
CALL OPEN_FILES(infiles, outfiles, hinfile, houtfile, nbvar_infile, options, runmode) CALL OPEN_FILES(infiles, outfiles, hinfile, houtfile, nbvar_infile, options, runmode)
IF (options(OPTLIST)%set) STOP IF (options(OPTLIST)%set) STOP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment