Changeset 71 for LMDZ.3.3/trunk/libf/dyn3d
- Timestamp:
- Mar 7, 2000, 4:47:15 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/trunk/libf/dyn3d/create_limit.F
r2 r71 137 137 STOP 138 138 ENDIF 139 ierr = NF_GET_VAR_REAL(ncid,dimid,dlon_msk) 139 c ierr = NF_GET_VAR_REAL(ncid,dimid,dlon_msk) 140 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,dlon_msk) 141 c$$$ zbidon=0.0 142 c$$$ ierr = NF_GET_VAR_REAL(ncid,dimid,zbidon(1:imdep)) 143 c$$$ dlon_msk(1 : imdep) = dble(zbidon(1:imdep)) 144 c 140 145 if (ierr.ne.0) then 141 146 print *, NF_STRERROR(ierr) … … 153 158 STOP 154 159 ENDIF 155 ierr = NF_GET_VAR_REAL(ncid,dimid,dlat_msk) 156 if (ierr.ne.0) then 157 print *, NF_STRERROR(ierr) 158 STOP 159 ENDIF 160 ierr = NF_GET_VAR_REAL(ncid,varid,champ_msk) 160 c ierr = NF_GET_VAR_REAL(ncid,dimid,dlat_msk) 161 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,dlat_msk) 162 c$$$ zbidon=0. 163 c$$$ ierr = NF_GET_VAR_REAL(ncid,dimid,zbidon(1:jmdep)) 164 c$$$ dlat_msk=dble(zbidon(1:jmdep)) 165 c 166 if (ierr.ne.0) then 167 print *, NF_STRERROR(ierr) 168 STOP 169 ENDIF 170 c ierr = NF_GET_VAR_REAL(ncid,varid,champ_msk) 171 ierr = NF_GET_VAR_DOUBLE(ncid,varid,champ_msk) 172 c$$$ zbidon=0. 173 c$$$ ierr = NF_GET_VAR_REAL(ncid,varid,zbidon(1:imdep*jmdep)) 174 c$$$ champ_msk(1: imdep*jmdep) = zbidon(1:imdep*jmdep) 175 c 161 176 if (ierr.ne.0) then 162 177 print *, NF_STRERROR(ierr) … … 211 226 STOP 212 227 ENDIF 213 ierr = NF_GET_VAR_ REAL(ncid,dimid,dlon)228 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,dlon) 214 229 if (ierr.ne.0) then 215 230 print *, NF_STRERROR(ierr) … … 227 242 STOP 228 243 ENDIF 229 ierr = NF_GET_VAR_ REAL(ncid,dimid,dlat)244 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,dlat) 230 245 if (ierr.ne.0) then 231 246 print *, NF_STRERROR(ierr) … … 243 258 STOP 244 259 ENDIF 245 ierr = NF_GET_VAR_ REAL(ncid,dimid,timecoord)260 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,timecoord) 246 261 if (ierr.ne.0) then 247 262 print *, NF_STRERROR(ierr) … … 260 275 PRINT*,'Lecture temporelle et int. horizontale ',l,timecoord(l) 261 276 print*,dimfirst,dimlast 262 ierr = NF_GET_VARA_ REAL(ncid,varid,dimfirst,dimlast,champ)277 ierr = NF_GET_VARA_DOUBLE(ncid,varid,dimfirst,dimlast,champ) 263 278 if (ierr.ne.0) then 264 279 print *, NF_STRERROR(ierr) … … 343 358 STOP 344 359 ENDIF 345 ierr = NF_GET_VAR_ REAL(ncid,dimid,dlon)360 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,dlon) 346 361 if (ierr.ne.0) then 347 362 print *, NF_STRERROR(ierr) … … 359 374 STOP 360 375 ENDIF 361 ierr = NF_GET_VAR_ REAL(ncid,dimid,dlat)376 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,dlat) 362 377 if (ierr.ne.0) then 363 378 print *, NF_STRERROR(ierr) … … 375 390 STOP 376 391 ENDIF 377 ierr = NF_GET_VAR_ REAL(ncid,dimid,timecoord)392 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,timecoord) 378 393 if (ierr.ne.0) then 379 394 print *, NF_STRERROR(ierr) … … 391 406 c 392 407 PRINT*,'Lecture temporelle et int. horizontale ',l,timecoord(l) 393 ierr = NF_GET_VARA_ REAL(ncid,varid,dimfirst,dimlast,champ)408 ierr = NF_GET_VARA_DOUBLE(ncid,varid,dimfirst,dimlast,champ) 394 409 if (ierr.ne.0) then 395 410 print *, NF_STRERROR(ierr) … … 480 495 STOP 481 496 ENDIF 482 ierr = NF_GET_VAR_ REAL(ncid,dimid,dlon)497 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,dlon) 483 498 if (ierr.ne.0) then 484 499 print *, NF_STRERROR(ierr) … … 496 511 STOP 497 512 ENDIF 498 ierr = NF_GET_VAR_ REAL(ncid,dimid,dlat)513 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,dlat) 499 514 if (ierr.ne.0) then 500 515 print *, NF_STRERROR(ierr) … … 512 527 STOP 513 528 ENDIF 514 ierr = NF_GET_VAR_ REAL(ncid,dimid,timecoord)529 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,timecoord) 515 530 if (ierr.ne.0) then 516 531 print *, NF_STRERROR(ierr) … … 528 543 c 529 544 PRINT*,'Lecture temporelle et int. horizontale ',l,timecoord(l) 530 ierr = NF_GET_VARA_ REAL(ncid,varid,dimfirst,dimlast,champ)545 ierr = NF_GET_VARA_DOUBLE(ncid,varid,dimfirst,dimlast,champ) 531 546 if (ierr.ne.0) then 532 547 print *, NF_STRERROR(ierr) … … 606 621 STOP 607 622 ENDIF 608 ierr = NF_GET_VAR_ REAL(ncid,dimid,dlon)623 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,dlon) 609 624 if (ierr.ne.0) then 610 625 print *, NF_STRERROR(ierr) … … 622 637 STOP 623 638 ENDIF 624 ierr = NF_GET_VAR_ REAL(ncid,dimid,dlat)639 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,dlat) 625 640 if (ierr.ne.0) then 626 641 print *, NF_STRERROR(ierr) … … 638 653 STOP 639 654 ENDIF 640 ierr = NF_GET_VAR_ REAL(ncid,dimid,timecoord)655 ierr = NF_GET_VAR_DOUBLE(ncid,dimid,timecoord) 641 656 if (ierr.ne.0) then 642 657 print *, NF_STRERROR(ierr) … … 654 669 c 655 670 PRINT*,'Lecture temporelle et int. horizontale ',l,timecoord(l) 656 ierr = NF_GET_VARA_ REAL(ncid,varid,dimfirst,dimlast,champ)671 ierr = NF_GET_VARA_DOUBLE(ncid,varid,dimfirst,dimlast,champ) 657 672 if (ierr.ne.0) then 658 673 print *, NF_STRERROR(ierr)
Note: See TracChangeset
for help on using the changeset viewer.