Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

bug in COSP simulator

hannay

Cecile Hannay
AMWG Liaison
Staff member
Affected Releases:
CESM1.2.z
CESM1.1.z
CESM1.0.z
(Bugzilla 2054)

Po-lun Ma reported a bug in COSP simulator.


I think there might be a bug in COSP. I am looking at CESM1.2.1: cesm1_2_1/models/atm/cam/src/physics/cam/cospsimulator_intr.F90


Line 1969-1984 reads in liquid and ice mixing ratios for COSP calculation, but line 1974 seems to use convective liquid mixing ratio as ice.

do k=1,pver
do i=1,ncol
if (cld(i,k) .gt. 0._r8) then
!! note: convective mixing ratio is the sum of shallow and deep convective clouds in CAM5
mr_ccliq(i,k) = sh_cldliq(i,k) + dp_cldliq(i,k)
mr_ccice(i,k) = sh_cldliq(i,k) + dp_cldliq(i,k)
mr_lsliq(i,k)=state%q(i,k,ixcldliq) ! mr_lsliq, mixing_ratio_large_scale_cloud_liquid, state only includes stratiform (kg/kg)
mr_lsice(i,k)=state%q(i,k,ixcldice) ! mr_lsice - mixing_ratio_large_scale_cloud_ice, state only includes stratiform (kg/kg)
else
mr_ccliq(i,k) = 0._r8
mr_ccice(i,k) = 0._r8
mr_lsliq(i,k) = 0._r8
mr_lsice(i,k) = 0._r8
end if
end do
end do
 

hannay

Cecile Hannay
AMWG Liaison
Staff member

hannay

Cecile Hannay
AMWG Liaison
Staff member

hannay

Cecile Hannay
AMWG Liaison
Staff member

hannay

Cecile Hannay
AMWG Liaison
Staff member

hannay

Cecile Hannay
AMWG Liaison
Staff member

hannay

Cecile Hannay
AMWG Liaison
Staff member

hannay

Cecile Hannay
AMWG Liaison
Staff member

hannay

Cecile Hannay
AMWG Liaison
Staff member

hannay

Cecile Hannay
AMWG Liaison
Staff member

hannay

Cecile Hannay
AMWG Liaison
Staff member

hannay

Cecile Hannay
AMWG Liaison
Staff member

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
Bugzilla 2054:
This has been fixed on the development trunk, but users of CESM 1.0.6 and CESM 1.2.2 will need to apply the fix listed above.
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
Bugzilla 2054:
This has been fixed on the development trunk, but users of CESM 1.0.6 and CESM 1.2.2 will need to apply the fix listed above.
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
Bugzilla 2054:
This has been fixed on the development trunk, but users of CESM 1.0.6 and CESM 1.2.2 will need to apply the fix listed above.
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
Bugzilla 2054:
This has been fixed on the development trunk, but users of CESM 1.0.6 and CESM 1.2.2 will need to apply the fix listed above.
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
Bugzilla 2054:
This has been fixed on the development trunk, but users of CESM 1.0.6 and CESM 1.2.2 will need to apply the fix listed above.
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
Bugzilla 2054:
This has been fixed on the development trunk, but users of CESM 1.0.6 and CESM 1.2.2 will need to apply the fix listed above.
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
Bugzilla 2054:
This has been fixed on the development trunk, but users of CESM 1.0.6 and CESM 1.2.2 will need to apply the fix listed above.
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
Bugzilla 2054:
This has been fixed on the development trunk, but users of CESM 1.0.6 and CESM 1.2.2 will need to apply the fix listed above.
 
Top