@@ -69,7 +69,9 @@ module nucleate_ice_cam
69
69
naai_hom_idx = - 1
70
70
71
71
integer :: &
72
- ast_idx = - 1
72
+ ! +++arh
73
+ ! ast_idx = -1
74
+ aist_idx = - 1
73
75
74
76
integer :: &
75
77
qsatfac_idx = - 1
@@ -360,7 +362,9 @@ subroutine nucleate_ice_cam_init(mincld_in, bulk_scale_in, pbuf2d, aero_props)
360
362
mincld)
361
363
362
364
! get indices for fields in the physics buffer
363
- ast_idx = pbuf_get_index(' AST' )
365
+ ! +++arh
366
+ ! ast_idx = pbuf_get_index('AST')
367
+ aist_idx = pbuf_get_index(' AIST' )
364
368
365
369
end subroutine nucleate_ice_cam_init
366
370
@@ -400,8 +404,9 @@ subroutine nucleate_ice_cam_calc( &
400
404
real (r8 ), pointer :: pmid(:,:) ! pressure at layer midpoints (pa)
401
405
402
406
real (r8 ), pointer :: aer_mmr(:,:) ! aerosol mass mixing ratio
403
-
404
- real (r8 ), pointer :: ast(:,:)
407
+ ! +++arh
408
+ ! real(r8), pointer :: ast(:,:)
409
+ real (r8 ), pointer :: aist(:,:)
405
410
real (r8 ) :: icecldf(pcols,pver) ! ice cloud fraction
406
411
real (r8 ), pointer :: qsatfac(:,:) ! Subgrid cloud water saturation scaling factor.
407
412
@@ -509,9 +514,13 @@ subroutine nucleate_ice_cam_calc( &
509
514
end if
510
515
511
516
itim_old = pbuf_old_tim_idx()
512
- call pbuf_get_field(pbuf, ast_idx, ast, start= (/ 1 ,1 ,itim_old/ ), kount= (/ pcols,pver,1 / ))
517
+ ! +++arh
518
+ ! call pbuf_get_field(pbuf, ast_idx, ast, start=(/1,1,itim_old/), kount=(/pcols,pver,1/))
519
+ call pbuf_get_field(pbuf, aist_idx, aist, start= (/ 1 ,1 ,itim_old/ ), kount= (/ pcols,pver,1 / ))
513
520
514
- icecldf(:ncol,:pver) = ast(:ncol,:pver)
521
+ ! +++arh
522
+ ! icecldf(:ncol,:pver) = ast(:ncol,:pver)
523
+ icecldf(:ncol,:pver) = aist(:ncol,:pver)
515
524
516
525
! naai and naai_hom are the outputs from this parameterization
517
526
call pbuf_get_field(pbuf, naai_idx, naai)
0 commit comments