Changeset 6137 for branches/2015/dev_r5803_NOC_WAD/NEMOGCM/NEMO/OPA_SRC
- Timestamp:
- 2015-12-21T10:37:39+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5803_NOC_WAD/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90
r5870 r6137 170 170 171 171 ! Add vertical grid bounds 172 z_bnds(: ,1) = gdepw_1d(:) 173 z_bnds(1:jpkm1,2) = gdepw_1d(2:jpk) 174 z_bnds(jpk: ,2) = gdepw_1d(jpk) + e3t_1d(jpk) 175 CALL iom_set_axis_attr( "deptht", bounds=z_bnds ) 176 CALL iom_set_axis_attr( "depthu", bounds=z_bnds ) 177 CALL iom_set_axis_attr( "depthv", bounds=z_bnds ) 178 z_bnds(: ,2) = gdept_1d(:) 179 z_bnds(2:jpk,1) = gdept_1d(1:jpkm1) 180 z_bnds(1 ,1) = gdept_1d(1) - e3w_1d(1) 181 CALL iom_set_axis_attr( "depthw", bounds=z_bnds ) 172 IF( ln_cfmeta ) THEN 173 z_bnds(: ,1) = gdepw_1d(:) 174 z_bnds(1:jpkm1,2) = gdepw_1d(2:jpk) 175 z_bnds(jpk: ,2) = gdepw_1d(jpk) + e3t_1d(jpk) 176 CALL iom_set_axis_attr( "deptht", bounds=z_bnds ) 177 CALL iom_set_axis_attr( "depthu", bounds=z_bnds ) 178 CALL iom_set_axis_attr( "depthv", bounds=z_bnds ) 179 z_bnds(: ,2) = gdept_1d(:) 180 z_bnds(2:jpk,1) = gdept_1d(1:jpkm1) 181 z_bnds(1 ,1) = gdept_1d(1) - e3w_1d(1) 182 CALL iom_set_axis_attr( "depthw", bounds=z_bnds ) 183 ENDIF 182 184 183 185 # if defined key_floats
Note: See TracChangeset
for help on using the changeset viewer.