Changeset 623 for trunk/NEMO/OPA_SRC/OBC
- Timestamp:
- 2007-02-26T18:26:08+01:00 (17 years ago)
- Location:
- trunk/NEMO/OPA_SRC/OBC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/OBC/obcdta.F90
r591 r623 608 608 !! * Local declarations 609 609 INTEGER :: ji, jj, jnic, jip ! dummy loop indices 610 INTEGER :: inum = 11! temporary logical unit610 INTEGER :: inum ! temporary logical unit 611 611 INTEGER :: ip, ii, ij, iii, ijj 612 612 INTEGER :: kbsfstart … … 673 673 674 674 IF( kt == nit000 .OR. kt <= kbsfstart ) THEN 675 OPEN(inum,file='obceastbsf.dta') 675 CALL ctlopn( inum, 'obceastbsf.dta', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', & 676 & 1, numout, .TRUE., 1 ) 676 677 READ(inum,*) 677 678 READ(inum,*) … … 691 692 692 693 IF( kt == nit000 .OR. kt <= kbsfstart ) then 693 OPEN(inum,file='obcwestbsf.dta') 694 CALL ctlopn( inum, 'obcwestbsf.dta', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', & 695 & 1, numout, .TRUE., 1 ) 694 696 READ(inum,*) 695 697 READ(inum,*) … … 709 711 710 712 IF( kt == nit000 .OR. kt <= kbsfstart ) THEN 711 OPEN(inum,file='obcsouthbsf.dta') 713 CALL ctlopn( inum, 'obcsouthbsf.dta', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', & 714 & 1, numout, .TRUE., 1 ) 712 715 READ(inum,*) 713 716 READ(inum,*) … … 726 729 IF( lpnorthobc) THEN 727 730 IF( kt == nit000 .OR. kt <= kbsfstart ) THEN 728 OPEN(inum,file='obcnorthbsf.dta') 731 CALL ctlopn( inum, 'obcnorthbsf.dta', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', & 732 & 1, numout, .TRUE., 1 ) 729 733 READ(inum,*) 730 734 READ(inum,*) -
trunk/NEMO/OPA_SRC/OBC/obcrst.F90
r474 r623 66 66 67 67 !! * Local declarations 68 INTEGER :: ji, jj, jk , ios69 INTEGER :: inum = 11! temporary logical unit68 INTEGER :: ji, jj, jk 69 INTEGER :: inum ! temporary logical unit 70 70 INTEGER :: ibloc, nreclo, jrec, jt, jb 71 71 INTEGER :: jfoe, jfow, ifon, ifos … … 96 96 ! 1.1 Open file 97 97 ! ------------- 98 OPEN( UNIT = inum, & 99 IOSTAT = ios, & 100 FILE = 'restart.obc.output', & 101 ACCESS = 'DIRECT', & 102 RECL = nreclo, & 103 FORM = 'UNFORMATTED' ) 104 IF( ios > 0 ) CALL ctl_stop( ' Pbm to OPEN the restart.obc.output file ' ) 98 99 CALL ctlopn( inum, 'restart.obc.output', 'UNKNOWN', 'UNFORMATTED', 'DIRECT', & 100 & nreclo, numout, .TRUE., 1 ) 105 101 106 102 ! 1.2 Write header … … 352 348 ! 0.1 Open files 353 349 ! --------------- 354 OPEN( UNIT = inum, & 355 IOSTAT = ios, & 356 FILE = 'restart.obc', & 357 ACCESS = 'DIRECT', & 358 RECL = nreclo, & 359 FORM = 'UNFORMATTED' ) 360 IF( ios > 0 ) CALL ctl_stop( ' Pbm to OPEN the restart.obc file ' ) 350 CALL ctlopn( inum, 'restart.obc.output', 'UNKNOWN', 'UNFORMATTED', 'DIRECT', & 351 & nreclo, numout, .TRUE., 1 ) 361 352 362 353 ! 1. Read
Note: See TracChangeset
for help on using the changeset viewer.