Changeset 6032
- Timestamp:
- 2015-12-11T09:24:14+01:00 (9 years ago)
- Location:
- branches/2014/dev_r4650_UKMO10_Tidally_Meaned_Diagnostics/NEMOGCM/NEMO/OPA_SRC/DIA
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2014/dev_r4650_UKMO10_Tidally_Meaned_Diagnostics/NEMOGCM/NEMO/OPA_SRC/DIA/dia25h.F90
r5989 r6032 8 8 USE oce ! ocean dynamics and tracers variables 9 9 USE dom_oce ! ocean space and time domain 10 USE diainsitutem, ONLY: rinsitu_t, theta2t11 10 USE in_out_manager ! I/O units 12 11 USE iom ! I/0 library … … 29 28 30 29 !! * variables for calculating 25-hourly means 31 REAL(wp),SAVE, ALLOCATABLE, DIMENSION(:,:,:) :: tn_25h , sn_25h , rinsitu_t_25h30 REAL(wp),SAVE, ALLOCATABLE, DIMENSION(:,:,:) :: tn_25h , sn_25h 32 31 REAL(wp),SAVE, ALLOCATABLE, DIMENSION(:,:) :: sshn_25h 33 32 REAL(wp),SAVE, ALLOCATABLE, DIMENSION(:,:,:) :: un_25h , vn_25h , wn_25h … … 95 94 CALL ctl_stop( 'dia_25h: unable to allocate sn_25h' ) ; RETURN 96 95 ENDIF 97 ALLOCATE( rinsitu_t_25h(jpi,jpj,jpk), STAT=ierror )98 IF( ierror > 0 ) THEN99 CALL ctl_stop( 'dia_25h: unable to allocate rinsitu_t_25h' ) ; RETURN100 ENDIF101 96 ALLOCATE( un_25h(jpi,jpj,jpk), STAT=ierror ) 102 97 IF( ierror > 0 ) THEN … … 142 137 sn_25h(:,:,:) = tsb(:,:,:,jp_sal) 143 138 CALL theta2t 144 rinsitu_t_25h(:,:,:) = rinsitu_t(:,:,:)145 139 sshn_25h(:,:) = sshb(:,:) 146 140 un_25h(:,:,:) = ub(:,:,:) … … 235 229 tn_25h(:,:,:) = tn_25h(:,:,:) + tsn(:,:,:,jp_tem) 236 230 sn_25h(:,:,:) = sn_25h(:,:,:) + tsn(:,:,:,jp_sal) 237 CALL theta2t238 rinsitu_t_25h(:,:,:) = rinsitu_t_25h(:,:,:) + rinsitu_t(:,:,:)239 231 sshn_25h(:,:) = sshn_25h(:,:) + sshn (:,:) 240 232 un_25h(:,:,:) = un_25h(:,:,:) + un(:,:,:) … … 267 259 tn_25h(:,:,:) = tn_25h(:,:,:) / 25.0_wp 268 260 sn_25h(:,:,:) = sn_25h(:,:,:) / 25.0_wp 269 rinsitu_t_25h(:,:,:) = rinsitu_t_25h(:,:,:) / 25.0_wp270 261 sshn_25h(:,:) = sshn_25h(:,:) / 25.0_wp 271 262 un_25h(:,:,:) = un_25h(:,:,:) / 25.0_wp … … 286 277 zw3d(:,:,:) = tn_25h(:,:,:)*tmask(:,:,:) + zmdi*(1.0-tmask(:,:,:)) 287 278 CALL iom_put("temper25h", zw3d) ! potential temperature 288 CALL theta2t ! calculate insitu temp289 zw3d(:,:,:) = rinsitu_t_25h(:,:,:)*tmask(:,:,:) + zmdi*(1.0-tmask(:,:,:))290 CALL iom_put("tempis25h", zw3d) ! in-situ temperature291 279 zw3d(:,:,:) = sn_25h(:,:,:)*tmask(:,:,:) + zmdi*(1.0-tmask(:,:,:)) 292 280 CALL iom_put( "salin25h", zw3d ) ! salinity … … 319 307 tn_25h(:,:,:) = tsn(:,:,:,jp_tem) 320 308 sn_25h(:,:,:) = tsn(:,:,:,jp_sal) 321 CALL theta2t322 rinsitu_t_25h(:,:,:) = rinsitu_t(:,:,:)323 309 sshn_25h(:,:) = sshn (:,:) 324 310 un_25h(:,:,:) = un(:,:,:)
Note: See TracChangeset
for help on using the changeset viewer.