Changeset 3213 for trunk/LMDZ.MARS/libf
- Timestamp:
- Feb 12, 2024, 3:05:15 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/writediagsoil.F90
r2916 r3213 206 206 if (dimpx.eq.3) then ! Case of a 3D variable 207 207 ! A. Recast data along 'dynamics' grid 208 if (klon_glo>1) then ! General case 208 209 #ifdef CPP_PARA 209 210 ! gather field on a "global" (without redundant longitude) array … … 219 220 !$OMP BARRIER 220 221 #else 221 if (klon_glo>1) then ! General case222 222 do l=1,nsoilmx 223 223 ! handle the poles … … 235 235 enddo 236 236 enddo 237 #endif 237 238 else ! 1D model case 238 239 data3_1d(1,1:nsoilmx)=px(1,1:nsoilmx) 239 240 endif 240 #endif241 241 242 242 ! B. Write (append) the variable to the NetCDF file … … 292 292 293 293 ! A. Recast data along 'dynamics' grid 294 if (klon_glo>1) then ! General case 294 295 #ifdef CPP_PARA 295 296 ! gather field on a "global" (without redundant longitude) array … … 306 307 !$OMP BARRIER 307 308 #else 308 if (klon_glo>1) then ! general case309 309 ! handle the poles 310 310 do i=1,nbp_lon+1 … … 320 320 data2(nbp_lon+1,j)=data2(1,j) ! extra (modulo) longitude 321 321 enddo 322 #endif 322 323 else ! 1D model case 323 324 data2_1d=px(1,1) 324 325 endif 325 #endif326 326 327 327 ! B. Write (append) the variable to the NetCDF file
Note: See TracChangeset
for help on using the changeset viewer.