Changes between Version 24 and Version 25 of ticket/0863
- Timestamp:
- 2011-10-25T15:16:54+02:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ticket/0863
v24 v25 134 134 135 135 === Isopycnal diffusion === 136 '''CAUTION''': Not coded yet.137 138 For the computation of isoneutral slopes, the density of neighbor cells has to be computed at the same depth.[[BR]]To that purpose, an argument is added in the `eos` routine that gives the depth at which density is calculated.[[BR]]For isoneutral slopes, `fsdept_0` is used. For the pressure gradient, the actualdepth `fsdept_n` is used.139 140 === Thickness weighted outputs ===141 In vvl case, the "toce" variable in the netcdf file does not contain temperature anymore but the heat content fse3t_n * tn.[[BR]]The same thing is done for salinity and horizontal velocities (only in flux form advection but I'm not sure if it has to be done in any vvl case).[[BR]] 3 other variables are created in netcdf outputs:136 The computation of potential density is done at a certain depth. In the vvl case, neighbor cells potential densities are not computed at the exact same depth, which causes an error in the computation of isopycnal slopes. To fix this problem, the depth has been added as an argument in the `eos_insitu` and `eos_insitu_pot` routines. 137 138 When the `eos` interface is called before computing the isopycnal slopes, `fsdept_0` is used. When it's called before the computation of the hydrostatic pressure gradient, the current depth `fsdept_n` is used. 139 140 === Thickness weighted outputs (active and passive tracers + velocities) === 141 In vvl case, the "toce" variable in the netcdf file does not contain temperature anymore but the heat content fse3t_n * tn.[[BR]]The same thing is done for salinity and horizontal velocities (only in flux form advection but I'm not sure if it has to be done in any vvl case).[[BR]]The same treatment is also applied to passive tracers.[[BR]]3 other variables are created in netcdf outputs: 142 142 143 143 * `e3t_n` is the vertical scale factor at t-points (`_n` suffix indicates that it is different from the background scale factor).[[BR]]e3u and e3v and e3w are not stored, they can be recomputed off-line. 144 * `dept_n` is the depth at t-points . Depthat u, v and w points should be computed off-line also.144 * `dept_n` is the depth at t-points with a 0 reference when the ocean is at rest (ssh is removed).[[BR]]Depths at u, v and w points should be computed off-line also. 145 145 * `e3tdef` is the squared deformation ratio of `e3t` given in %!^2.[[BR]]During the post treatment, the square root of this quantity gives the variance of the level thickness in %. 146 146 … … 148 148 z_e3t_def(:,:,:) = ( ( fse3t_n(:,:,:) - fse3t_0(:,:,:) ) / fse3t_0(:,:,:) * 100 * tmask(:,:,:) ) ** 2 149 149 CALL iom_put( "e3t_n" , fse3t_n (:,:,:) ) 150 CALL iom_put( "dept_n" , fsde pt_n (:,:,:) )150 CALL iom_put( "dept_n" , fsde3w_n (:,:,:) ) 151 151 CALL iom_put( "e3tdef" , z_e3t_def(:,:,:) ) 152 152