/[lmdze]/trunk/dyn3d/dynredem0.f
ViewVC logotype

Diff of /trunk/dyn3d/dynredem0.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/libf/dyn3d/dynredem0.f90 revision 5 by guez, Mon Mar 3 16:32:04 2008 UTC trunk/Sources/dyn3d/dynredem0.f revision 178 by guez, Fri Mar 11 18:47:26 2016 UTC
# Line 1  Line 1 
1  SUBROUTINE dynredem0(fichnom, iday_end, phis)  MODULE dynredem0_m
2    
3    ! From dyn3d/dynredem.F, v 1.2 2004/06/22 11:45:30    IMPLICIT NONE
4    
5    ! Ecriture du fichier de redémarrage au format NetCDF (initialisation)    INTEGER ncid
6    
7    USE IOIPSL, only: ymds2ju, ju2ymds  CONTAINS
   use dimens_m, only: iim, jjm, llm, nqmx  
   use paramet_m, only: ip1jmp1, iip1, jjp1, llmp1  
   use comconst, only: rad, cpp, daysec, dtvr, kappa, g, omeg  
   use comvert, only: pa, bp, ap, nivsigs, preff, presnivs, nivsig  
   use logic  
   use comgeom  
   use serre  
   use temps, only: annee_ref, day_ref, itaufin, itau_dyn  
   use ener  
   use advtrac_m, only: tname, ttext  
   use netcdf95, only: nf95_create, NF90_CLOBBER, nf95_put_att, NF90_GLOBAL, &  
        nf95_def_dim, NF90_UNLIMITED  
