SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
read_namelists_assim.F90
Go to the documentation of this file.
1 !SFX_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
2 !SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
3 !SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4 !SFX_LIC for details. version 1.
5 ! #########
6 SUBROUTINE read_namelists_assim(HPROGRAM)
7 ! #######################################################
8 !
9 !---------------------------
10 !
11 USE modd_assim, ONLY : lassim,cassim,cassim_isba,nprintlev,larome,lecsst, &
12  laesst,laesnm,laladsurf,lread_sst_from_file, &
13  cfile_format_sst,lextrap_sea,lextrap_water, &
14  lextrap_nature,lwatertg2,nboutput,nechgu,xrclimca, &
15  xrclisst,xsigh2mo,xsigt2mo, xsigwgo,xsigwgb,xsigw2b, &
16  lobswg,lobs2m,limveg,xsprecip2,xrthr_qc,xsigwgo_max, &
17  xrscal_jac,lprt,lsim,lbev,lbfixed,nobstype, &
18  lobsheader,cfile_format_lsm,cfile_format_obs, &
19  cfile_format_fg,cfile_format_clim,xerrobs_m,xqcobs_m,&
20  nnco,nivar,nvar,cvar_m,cprefix_m,xsigma_m,xtprt_m, &
21  nncv,xscale_q,xscale_qlai,cbio,cprefix_bio,xalph, &
22  nens,nie,xinfl_m,xaddinfl_m,xassim_winh,lobsnat, &
23  xaddtimecorr_m,lens_gen,lpb_correlations, &
24  lperturbation_run,lbias_correction,lenkf,ldenkf
25 !
26 USE modi_default_assim
27 USE modi_read_assim_conf
28 USE modi_ini_assim
29 !
30 USE yomhook ,ONLY : lhook, dr_hook
31 USE parkind1 ,ONLY : jprb
32 !
33 IMPLICIT NONE
34 !
35  CHARACTER(LEN=6), INTENT(IN) :: hprogram ! program calling surf. schemes
36 REAL(KIND=JPRB) :: zhook_handle
37 
38 !---------------------------------------------------
39 IF (lhook) CALL dr_hook('READ_NAMELISTS_ASSIM',0,zhook_handle)
40 
41 ! Set default assimilation options/schemes
42  CALL default_assim(lassim,cassim,cassim_isba,nprintlev, &
43  larome,lecsst,laesst,laesnm, &
44  laladsurf,lread_sst_from_file, &
45  cfile_format_sst,lextrap_sea, &
46  lextrap_water,lextrap_nature,lwatertg2, &
47  nboutput,nechgu,xrclimca,xrclisst, &
48  xsigh2mo,xsigt2mo,xsigwgo,xsigwgb, &
49  xsigw2b,lobswg,lobs2m,limveg,xsprecip2, &
50  xrthr_qc,xsigwgo_max,xrscal_jac,lprt, &
51  lsim,lbev,lbfixed,nobstype,lobsheader, &
52  cfile_format_obs,lobsnat,cfile_format_fg, &
53  cfile_format_lsm,cfile_format_clim, &
54  xerrobs_m,xqcobs_m,nnco,nivar,nvar,cvar_m,&
55  cprefix_m,xsigma_m,xtprt_m,nncv,xscale_q, &
56  xscale_qlai,cbio,cprefix_bio,xalph, &
57  nens,nie,xinfl_m,xaddinfl_m,xassim_winh, &
58  xaddtimecorr_m,lens_gen,lpb_correlations, &
59  lperturbation_run,lbias_correction, &
60  lenkf,ldenkf,'OK')
61 !
62 ! Set default assimilations values/constants
63  CALL ini_assim
64 !
65 ! Override with namelist values
66  CALL read_assim_conf(hprogram)
67 
68 IF (lhook) CALL dr_hook('READ_NAMELISTS_ASSIM',1,zhook_handle)
69 !---------------------------------------------------------
70 END SUBROUTINE read_namelists_assim
subroutine default_assim(OASSIM, HASSIM, HASSIM_ISBA, KPRINTLEV, OAROME, OECSST, OAESST, OAESNM, OALADSURF, OREAD_SST_FROM_FILE, HFILE_FORMAT_SST, OEXTRAP_SEA, OEXTRAP_WATER, OEXTRAP_NATURE, OWATERTG2, KBOUTPUT, KECHGU, PRCLIMCA, PRCLISST, PSIGH2MO, PSIGT2MO, PSIGWGO, PSIGWGB, PSIGW2B, OOBSWG, OOBS2M, OIMVEG, PSPRECIP2, PRTHR_QC, PSIGWGO_MAX, PRSCAL_JAC, OPRT, OSIM, OBEV, OBFIXED, KOBSTYPE, OOBSHEADER, HFILE_FORMAT_OBS, OOBSNAT, HFILE_FORMAT_FG, HFILE_FORMAT_LSM, HFILE_FORMAT_CLIM, PERROBS_M, PQCOBS_M, KNCO, KIVAR, KVAR, HVAR_M, HPREFIX_M, PSIGMA_M, PTPRT_M, KNCV, PSCALE_Q, PSCALE_QLAI, HBIO, HPREFIX_BIO, PALPH, KENS, KIE, PINFL_M, PADDINFL_M, PASSIM_WINH, PADDTIMECORR_M, OENS_GEN, OPB_CORRELATIONS, OPERTURBATION_RUN, OBIAS_CORRECTION, OENKF, ODENKF, HTEST)
subroutine read_namelists_assim(HPROGRAM)
subroutine read_assim_conf(HPROGRAM)
subroutine ini_assim
Definition: ini_assim.F90:6