Changeset 1707 for LMDZ5/branches/testing/libf/dyn3dmem/dynetat0_loc.F
- Timestamp:
- Jan 11, 2013, 10:19:19 AM (12 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1670-1692,1694-1703,1705-1706
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/dyn3dmem/dynetat0_loc.F
r1669 r1707 5 5 . teta,q,masse,ps,phis,time) 6 6 USE infotrac 7 use control_mod, only : planet_type 7 8 USE parallel 8 9 IMPLICIT NONE … … 57 58 REAL,ALLOCATABLE :: phis_glo(:) 58 59 60 INTEGER idecal 61 59 62 c----------------------------------------------------------------------- 60 63 c Ouverture NetCDF du fichier etat initial … … 84 87 ENDIF 85 88 89 !!! AS: idecal is a hack to be able to read planeto starts... 90 !!! .... while keeping everything OK for LMDZ EARTH 91 if (planet_type.eq."generic") then 92 print*,'NOTE NOTE NOTE : Planeto-like start files' 93 idecal = 4 94 annee_ref = 2000 95 else 96 print*,'NOTE NOTE NOTE : Earth-like start files' 97 idecal = 5 98 annee_ref = tab_cntrl(5) 99 endif 100 101 86 102 im = tab_cntrl(1) 87 103 jm = tab_cntrl(2) 88 104 lllm = tab_cntrl(3) 89 105 day_ref = tab_cntrl(4) 90 annee_ref = tab_cntrl(5) 91 rad = tab_cntrl(6) 92 omeg = tab_cntrl(7) 93 g = tab_cntrl(8) 94 cpp = tab_cntrl(9) 95 kappa = tab_cntrl(10) 96 daysec = tab_cntrl(11) 97 dtvr = tab_cntrl(12) 98 etot0 = tab_cntrl(13) 99 ptot0 = tab_cntrl(14) 100 ztot0 = tab_cntrl(15) 101 stot0 = tab_cntrl(16) 102 ang0 = tab_cntrl(17) 103 pa = tab_cntrl(18) 104 preff = tab_cntrl(19) 105 c 106 clon = tab_cntrl(20) 107 clat = tab_cntrl(21) 108 grossismx = tab_cntrl(22) 109 grossismy = tab_cntrl(23) 110 c 111 IF ( tab_cntrl(24).EQ.1. ) THEN 106 rad = tab_cntrl(idecal+1) 107 omeg = tab_cntrl(idecal+2) 108 g = tab_cntrl(idecal+3) 109 cpp = tab_cntrl(idecal+4) 110 kappa = tab_cntrl(idecal+5) 111 daysec = tab_cntrl(idecal+6) 112 dtvr = tab_cntrl(idecal+7) 113 etot0 = tab_cntrl(idecal+8) 114 ptot0 = tab_cntrl(idecal+9) 115 ztot0 = tab_cntrl(idecal+10) 116 stot0 = tab_cntrl(idecal+11) 117 ang0 = tab_cntrl(idecal+12) 118 pa = tab_cntrl(idecal+13) 119 preff = tab_cntrl(idecal+14) 120 c 121 clon = tab_cntrl(idecal+15) 122 clat = tab_cntrl(idecal+16) 123 grossismx = tab_cntrl(idecal+17) 124 grossismy = tab_cntrl(idecal+18) 125 c 126 IF ( tab_cntrl(idecal+19).EQ.1. ) THEN 112 127 fxyhypb = . TRUE . 113 128 c dzoomx = tab_cntrl(25) … … 118 133 fxyhypb = . FALSE . 119 134 ysinus = . FALSE . 120 IF( tab_cntrl( 27).EQ.1. ) ysinus = . TRUE.135 IF( tab_cntrl(idecal+22).EQ.1. ) ysinus = . TRUE. 121 136 ENDIF 122 137 … … 266 281 ierr = NF_INQ_VARID (nid, "temps", nvarid) 267 282 IF (ierr .NE. NF_NOERR) THEN 268 write(lunout,*)"dynetat0_loc: Le champ <temps> est absent" 269 CALL abort 283 write(lunout,*)"dynetat0: Le champ <temps> est absent" 284 write(lunout,*)"dynetat0: J essaie <Time>" 285 ierr = NF_INQ_VARID (nid, "Time", nvarid) 286 IF (ierr .NE. NF_NOERR) THEN 287 write(lunout,*)"dynetat0: Le champ <Time> est absent" 288 CALL abort 289 ENDIF 270 290 ENDIF 271 291 #ifdef NC_DOUBLE
Note: See TracChangeset
for help on using the changeset viewer.