Changeset 5613
- Timestamp:
- 2015-07-20T11:12:03+02:00 (9 years ago)
- Location:
- branches/UKMO/dev_r5518_FOAM_local/NEMOGCM/NEMO/OPA_SRC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_FOAM_local/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90
r5463 r5613 46 46 USE iom 47 47 USE ioipsl 48 USE dynspg_oce, ONLY: un_adv, vn_adv ! barotropic velocities 49 48 USE dynspg_oce, ONLY: un_adv, vn_adv ! barotropic velocities 49 USE insitu_tem, ONLY: insitu_t, theta2t 50 50 #if defined key_lim2 51 51 USE limwri_2 … … 156 156 157 157 CALL iom_put( "toce", tsn(:,:,:,jp_tem) ) ! 3D temperature 158 CALL theta2t ! in-situ temperature conversion 159 CALL iom_put( "tinsitu", insitu_t(:,:,:)) ! in-situ temperature 158 160 CALL iom_put( "sst", tsn(:,:,1,jp_tem) ) ! surface temperature 159 161 IF ( iom_use("sbt") ) THEN … … 194 196 CALL iom_put( "taubot", z2d ) 195 197 ENDIF 196 198 197 199 CALL iom_put( "uoce", un(:,:,:) ) ! 3D i-current 198 200 CALL iom_put( "ssu", un(:,:,1) ) ! surface i-current -
branches/UKMO/dev_r5518_FOAM_local/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90
r5002 r5613 117 117 118 118 ! number of seconds since the beginning of current year/month/week/day at the middle of the time-step 119 nsec_year = nday_year * nsecd - ndt 05! 1 time step before the middle of the first time step120 nsec_month = nday * nsecd - ndt 05! because day will be called at the beginning of step121 nsec_week = idweek * nsecd - ndt 05122 nsec_day = nsecd - ndt 05119 nsec_year = nday_year * nsecd - ndt ! 1 time step before the middle of the first time step 120 nsec_month = nday * nsecd - ndt ! because day will be called at the beginning of step 121 nsec_week = idweek * nsecd - ndt 122 nsec_day = nsecd - ndt 123 123 124 124 ! control print … … 223 223 IF( ABS(adatrj - REAL(NINT(adatrj ),wp)) < zprec ) adatrj = REAL(NINT(adatrj ),wp) ! avoid truncation error 224 224 225 IF( nsec_day > nsecd ) THEN ! New day225 IF( nsec_day >= nsecd ) THEN ! New day 226 226 ! 227 227 nday = nday + 1 -
branches/UKMO/dev_r5518_FOAM_local/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90
r5407 r5613 206 206 ENDIF 207 207 #endif 208 ! 209 ! Met Office addition: if failed, return non-zero exit code 210 IF( nstop /= 0 ) CALL exit( 9 ) 208 211 ! 209 212 END SUBROUTINE nemo_gcm … … 612 615 !!---------------------------------------------------------------------- 613 616 USE diawri , ONLY: dia_wri_alloc 617 USE insitu_tem, ONLY: insitu_tem_alloc 614 618 USE dom_oce , ONLY: dom_oce_alloc 615 619 USE ldfdyn_oce, ONLY: ldfdyn_oce_alloc … … 628 632 ierr = oce_alloc () ! ocean 629 633 ierr = ierr + dia_wri_alloc () 634 ierr = ierr + insitu_tem_alloc() 630 635 ierr = ierr + dom_oce_alloc () ! ocean domain 631 636 ierr = ierr + ldfdyn_oce_alloc() ! ocean lateral physics : dynamics
Note: See TracChangeset
for help on using the changeset viewer.