- Timestamp:
- 2013-11-04T12:51:55+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_clio.F90
r3625 r4147 124 124 INTEGER, INTENT( in ) :: kt ! ocean time step 125 125 !! 126 INTEGER :: ifpr, jfpr ! dummy indices126 INTEGER :: ifpr, jfpr ! dummy indices 127 127 INTEGER :: ierr0, ierr1, ierr2, ierr3 ! return error code 128 INTEGER :: ios ! Local integer output status for namelist read 128 129 !! 129 130 CHARACTER(len=100) :: cn_dir ! Root directory for location of CLIO files … … 139 140 IF( kt == nit000 ) THEN ! First call kt=nit000 ! 140 141 ! ! ====================== ! 141 ! set file information (default values) 142 cn_dir = './' ! directory in which the model is executed 143 144 ! (NB: frequency positive => hours, negative => months) 145 ! ! file ! frequency ! variable ! time intep ! clim ! 'yearly' or ! weights ! rotation ! 146 ! ! name ! (hours) ! name ! (T/F) ! (T/F) ! 'monthly' ! filename ! pairs ! 147 sn_utau = FLD_N( 'utau' , 24 , 'utau' , .true. , .false. , 'yearly' , '' , '' ) 148 sn_vtau = FLD_N( 'vtau' , 24 , 'vtau' , .true. , .false. , 'yearly' , '' , '' ) 149 sn_wndm = FLD_N( 'mwnd10m', 24 , 'm_10' , .true. , .false. , 'yearly' , '' , '' ) 150 sn_tair = FLD_N( 'tair10m', 24 , 't_10' , .false. , .false. , 'yearly' , '' , '' ) 151 sn_humi = FLD_N( 'humi10m', 24 , 'q_10' , .false. , .false. , 'yearly' , '' , '' ) 152 sn_ccov = FLD_N( 'ccover' , -1 , 'cloud' , .true. , .false. , 'yearly' , '' , '' ) 153 sn_prec = FLD_N( 'precip' , -1 , 'precip' , .true. , .false. , 'yearly' , '' , '' ) 154 155 REWIND( numnam ) ! ... read in namlist namsbc_clio 156 READ ( numnam, namsbc_clio ) 142 143 REWIND( numnam_ref ) ! Namelist namsbc_clio in reference namelist : CLIO files 144 READ ( numnam_ref, namsbc_clio, IOSTAT = ios, ERR = 901) 145 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_clio in reference namelist', lwp ) 146 147 REWIND( numnam_cfg ) ! Namelist namsbc_clio in configuration namelist : CLIO files 148 READ ( numnam_cfg, namsbc_clio, IOSTAT = ios, ERR = 902 ) 149 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_clio in configuration namelist', lwp ) 150 WRITE ( numond, namsbc_clio ) 157 151 158 152 ! store namelist information in an array
Note: See TracChangeset
for help on using the changeset viewer.