@@ -52,27 +52,27 @@ subroutine stepon_init(dyn_in, dyn_out)
5252 !- ---------------------------------------------------------------------------
5353
5454 ! dycore state variables on MPAS grids
55- call addfld (' u ' , (/ ' lev' / ), ' A' , ' m/s' , ' normal velocity at edges' , gridname= ' mpas_edge' )
56- call addfld (' w ' , (/ ' ilev' / ), ' A' , ' m/s' , ' vertical velocity' , gridname= ' mpas_cell ' )
57- call addfld (' theta ' , (/ ' lev' / ), ' A' , ' K' , ' potential temperature' , gridname= ' mpas_cell ' )
58- call addfld (' rho ' , (/ ' lev' / ), ' A' , ' kg/m^3' , ' dry air density' , gridname= ' mpas_cell ' )
59- call addfld (' qv ' , (/ ' lev' / ), ' A' , ' kg/kg' , ' water vapor dry mmr' , gridname= ' mpas_cell ' )
60- call addfld (' uReconstructZonal ' , (/ ' lev' / ), ' A' , ' m/s' , &
61- ' zonal velocity at cell centers' , gridname= ' mpas_cell ' )
62- call addfld (' uReconstructMeridional ' , (/ ' lev' / ), ' A' , ' m/s' , &
63- ' meridional velocity at cell centers' , gridname= ' mpas_cell ' )
64- call addfld (' divergence ' , (/ ' lev' / ), ' A' , ' 1/s' , &
65- ' Horizontal velocity divergence at cell center' , gridname= ' mpas_cell ' )
66- call addfld (' vorticity ' , (/ ' lev' / ), ' A' , ' 1/s' , &
55+ call addfld (' u_mpas ' , (/ ' lev' / ), ' A' , ' m/s' , ' normal velocity at edges' , gridname= ' mpas_edge' )
56+ call addfld (' w_mpas ' , (/ ' ilev' / ), ' A' , ' m/s' , ' vertical velocity' , gridname= ' cam_cell ' )
57+ call addfld (' theta_mpas ' , (/ ' lev' / ), ' A' , ' K' , ' potential temperature' , gridname= ' cam_cell ' )
58+ call addfld (' rho_mpas ' , (/ ' lev' / ), ' A' , ' kg/m^3' , ' dry air density' , gridname= ' cam_cell ' )
59+ call addfld (' qv_mpas ' , (/ ' lev' / ), ' A' , ' kg/kg' , ' water vapor dry mmr' , gridname= ' cam_cell ' )
60+ call addfld (' uReconstructZonal_mpas ' , (/ ' lev' / ), ' A' , ' m/s' , &
61+ ' zonal velocity at cell centers' , gridname= ' cam_cell ' )
62+ call addfld (' uReconstructMeridional_mpas ' , (/ ' lev' / ), ' A' , ' m/s' , &
63+ ' meridional velocity at cell centers' , gridname= ' cam_cell ' )
64+ call addfld (' divergence_mpas ' , (/ ' lev' / ), ' A' , ' 1/s' , &
65+ ' Horizontal velocity divergence at cell center' , gridname= ' cam_cell ' )
66+ call addfld (' vorticity_mpas ' , (/ ' lev' / ), ' A' , ' 1/s' , &
6767 ' Relative vorticity at vertices' , gridname= ' mpas_vertex' )
6868
6969 ! physics forcings on MPAS grids
70- call addfld (' ru_tend ' , (/ ' lev' / ), ' A' , ' kg/m^2/s' , &
70+ call addfld (' ru_tend_mpas ' , (/ ' lev' / ), ' A' , ' kg/m^2/s' , &
7171 ' physics tendency of normal horizontal momentum' , gridname= ' mpas_edge' )
72- call addfld (' rtheta_tend ' , (/ ' lev' / ), ' A' , ' kg K/m^3/s' , &
73- ' physics tendency of rho*theta/zz' , gridname= ' mpas_cell ' )
74- call addfld (' rho_tend ' , (/ ' lev' / ), ' A' , ' kg/m^3/s' , &
75- ' physics tendency of dry air density' , gridname= ' mpas_cell ' )
72+ call addfld (' rtheta_tend_mpas ' , (/ ' lev' / ), ' A' , ' kg K/m^3/s' , &
73+ ' physics tendency of rho*theta/zz' , gridname= ' cam_cell ' )
74+ call addfld (' rho_tend_mpas ' , (/ ' lev' / ), ' A' , ' kg/m^3/s' , &
75+ ' physics tendency of dry air density' , gridname= ' cam_cell ' )
7676
7777 ! get aerosol properties
7878 aero_props_obj = > aerosol_properties_object()
@@ -235,7 +235,7 @@ subroutine write_dynvar(dyn_out)
235235 nVerticesSolve = dyn_out% nVerticesSolve
236236 qv_idx = dyn_out% index_qv
237237
238- if (hist_fld_active(' u ' )) then
238+ if (hist_fld_active(' u_mpas ' )) then
239239 allocate (arr2d(nEdgesSolve,plev), stat= ierr)
240240 if ( ierr /= 0 ) call endrun(subname// ' :failed to allocate arr2d array at line:' // int2str(__LINE__))
241241 do k = 1 , plev
@@ -244,11 +244,11 @@ subroutine write_dynvar(dyn_out)
244244 arr2d(i,k) = dyn_out% uperp(kk,i)
245245 end do
246246 end do
247- call outfld(' u ' , arr2d, nEdgesSolve, 1 )
247+ call outfld(' u_mpas ' , arr2d, nEdgesSolve, 1 )
248248 deallocate (arr2d)
249249 end if
250250
251- if (hist_fld_active(' w ' )) then
251+ if (hist_fld_active(' w_mpas ' )) then
252252 allocate (arr2d(nCellsSolve,plevp), stat= ierr)
253253 if ( ierr /= 0 ) call endrun(subname// ' :failed to allocate arr2d array at line:' // int2str(__LINE__))
254254 do k = 1 , plevp
@@ -257,76 +257,76 @@ subroutine write_dynvar(dyn_out)
257257 arr2d(i,k) = dyn_out% w(kk,i)
258258 end do
259259 end do
260- call outfld(' w ' , arr2d, nCellsSolve, 1 )
260+ call outfld(' w_mpas ' , arr2d, nCellsSolve, 1 )
261261 deallocate (arr2d)
262262 end if
263263
264264 allocate (arr2d(nCellsSolve,plev), stat= ierr)
265265 if ( ierr /= 0 ) call endrun(subname// ' :failed to allocate arr2d array at line:' // int2str(__LINE__))
266266
267- if (hist_fld_active(' theta ' )) then
267+ if (hist_fld_active(' theta_mpas ' )) then
268268 do k = 1 , plev
269269 kk = plev - k + 1
270270 do i = 1 , nCellsSolve
271271 arr2d(i,k) = dyn_out% theta(kk,i)
272272 end do
273273 end do
274- call outfld(' theta ' , arr2d, nCellsSolve, 1 )
274+ call outfld(' theta_mpas ' , arr2d, nCellsSolve, 1 )
275275 end if
276276
277- if (hist_fld_active(' rho ' )) then
277+ if (hist_fld_active(' rho_mpas ' )) then
278278 do k = 1 , plev
279279 kk = plev - k + 1
280280 do i = 1 , nCellsSolve
281281 arr2d(i,k) = dyn_out% rho(kk,i)
282282 end do
283283 end do
284- call outfld(' rho ' , arr2d, nCellsSolve, 1 )
284+ call outfld(' rho_mpas ' , arr2d, nCellsSolve, 1 )
285285 end if
286286
287- if (hist_fld_active(' qv ' )) then
287+ if (hist_fld_active(' qv_mpas ' )) then
288288 do k = 1 , plev
289289 kk = plev - k + 1
290290 do i = 1 , nCellsSolve
291291 arr2d(i,k) = dyn_out% tracers(qv_idx,kk,i)
292292 end do
293293 end do
294- call outfld(' qv ' , arr2d, nCellsSolve, 1 )
294+ call outfld(' qv_mpas ' , arr2d, nCellsSolve, 1 )
295295 end if
296296
297- if (hist_fld_active(' uReconstructZonal ' )) then
297+ if (hist_fld_active(' uReconstructZonal_mpas ' )) then
298298 do k = 1 , plev
299299 kk = plev - k + 1
300300 do i = 1 , nCellsSolve
301301 arr2d(i,k) = dyn_out% ux(kk,i)
302302 end do
303303 end do
304- call outfld(' uReconstructZonal ' , arr2d, nCellsSolve, 1 )
304+ call outfld(' uReconstructZonal_mpas ' , arr2d, nCellsSolve, 1 )
305305 end if
306306
307- if (hist_fld_active(' uReconstructMeridional ' )) then
307+ if (hist_fld_active(' uReconstructMeridional_mpas ' )) then
308308 do k = 1 , plev
309309 kk = plev - k + 1
310310 do i = 1 , nCellsSolve
311311 arr2d(i,k) = dyn_out% uy(kk,i)
312312 end do
313313 end do
314- call outfld(' uReconstructMeridional ' , arr2d, nCellsSolve, 1 )
314+ call outfld(' uReconstructMeridional_mpas ' , arr2d, nCellsSolve, 1 )
315315 end if
316316
317- if (hist_fld_active(' divergence ' )) then
317+ if (hist_fld_active(' divergence_mpas ' )) then
318318 do k = 1 , plev
319319 kk = plev - k + 1
320320 do i = 1 , nCellsSolve
321321 arr2d(i,k) = dyn_out% divergence(kk,i)
322322 end do
323323 end do
324- call outfld(' divergence ' , arr2d, nCellsSolve, 1 )
324+ call outfld(' divergence_mpas ' , arr2d, nCellsSolve, 1 )
325325 end if
326326
327327 deallocate (arr2d)
328328
329- if (hist_fld_active(' vorticity ' )) then
329+ if (hist_fld_active(' vorticity_mpas ' )) then
330330 allocate (arr2d(nVerticesSolve,plev), stat= ierr)
331331 if ( ierr /= 0 ) call endrun(subname// ' :failed to allocate arr2d array at line:' // int2str(__LINE__))
332332 do k = 1 , plev
@@ -335,7 +335,7 @@ subroutine write_dynvar(dyn_out)
335335 arr2d(i,k) = dyn_out% vorticity(kk,i)
336336 end do
337337 end do
338- call outfld(' vorticity ' , arr2d, nVerticesSolve, 1 )
338+ call outfld(' vorticity_mpas ' , arr2d, nVerticesSolve, 1 )
339339 deallocate (arr2d)
340340 end if
341341
@@ -369,7 +369,7 @@ subroutine write_forcings(dyn_in)
369369 nCellsSolve = dyn_in% nCellsSolve
370370 nEdgesSolve = dyn_in% nEdgesSolve
371371
372- if (hist_fld_active(' ru_tend ' )) then
372+ if (hist_fld_active(' ru_tend_mpas ' )) then
373373 allocate (arr2d(nEdgesSolve,plev), stat= ierr)
374374 if ( ierr /= 0 ) call endrun(subname// ' :failed to allocate arr2d array at line:' // int2str(__LINE__))
375375 do k = 1 , plev
@@ -378,31 +378,31 @@ subroutine write_forcings(dyn_in)
378378 arr2d(i,k) = dyn_in% ru_tend(kk,i)
379379 end do
380380 end do
381- call outfld(' ru_tend ' , arr2d, nEdgesSolve, 1 )
381+ call outfld(' ru_tend_mpas ' , arr2d, nEdgesSolve, 1 )
382382 deallocate (arr2d)
383383 end if
384384
385385 allocate (arr2d(nCellsSolve,plev), stat= ierr)
386386 if ( ierr /= 0 ) call endrun(subname// ' :failed to allocate arr2d array at line:' // int2str(__LINE__))
387387
388- if (hist_fld_active(' rtheta_tend ' )) then
388+ if (hist_fld_active(' rtheta_tend_mpas ' )) then
389389 do k = 1 , plev
390390 kk = plev - k + 1
391391 do i = 1 , nCellsSolve
392392 arr2d(i,k) = dyn_in% rtheta_tend(kk,i)
393393 end do
394394 end do
395- call outfld(' rtheta_tend ' , arr2d, nCellsSolve, 1 )
395+ call outfld(' rtheta_tend_mpas ' , arr2d, nCellsSolve, 1 )
396396 end if
397397
398- if (hist_fld_active(' rho_tend ' )) then
398+ if (hist_fld_active(' rho_tend_mpas ' )) then
399399 do k = 1 , plev
400400 kk = plev - k + 1
401401 do i = 1 , nCellsSolve
402402 arr2d(i,k) = dyn_in% rho_tend(kk,i)
403403 end do
404404 end do
405- call outfld(' rho_tend ' , arr2d, nCellsSolve, 1 )
405+ call outfld(' rho_tend_mpas ' , arr2d, nCellsSolve, 1 )
406406 end if
407407
408408 deallocate (arr2d)
0 commit comments