8    
9    IMPLICIT NONE    SUBROUTINE dynredem0(iday_end, phis)
10    
11        ! From dyn3d/dynredem.F, version 1.2, 2004/06/22 11:45:30
12        ! \'Ecriture du fichier de red\'emarrage au format NetCDF (initialisation)
13    
14    CHARACTER(len=*), intent(in):: fichnom      USE comconst, ONLY: cpp, daysec, dtvr, g, kappa, omeg, rad
15    INTEGER, intent(in):: iday_end      USE dimens_m, ONLY: iim, jjm, llm, nqmx
16    REAL, intent(in):: phis(ip1jmp1)      USE disvert_m, ONLY: ap, bp, pa, preff, presnivs
17        use dynetat0_m, only: day_ref, annee_ref, clat, clon, dzoomx, dzoomy, &
18    !   Local:           grossismx, grossismy, taux, tauy, rlatu, rlatv, rlonu, rlonv, rlatu1, &
19             rlatu2, yprimu1, yprimu2, xprimp025, xprimm025, xprimu, xprimv
20    include "netcdf.inc"      USE ener, ONLY: ang0, etot0, ptot0, stot0, ztot0
21        USE iniadvtrac_m, ONLY: tname, ttext
22    INTEGER iq, l      USE ju2ymds_m, ONLY: ju2ymds
23    INTEGER length      USE netcdf, ONLY: nf90_clobber, nf90_float, nf90_global, nf90_unlimited
24    PARAMETER (length = 100)      USE netcdf95, ONLY: nf95_create, nf95_def_dim, nf95_def_var, nf95_enddef, &
25    REAL tab_cntrl(length) ! tableau des parametres du run           nf95_put_att, nf95_put_var
26    INTEGER ierr      USE paramet_m, ONLY: iip1, jjp1, llmp1
27        use ymds2ju_m, only: ymds2ju
28    !   Variables locales pour NetCDF:  
29        INTEGER, INTENT(IN):: iday_end
30    INTEGER dims2(2), dims3(3), dims4(4)      REAL, INTENT(IN):: phis(:, :)
31    INTEGER idim_index  
32    INTEGER idim_rlonu, idim_rlonv, idim_rlatu, idim_rlatv      ! Local:
33    INTEGER idim_s, idim_sig  
34    INTEGER idim_tim      INTEGER iq
35    INTEGER nid, nvarid      INTEGER, PARAMETER:: length = 100
36        REAL tab_cntrl(length) ! tableau des param\`etres du run
37    REAL zjulian, hours  
38    INTEGER yyears0, jjour0, mmois0      ! Pour NetCDF :
39    character(len=30) unites      INTEGER idim_index
40        INTEGER idim_rlonu, idim_rlonv, idim_rlatu, idim_rlatv
41    !-----------------------------------------------------------------------      INTEGER idim_s, idim_sig
42        INTEGER dimid_temps
43    print *, "Call sequence information: dynredem0"      INTEGER varid
44        integer varid_controle, varid_rlonu, varid_rlatu, varid_rlonv, varid_rlatv
45    call ymds2ju(annee_ref, 1, iday_end, 0.0, zjulian)      integer varid_xprimu, varid_xprimv, varid_xprimm025, varid_xprimp025
46    call ju2ymds(zjulian, yyears0, mmois0, jjour0, hours)      integer varid_rlatu1, varid_rlatu2, varid_yprimu1, varid_yprimu2, varid_ap
47        integer varid_bp, varid_presnivs, varid_phisinit
48    DO l=1, length  
49       tab_cntrl(l) = 0.      REAL zjulian, hours
50    ENDDO      INTEGER yyears0, jjour0, mmois0
51    tab_cntrl(1)  = REAL(iim)      CHARACTER(len=30) unites
52    tab_cntrl(2)  = REAL(jjm)  
53    tab_cntrl(3)  = REAL(llm)      !-----------------------------------------------------------------------
54    tab_cntrl(4)  = REAL(day_ref)  
55    tab_cntrl(5)  = REAL(annee_ref)      PRINT *, 'Call sequence information: dynredem0'
56    tab_cntrl(6)  = rad  
57    tab_cntrl(7)  = omeg      CALL ymds2ju(annee_ref, 1, iday_end, 0., zjulian)
58    tab_cntrl(8)  = g      CALL ju2ymds(zjulian, yyears0, mmois0, jjour0, hours)
59    tab_cntrl(9)  = cpp  
60    tab_cntrl(10) = kappa      tab_cntrl(1) = iim
61    tab_cntrl(11) = daysec      tab_cntrl(2) = jjm
62    tab_cntrl(12) = dtvr      tab_cntrl(3) = llm
63    tab_cntrl(13) = etot0      tab_cntrl(4) = day_ref
64    tab_cntrl(14) = ptot0      tab_cntrl(5) = annee_ref
65    tab_cntrl(15) = ztot0      tab_cntrl(6) = rad
66    tab_cntrl(16) = stot0      tab_cntrl(7) = omeg
67    tab_cntrl(17) = ang0      tab_cntrl(8) = g
68    tab_cntrl(18) = pa      tab_cntrl(9) = cpp
69    tab_cntrl(19) = preff      tab_cntrl(10) = kappa
70        tab_cntrl(11) = daysec
71    ! Paramètres  pour le zoom :      tab_cntrl(12) = dtvr
72        tab_cntrl(13) = etot0
73    tab_cntrl(20)  = clon      tab_cntrl(14) = ptot0
74    tab_cntrl(21)  = clat      tab_cntrl(15) = ztot0
75    tab_cntrl(22)  = grossismx      tab_cntrl(16) = stot0
76    tab_cntrl(23)  = grossismy      tab_cntrl(17) = ang0
77        tab_cntrl(18) = pa
78    IF ( fxyhypb )   THEN      tab_cntrl(19) = preff
79       tab_cntrl(24) = 1.  
80       tab_cntrl(25) = dzoomx      ! Param\`etres pour le zoom :
81       tab_cntrl(26) = dzoomy      tab_cntrl(20) = clon
82       tab_cntrl(27) = 0.      tab_cntrl(21) = clat
83       tab_cntrl(28) = taux      tab_cntrl(22) = grossismx
84       tab_cntrl(29) = tauy      tab_cntrl(23) = grossismy
85    ELSE      tab_cntrl(24) = 1.
86       tab_cntrl(24) = 0.      tab_cntrl(25) = dzoomx
87       tab_cntrl(25) = dzoomx      tab_cntrl(26) = dzoomy
88       tab_cntrl(26) = dzoomy      tab_cntrl(27) = 0.
89       tab_cntrl(27) = 0.      tab_cntrl(28) = taux
90       tab_cntrl(28) = 0.      tab_cntrl(29) = tauy
91       tab_cntrl(29) = 0.  
92       IF( ysinus )  tab_cntrl(27) = 1.      tab_cntrl(30) = iday_end
93    ENDIF      tab_cntrl(31:) = 0.
94    
95    tab_cntrl(30) = REAL(iday_end)      CALL nf95_create("restart.nc", nf90_clobber, ncid)
96    tab_cntrl(31) = REAL(itau_dyn + itaufin)      CALL nf95_put_att(ncid, nf90_global, 'title', &
97             'start file for the dynamics code')
98    call nf95_create(fichnom, NF90_CLOBBER, nid)  
99    call nf95_put_att(nid, NF90_GLOBAL, "title", &      ! Definir les dimensions du fichiers:
100         "Fichier de démarrage dynamique")  
101        CALL nf95_def_dim(ncid, 'index', length, idim_index)
102    ! Definir les dimensions du fichiers:      CALL nf95_def_dim(ncid, 'rlonu', iip1, idim_rlonu)
103        CALL nf95_def_dim(ncid, 'rlatu', jjp1, idim_rlatu)
104    call nf95_def_dim(nid, "index", length, idim_index)      CALL nf95_def_dim(ncid, 'rlonv', iip1, idim_rlonv)
105    call NF95_DEF_DIM(nid, "rlonu", iip1, idim_rlonu)      CALL nf95_def_dim(ncid, 'rlatv', jjm, idim_rlatv)
106    call NF95_DEF_DIM(nid, "rlatu", jjp1, idim_rlatu)      CALL nf95_def_dim(ncid, 'sigs', llm, idim_s)
107    call NF95_DEF_DIM(nid, "rlonv", iip1, idim_rlonv)      CALL nf95_def_dim(ncid, 'sig', llmp1, idim_sig)
108    call NF95_DEF_DIM(nid, "rlatv", jjm, idim_rlatv)      CALL nf95_def_dim(ncid, 'temps', nf90_unlimited, dimid_temps)
109    call NF95_DEF_DIM(nid, "sigs", llm, idim_s)  
110    call NF95_DEF_DIM(nid, "sig", llmp1, idim_sig)      ! Definir et enregistrer certains champs invariants:
111    call NF95_DEF_DIM(nid, "temps", NF90_UNLIMITED, idim_tim)  
112        CALL nf95_def_var(ncid, 'controle', nf90_float, idim_index, varid_controle)
113    ierr = NF_ENDDEF(nid) ! sortir du mode de definition      CALL nf95_put_att(ncid, varid_controle, 'title', 'Parametres de controle')
114    
115    ! Definir et enregistrer certains champs invariants:      CALL nf95_def_var(ncid, 'rlonu', nf90_float, idim_rlonu, varid_rlonu)
116        CALL nf95_put_att(ncid, varid_rlonu, 'title', 'Longitudes des points U')
117    ierr = NF_REDEF (nid)  
118    ierr = NF_DEF_VAR (nid, "controle", NF_FLOAT, 1, idim_index, nvarid)      CALL nf95_def_var(ncid, 'rlatu', nf90_float, idim_rlatu, varid_rlatu)
119    call nf95_put_att(nid, nvarid, "title", "Parametres de controle")      CALL nf95_put_att(ncid, varid_rlatu, 'title', 'Latitudes des points U')
120    ierr = NF_ENDDEF(nid)  
121    ierr = NF_PUT_VAR_REAL (nid, nvarid, tab_cntrl)      CALL nf95_def_var(ncid, 'rlonv', nf90_float, idim_rlonv, varid_rlonv)
122        CALL nf95_put_att(ncid, varid_rlonv, 'title', 'Longitudes des points V')
123    ierr = NF_REDEF (nid)  
124    ierr = NF_DEF_VAR (nid, "rlonu", NF_FLOAT, 1, idim_rlonu, nvarid)      CALL nf95_def_var(ncid, 'rlatv', nf90_float, idim_rlatv, varid_rlatv)
125    call nf95_put_att(nid, nvarid, "title", "Longitudes des points U")      CALL nf95_put_att(ncid, varid_rlatv, 'title', 'Latitudes des points V')
126    ierr = NF_ENDDEF(nid)  
127    ierr = NF_PUT_VAR_REAL (nid, nvarid, rlonu)      CALL nf95_def_var(ncid, 'xprimu', nf90_float, idim_rlonu, varid_xprimu)
128        CALL nf95_put_att(ncid, varid_xprimu, 'title', 'dx / dX aux points u')
129    ierr = NF_REDEF (nid)  
130    ierr = NF_DEF_VAR (nid, "rlatu", NF_FLOAT, 1, idim_rlatu, nvarid)      CALL nf95_def_var(ncid, 'xprimv', nf90_float, idim_rlonv, varid_xprimv)
131    call nf95_put_att(nid, nvarid, "title", "Latitudes des points U")      CALL nf95_put_att(ncid, varid_xprimv, 'title', 'dx / dX aux points v')
132    ierr = NF_ENDDEF(nid)  
133    ierr = NF_PUT_VAR_REAL (nid, nvarid, rlatu)      CALL nf95_def_var(ncid, 'xprimm025', nf90_float, idim_rlonu, &
134             varid_xprimm025)
135    ierr = NF_REDEF (nid)      CALL nf95_def_var(ncid, 'xprimp025', nf90_float, idim_rlonu, &
136    ierr = NF_DEF_VAR (nid, "rlonv", NF_FLOAT, 1, idim_rlonv, nvarid)           varid_xprimp025)
137    call nf95_put_att(nid, nvarid, "title", "Longitudes des points V")  
138    ierr = NF_ENDDEF(nid)      CALL nf95_def_var(ncid, 'rlatu1', nf90_float, idim_rlatv, varid_rlatu1)
139    ierr = NF_PUT_VAR_REAL (nid, nvarid, rlonv)      CALL nf95_def_var(ncid, 'rlatu2', nf90_float, idim_rlatv, varid_rlatu2)
140        CALL nf95_def_var(ncid, 'yprimu1', nf90_float, idim_rlatv, varid_yprimu1)
141    ierr = NF_REDEF (nid)      CALL nf95_def_var(ncid, 'yprimu2', nf90_float, idim_rlatv, varid_yprimu2)
142    ierr = NF_DEF_VAR (nid, "rlatv", NF_FLOAT, 1, idim_rlatv, nvarid)  
143    call nf95_put_att(nid, nvarid, "title", "Latitudes des points V")      CALL nf95_def_var(ncid, 'ap', nf90_float, idim_sig, varid_ap)
144    ierr = NF_ENDDEF(nid)      CALL nf95_put_att(ncid, varid_ap, 'title', 'Coefficient A pour hybride')
145    ierr = NF_PUT_VAR_REAL (nid, nvarid, rlatv)  
146        CALL nf95_def_var(ncid, 'bp', nf90_float, idim_sig, varid_bp)
147    ierr = NF_REDEF (nid)      CALL nf95_put_att(ncid, varid_bp, 'title', 'Coefficient B pour hybride')
148    ierr = NF_DEF_VAR (nid, "nivsigs", NF_FLOAT, 1, idim_s, nvarid)  
149    call nf95_put_att(nid, nvarid, "title", "Numero naturel des couches s")      CALL nf95_def_var(ncid, 'presnivs', nf90_float, idim_s, varid_presnivs)
150    ierr = NF_ENDDEF(nid)  
151    ierr = NF_PUT_VAR_REAL (nid, nvarid, nivsigs)      ! Geopentiel au sol:
152    
153    ierr = NF_REDEF (nid)      CALL nf95_def_var(ncid, 'phisinit', nf90_float, &
154    ierr = NF_DEF_VAR (nid, "nivsig", NF_FLOAT, 1, idim_sig, nvarid)           (/idim_rlonv, idim_rlatu/), varid_phisinit)
155    call nf95_put_att(nid, nvarid, "title", "Numero naturel des couches sigma")      CALL nf95_put_att(ncid, varid_phisinit, 'title', 'Geopotentiel au sol')
156    ierr = NF_ENDDEF(nid)  
157    ierr = NF_PUT_VAR_REAL (nid, nvarid, nivsig)      ! Definir les variables pour pouvoir les enregistrer plus tard:
158    
159    ierr = NF_REDEF (nid)      CALL nf95_def_var(ncid, 'temps', nf90_float, dimid_temps, varid)
160    ierr = NF_DEF_VAR (nid, "ap", NF_FLOAT, 1, idim_sig, nvarid)      CALL nf95_put_att(ncid, varid, 'title', 'Temps de simulation')
161    call nf95_put_att(nid, nvarid, "title", "Coefficient A pour hybride")      WRITE(unites, fmt = 200) yyears0, mmois0, jjour0
162    ierr = NF_ENDDEF(nid)  200 FORMAT ('days since ', I4, '-', I2.2, '-', I2.2, ' 00:00:00')
163    ierr = NF_PUT_VAR_REAL (nid, nvarid, ap)      CALL nf95_put_att(ncid, varid, 'units', unites)
164    
165    ierr = NF_REDEF (nid)      CALL nf95_def_var(ncid, 'ucov', nf90_float, &
166    ierr = NF_DEF_VAR (nid, "bp", NF_FLOAT, 1, idim_sig, nvarid)           (/idim_rlonu, idim_rlatu, idim_s, dimid_temps/), varid)
167    call nf95_put_att(nid, nvarid, "title", "Coefficient B pour hybride")      CALL nf95_put_att(ncid, varid, 'title', 'Vitesse U')
168    ierr = NF_ENDDEF(nid)  
169    ierr = NF_PUT_VAR_REAL (nid, nvarid, bp)      CALL nf95_def_var(ncid, 'vcov', nf90_float, &
170             (/idim_rlonv, idim_rlatv, idim_s, dimid_temps/), varid)
171    ierr = NF_REDEF (nid)      CALL nf95_put_att(ncid, varid, 'title', 'Vitesse V')
172    ierr = NF_DEF_VAR (nid, "presnivs", NF_FLOAT, 1, idim_s, nvarid)  
173    ierr = NF_ENDDEF(nid)      CALL nf95_def_var(ncid, 'teta', nf90_float, &
174    ierr = NF_PUT_VAR_REAL (nid, nvarid, presnivs)           (/idim_rlonv, idim_rlatu, idim_s, dimid_temps/), varid)
175        CALL nf95_put_att(ncid, varid, 'title', 'Temperature')
176    ! Coefficients de passage cov. <-> contra. <--> naturel  
177        DO iq = 1, nqmx
178    ierr = NF_REDEF (nid)         CALL nf95_def_var(ncid, tname(iq), nf90_float, &
179    dims2(1) = idim_rlonu              (/idim_rlonv, idim_rlatu, idim_s, dimid_temps/), varid)
180    dims2(2) = idim_rlatu         CALL nf95_put_att(ncid, varid, 'title', ttext(iq))
181    ierr = NF_DEF_VAR (nid, "cu", NF_FLOAT, 2, dims2, nvarid)      END DO
182    call nf95_put_att(nid, nvarid, "title", "Coefficient de passage pour U")  
183    ierr = NF_ENDDEF(nid)      CALL nf95_def_var(ncid, 'masse', nf90_float, &
184    ierr = NF_PUT_VAR_REAL (nid, nvarid, cu)           (/idim_rlonv, idim_rlatu, idim_s, dimid_temps/), varid)
185        CALL nf95_put_att(ncid, varid, 'title', 'C est quoi ?')
186    ierr = NF_REDEF (nid)  
187    dims2(1) = idim_rlonv      CALL nf95_def_var(ncid, 'ps', nf90_float, &
188    dims2(2) = idim_rlatv           (/idim_rlonv, idim_rlatu, dimid_temps/), varid)
189    ierr = NF_DEF_VAR (nid, "cv", NF_FLOAT, 2, dims2, nvarid)      CALL nf95_put_att(ncid, varid, 'title', 'Pression au sol')
190    call nf95_put_att(nid, nvarid, "title", "Coefficient de passage pour V")  
191    ierr = NF_ENDDEF(nid)      CALL nf95_enddef(ncid)
192    ierr = NF_PUT_VAR_REAL (nid, nvarid, cv)  
193        CALL nf95_put_var(ncid, varid_controle, tab_cntrl)
194    ! Aire de chaque maille:      CALL nf95_put_var(ncid, varid_rlonu, rlonu)
195        CALL nf95_put_var(ncid, varid_rlatu, rlatu)
196    ierr = NF_REDEF (nid)      CALL nf95_put_var(ncid, varid_rlonv, rlonv)
197    dims2(1) = idim_rlonv      CALL nf95_put_var(ncid, varid_rlatv, rlatv)
198    dims2(2) = idim_rlatu      CALL nf95_put_var(ncid, varid_xprimu, xprimu)
199    ierr = NF_DEF_VAR (nid, "aire", NF_FLOAT, 2, dims2, nvarid)      CALL nf95_put_var(ncid, varid_xprimv, xprimv)
200    call nf95_put_att(nid, nvarid, "title", "Aires de chaque maille")      CALL nf95_put_var(ncid, varid_xprimm025, xprimm025)
201    ierr = NF_ENDDEF(nid)      CALL nf95_put_var(ncid, varid_xprimp025, xprimp025)
202    ierr = NF_PUT_VAR_REAL (nid, nvarid, aire)      call NF95_PUT_VAR(ncid, varid_rlatu1, rlatu1)
203        call NF95_PUT_VAR(ncid, varid_rlatu2, rlatu2)
204    ! Geopentiel au sol:      CALL nf95_put_var(ncid, varid_yprimu1, yprimu1)
205        CALL nf95_put_var(ncid, varid_yprimu2, yprimu2)
206    ierr = NF_REDEF (nid)      CALL nf95_put_var(ncid, varid_ap, ap)
207    dims2(1) = idim_rlonv      CALL nf95_put_var(ncid, varid_bp, bp)
208    dims2(2) = idim_rlatu      CALL nf95_put_var(ncid, varid_presnivs, presnivs)
209    ierr = NF_DEF_VAR (nid, "phisinit", NF_FLOAT, 2, dims2, nvarid)      CALL nf95_put_var(ncid, varid_phisinit, phis)
   call nf95_put_att(nid, nvarid, "title", "Geopotentiel au sol")  
   ierr = NF_ENDDEF(nid)  
   ierr = NF_PUT_VAR_REAL (nid, nvarid, phis)  
   
   ! Definir les variables pour pouvoir les enregistrer plus tard:  
   
   ierr = NF_REDEF (nid) ! entrer dans le mode de definition  
   
   ierr = NF_DEF_VAR (nid, "temps", NF_FLOAT, 1, idim_tim, nvarid)  
   call nf95_put_att(nid, nvarid, "title", "Temps de simulation")  
   write(unites, 200)yyears0, mmois0, jjour0  
 200 format('days since ', i4, '-', i2.2, '-', i2.2, ' 00:00:00')  
   call nf95_put_att(nid, nvarid, "units", unites)  
   
   
   dims4(1) = idim_rlonu  
   dims4(2) = idim_rlatu  
   dims4(3) = idim_s  
   dims4(4) = idim_tim  
   ierr = NF_DEF_VAR (nid, "ucov", NF_FLOAT, 4, dims4, nvarid)  
   call nf95_put_att(nid, nvarid, "title", "Vitesse U")  
   
   dims4(1) = idim_rlonv  
   dims4(2) = idim_rlatv  
   dims4(3) = idim_s  
   dims4(4) = idim_tim  
   ierr = NF_DEF_VAR (nid, "vcov", NF_FLOAT, 4, dims4, nvarid)  
   call nf95_put_att(nid, nvarid, "title", "Vitesse V")  
   
   dims4(1) = idim_rlonv  
   dims4(2) = idim_rlatu  
   dims4(3) = idim_s  
   dims4(4) = idim_tim  
   ierr = NF_DEF_VAR (nid, "teta", NF_FLOAT, 4, dims4, nvarid)  
   call nf95_put_att(nid, nvarid, "title", "Temperature")  
   
   dims4(1) = idim_rlonv  
   dims4(2) = idim_rlatu  
   dims4(3) = idim_s  
   dims4(4) = idim_tim  
   DO iq=1, nqmx  
      ierr = NF_DEF_VAR (nid, tname(iq), NF_FLOAT, 4, dims4, nvarid)  
      call nf95_put_att(nid, nvarid, "title", ttext(iq))  
   ENDDO  
   
   dims4(1) = idim_rlonv  
   dims4(2) = idim_rlatu  
   dims4(3) = idim_s  
   dims4(4) = idim_tim  
   ierr = NF_DEF_VAR (nid, "masse", NF_FLOAT, 4, dims4, nvarid)  
   call nf95_put_att(nid, nvarid, "title", "C est quoi ?")  
   
   dims3(1) = idim_rlonv  
   dims3(2) = idim_rlatu  
   dims3(3) = idim_tim  
   ierr = NF_DEF_VAR (nid, "ps", NF_FLOAT, 3, dims3, nvarid)  
   call nf95_put_att(nid, nvarid, "title", "Pression au sol")  
210    
211    ierr = NF_ENDDEF(nid) ! sortir du mode de definition      PRINT *, 'iim, jjm, llm, iday_end', iim, jjm, llm, iday_end
212    ierr = NF_CLOSE(nid) ! fermer le fichier      PRINT *, 'rad, omeg, g, cpp, kappa', rad, omeg, g, cpp, kappa
213    
214    PRINT*, 'iim, jjm, llm, iday_end', iim, jjm, llm, iday_end    END SUBROUTINE dynredem0
   PRINT*, 'rad, omeg, g, cpp, kappa', rad, omeg, g, cpp, kappa  
215    
216  END SUBROUTINE dynredem0  END MODULE dynredem0_m

Legend:
Removed from v.5  
changed lines
  Added in v.178

  ViewVC Help
Powered by ViewVC 1.1.21