Changeset 11822 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/FLO/flowri.F90
- Timestamp:
- 2019-10-29T11:41:36+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/FLO/flowri.F90
r10970 r11822 10 10 !! NEMO 1.0 ! 2002-10 (A. Bozec) F90 : Free form and module 11 11 !! 3.2 ! 2010-08 (slaw, cbricaud): netcdf outputs and others 12 !!----------------------------------------------------------------------13 #if defined key_floats14 !!----------------------------------------------------------------------15 !! 'key_floats' float trajectories16 12 !!---------------------------------------------------------------------- 17 13 USE flo_oce ! ocean drifting floats … … 180 176 CALL ctl_opn( numflo, 'trajec_float', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, .FALSE. ) 181 177 irecflo = NINT( (nitend-nn_it000) / FLOAT(nn_writefl) ) 182 WRITE(numflo,*) cexper,no,irecflo,jpnfl,nn_writefl178 WRITE(numflo,*) cexper, irecflo, jpnfl, nn_writefl 183 179 ENDIF 184 180 … … 256 252 257 253 istart = (/jfl,irec/) 258 icfl = INT( tpkfl(jfl) ) ! K-index of the nearest point before 259 260 CALL flioputv( numflo , 'traj_lon' , zlon(jfl) , start=istart ) 261 CALL flioputv( numflo , 'traj_lat' , zlat(jfl) , start=istart ) 262 CALL flioputv( numflo , 'traj_depth' , zdep(jfl) , start=istart ) 263 CALL flioputv( numflo , 'traj_temp' , ztemp(icfl,jfl) , start=istart ) 264 CALL flioputv( numflo , 'traj_salt' , zsal(icfl,jfl) , start=istart ) 265 CALL flioputv( numflo , 'traj_dens' , zrho(icfl,jfl) , start=istart ) 254 255 CALL flioputv( numflo , 'traj_lon' , zlon(jfl), start=istart ) 256 CALL flioputv( numflo , 'traj_lat' , zlat(jfl), start=istart ) 257 CALL flioputv( numflo , 'traj_depth' , zdep(jfl), start=istart ) 258 CALL flioputv( numflo , 'traj_temp' , ztem(jfl), start=istart ) 259 CALL flioputv( numflo , 'traj_salt' , zsal(jfl), start=istart ) 260 CALL flioputv( numflo , 'traj_dens' , zrho(jfl), start=istart ) 266 261 267 262 ENDDO … … 278 273 END SUBROUTINE flo_wri 279 274 280 281 # else282 !!----------------------------------------------------------------------283 !! Default option Empty module284 !!----------------------------------------------------------------------285 CONTAINS286 SUBROUTINE flo_wri ! Empty routine287 END SUBROUTINE flo_wri288 #endif289 290 275 !!======================================================================= 291 276 END MODULE flowri
Note: See TracChangeset
for help on using the changeset viewer.