- 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/sbcapr.F90
r3795 r4147 26 26 PUBLIC sbc_apr ! routine called in sbcmod 27 27 28 ! 29 LOGICAL, PUBLIC :: ln_apr_obc = .FALSE.!: inverse barometer added to OBC ssh data30 LOGICAL, PUBLIC :: ln_ref_apr = .FALSE.!: ref. pressure: global mean Patm (F) or a constant (F)31 REAL(wp) :: rn_pref = 101000._wp! reference atmospheric pressure [N/m2]28 ! !!* namsbc_apr namelist (Atmospheric PRessure) * 29 LOGICAL, PUBLIC :: ln_apr_obc !: inverse barometer added to OBC ssh data 30 LOGICAL, PUBLIC :: ln_ref_apr !: ref. pressure: global mean Patm (F) or a constant (F) 31 REAL(wp) :: rn_pref ! reference atmospheric pressure [N/m2] 32 32 33 33 REAL(wp), ALLOCATABLE, SAVE, PUBLIC, DIMENSION(:,:) :: ssh_ib ! Inverse barometer now sea surface height [m] … … 65 65 !! 66 66 INTEGER :: ierror ! local integer 67 INTEGER :: ios ! Local integer output status for namelist read 67 68 !! 68 69 CHARACTER(len=100) :: cn_dir ! Root directory for location of ssr files … … 75 76 ! ! -------------------- ! 76 77 IF( kt == nit000 ) THEN ! First call kt=nit000 ! 77 ! ! -------------------- ! 78 ! !* set file information (default values) 79 ! ... default values (NB: frequency positive => hours, negative => months) 80 ! ! file ! frequency ! variable ! time intep ! clim ! 'yearly' or ! weights ! rotation ! 81 ! ! name ! (hours) ! name ! (T/F) ! (T/F) ! 'monthly' ! filename ! pairs ! 82 sn_apr = FLD_N( 'patm' , 24 , 'patm' , .false. , .true. , 'yearly' , '' , '' ) 83 cn_dir = './' ! directory in which the Patm data are 78 ! ! -------------------- ! 84 79 85 REWIND( numnam ) !* read in namlist namsbc_apr 86 READ ( numnam, namsbc_apr ) 80 REWIND( numnam_ref ) ! Namelist namsbc_apr in reference namelist : File for atmospheric pressure forcing 81 READ ( numnam_ref, namsbc_apr, IOSTAT = ios, ERR = 901) 82 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_apr in reference namelist', lwp ) 83 84 REWIND( numnam_cfg ) ! Namelist namsbc_apr in configuration namelist : File for atmospheric pressure forcing 85 READ ( numnam_cfg, namsbc_apr, IOSTAT = ios, ERR = 902 ) 86 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_apr in configuration namelist', lwp ) 87 WRITE ( numond, namsbc_apr ) 87 88 ! 88 89 ALLOCATE( sf_apr(1), STAT=ierror ) !* allocate and fill sf_sst (forcing structure) with sn_sst
Note: See TracChangeset
for help on using the changeset viewer.