# UKCA stash diangostics unavailable in this model version (UKCA not CLASSIC)

**URL:** https://cms-helpdesk.ncas.ac.uk/t/ukca-stash-diangostics-unavailable-in-this-model-version-ukca-not-classic/64
**Category:** Unified Model
**Tags:** ARCHER2
**Created:** [12 May 2021 11:00 UTC](https://cms-helpdesk.ncas.ac.uk/t/ukca-stash-diangostics-unavailable-in-this-model-version-ukca-not-classic/64 "2021-05-12T11:00:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Leighton\_Regayre](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/leighton_regayre/32/20_2.png) [@Leighton\_Regayre](https://cms-helpdesk.ncas.ac.uk/u/Leighton_Regayre)
#### Post date: [12 May 2021 11:00 UTC](https://cms-helpdesk.ncas.ac.uk/t/ukca-stash-diangostics-unavailable-in-this-model-version-ukca-not-classic/64/1 "2021-05-12T11:00:35Z")

</div>

Hello,

I have requested some section 3, 4 and 5 stash diagnostics in my _suite u-ce369_ which are not being output because they are ‘_not available in this model version_’ according to the suite logs. The diagnostics are related to aerosol species removal through dry and wet deposition. I followed cms trac ticket #3172  
[http://cms.ncas.ac.uk/ticket/3172](http://cms.ncas.ac.uk/ticket/3172)  
which suggests running stashtestmask.STASHTstmskValidate on my suite to identify the cause.

Apprarently the diagnostics are not available because of logical switches that are embedded in the CLASSIC aerosol model component (section 17). But, my suite does not use CLASSIC aerosols, it uses modal aerosol (l\_ukca\_mode=TRUE) with i\_mode\_setup=2 and offline-odiant chemistry scheme (i\_ukca\_chem=Offline Oxidants (BE) (14)) in section 34.

The specific logical switches that prevent the diagnostics from being available are:  
l\_sulpc\_so2  
l\_soot  
l\_ocff  
l\_biomass

and the associated diagnostics are:  
3-270 to 3-273  
3-396 to 3-398  
3-407 to 3-409  
4-216  
4-219  
4-220  
4-228  
4-229  
5-238 to 5-244

I have checked the code for use of l\_sulpc\_so2 for example, and the only use is associated with the CLASSIC aerosol scheme, including the run\_aerosols.F90 subroutine, which is associated with section 17 (CLASSIC).

I think there are logical checks in ukca\_set1defs.F90 which assume only CLASSIC aerosols will be used. For example:  
UkcaD1Codes(j+13)%item=103 ! SO4 Aitken Mode  
UkcaD1Codes(j+13)%len\_dim1=row\_length  
UkcaD1Codes(j+13)%len\_dim2=rows  
UkcaD1Codes(j+13)%len\_dim3=tr\_levels  
IF ((.NOT. l\_sulpc\_so2) .OR. l\_use\_arclsulp) &  
UkcaD1Codes(j+13)%required=.FALSE.  
UkcaD1Codes(j+14)%item=104 ! SO4 accumulation Mode

If I have followed this through correctly, I think I could add an additional logical option for l\_ukca\_mode to ukca\_set1defs.F90, with additional checks for the value of i\_mode\_setup to make sure the aerosol species associated with the diagnostic is being emitted. Is that a sensible approach?

Thanks and sorry for the long message!

Leighton

---

<div class="post-metadata">

### Author: ![Luke](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/luke/32/45_2.png) [@Luke](https://cms-helpdesk.ncas.ac.uk/u/Luke)
#### Post date: [12 May 2021 11:35 UTC](https://cms-helpdesk.ncas.ac.uk/t/ukca-stash-diangostics-unavailable-in-this-model-version-ukca-not-classic/64/2 "2021-05-12T11:35:22Z")

</div>

Hi Leighton,

As these are CLASSIC diagnostics, not UKCA ones, they won’t be available. Even if you edit the logicals the pipework to make use of them won’t exist. UKCA has its own dry & wet removal diagnostics in section 38 - have you checked there that it has what you need?

The code you’ve found is for use when CLASSIC or the CLASSIC aerosol climatology is on - in this case the heterogeneous chemistry can use the CLASSIC aerosols.

Thanks,  
Luke

---

<div class="post-metadata">

### Author: ![Leighton\_Regayre](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/leighton_regayre/32/20_2.png) [@Leighton\_Regayre](https://cms-helpdesk.ncas.ac.uk/u/Leighton_Regayre)
#### Post date: [12 May 2021 11:47 UTC](https://cms-helpdesk.ncas.ac.uk/t/ukca-stash-diangostics-unavailable-in-this-model-version-ukca-not-classic/64/3 "2021-05-12T11:47:43Z")

</div>

Thanks Luke.

I made a problem out of nothing it seems. I’ll try the section 38 diagnostics.

Cheers,

Leighton

---

<div class="post-metadata">

### Author: ![RosalynHatcher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rosalynhatcher/32/11_2.png) [@RosalynHatcher](https://cms-helpdesk.ncas.ac.uk/u/RosalynHatcher)
#### Post date: [8 June 2021 20:24 UTC](https://cms-helpdesk.ncas.ac.uk/t/ukca-stash-diangostics-unavailable-in-this-model-version-ukca-not-classic/64/4 "2021-06-08T20:24:46Z")

</div>


