- 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/sbcflx.F90
r3625 r4147 77 77 INTEGER :: ji, jj, jf ! dummy indices 78 78 INTEGER :: ierror ! return error code 79 INTEGER :: ios ! Local integer output status for namelist read 79 80 REAL(wp) :: zfact ! temporary scalar 80 81 REAL(wp) :: zrhoa = 1.22 ! Air density kg/m3 … … 90 91 IF( kt == nit000 ) THEN ! First call kt=nit000 91 92 ! set file information 92 cn_dir = './' ! directory in which the model is executed 93 ! ... default values (NB: frequency positive => hours, negative => months) 94 ! ! file ! frequency ! variable ! time intep ! clim ! 'yearly' or ! weights ! rotation ! 95 ! ! name ! (hours) ! name ! (T/F) ! (T/F) ! 'monthly' ! filename ! pairs ! 96 sn_utau = FLD_N( 'utau' , 24 , 'utau' , .false. , .false. , 'yearly' , '' , '' ) 97 sn_vtau = FLD_N( 'vtau' , 24 , 'vtau' , .false. , .false. , 'yearly' , '' , '' ) 98 sn_qtot = FLD_N( 'qtot' , 24 , 'qtot' , .false. , .false. , 'yearly' , '' , '' ) 99 sn_qsr = FLD_N( 'qsr' , 24 , 'qsr' , .false. , .false. , 'yearly' , '' , '' ) 100 sn_emp = FLD_N( 'emp' , 24 , 'emp' , .false. , .false. , 'yearly' , '' , '' ) 101 ! 102 REWIND ( numnam ) ! read in namlist namflx 103 READ ( numnam, namsbc_flx ) 93 REWIND( numnam_ref ) ! Namelist namsbc_flx in reference namelist : Files for fluxes 94 READ ( numnam_ref, namsbc_flx, IOSTAT = ios, ERR = 901) 95 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_flx in reference namelist', lwp ) 96 97 REWIND( numnam_cfg ) ! Namelist namsbc_flx in configuration namelist : Files for fluxes 98 READ ( numnam_cfg, namsbc_flx, IOSTAT = ios, ERR = 902 ) 99 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_flx in configuration namelist', lwp ) 100 WRITE ( numond, namsbc_flx ) 104 101 ! 105 102 ! ! check: do we plan to use ln_dm2dc with non-daily forcing?
Note: See TracChangeset
for help on using the changeset viewer.