Changeset 2134
- Timestamp:
- 2010-09-29T19:29:04+02:00 (14 years ago)
- Location:
- branches/devmercator2010_1/NEMO/OPA_SRC/SBC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/devmercator2010_1/NEMO/OPA_SRC/SBC/fldread.F90
r2131 r2134 372 372 INTEGER :: inrec ! number of record existing for this variable 373 373 INTEGER :: kwgt 374 <<<<<<< .working375 374 INTEGER :: jk !vertical loop variable 376 375 INTEGER :: ipk !number of vertical levels of sdjf%fdta ( 2D: ipk=1 ; 3D: ipk=jpk ) 377 =======378 376 INTEGER :: iyear, imonth, iday ! first day of the current file in yyyy mm dd 379 377 INTEGER :: isec_week ! number of seconds since start of the weekly file 380 >>>>>>> .merge-right.r2130381 378 CHARACTER(LEN=1000) :: clfmt ! write format 382 379 !!--------------------------------------------------------------------- … … 427 424 llprev = llprevyr .OR. llprevmth .OR. llprevweek .OR. llprevday 428 425 429 <<<<<<< .working430 426 CALL fld_clopn( sdjf, nyear - COUNT((/llprevyr /)) , & 431 427 & nmonth - COUNT((/llprevmth/)) + 12 * COUNT((/llprevyr /)), & 432 428 & nday - COUNT((/llprevday/)) + nmonth_len(nmonth-1) * COUNT((/llprevmth/)), .NOT. llprev ) 433 429 434 =======435 430 IF ( sdjf%cltype(1:4) == 'week' ) THEN 436 431 isec_week = ksec_week( sdjf%cltype(6:8) ) … … 446 441 CALL fld_clopn( sdjf , iyear , imonth , iday , .NOT. llprev ) 447 442 448 >>>>>>> .merge-right.r2130449 443 ! if previous year/month/day file does not exist, we switch to the current year/month/day 450 444 IF( llprev .AND. sdjf%num == 0 ) THEN … … 474 468 ENDIF 475 469 ELSE 476 write(narea+200,*)' sdjf%ln_tint SIZE(sdjf%fnow,3) ',sdjf%ln_tint,SIZE(sdjf%fnow,3) ; call flush(narea+200)477 write(narea+200,*)' SIZE(sdjf%fdta,3) SIZE(sdjf%fdta,4) ',SIZE(sdjf%fdta,3),SIZE(sdjf%fdta,4) ; call flush(narea+200)478 470 SELECT CASE( SIZE(sdjf%fnow,3) ) 479 471 CASE(1) … … 490 482 ENDIF 491 483 END SELECT 492 write(narea+200,*)' test1 ok ' ; call flush(narea+200)493 484 ENDIF 494 485 sdjf%rotn(2) = .FALSE. … … 501 492 ENDIF 502 493 503 <<<<<<< .working504 494 505 495 IF( sdjf%num == 0 ) CALL fld_clopn( sdjf, nyear, nmonth, nday ) ! make sure current year/month/day file is opened 506 =======507 496 ! make sure current year/month/day file is opened 508 497 IF( sdjf%num == 0 ) THEN … … 524 513 CALL fld_clopn( sdjf, iyear, imonth, iday ) 525 514 ENDIF 526 >>>>>>> .merge-right.r2130527 515 528 516 sdjf%nswap_sec = nsec_year + nsec1jan000 - 1 ! force read/update the after data in the following part of fld_read 529 <<<<<<< .working530 517 531 ======= 532 533 >>>>>>> .merge-right.r2130 518 534 519 END SUBROUTINE fld_init 535 520 -
branches/devmercator2010_1/NEMO/OPA_SRC/SBC/sbcblk_clio.F90
r2130 r2134 129 129 & sn_ccov, sn_tair, sn_prec 130 130 !!--------------------------------------------------------------------- 131 write(narea+200,*)'clio : '; call flush(narea+200)132 131 133 132 ! ! ====================== !
Note: See TracChangeset
for help on using the changeset viewer.