# CCTM output is all 0 after running CMAQ

**URL:** <https://forum.cmascenter.org/t/cctm-output-is-all-0-after-running-cmaq/3069>\
**Category:** CMAQ-ISAM\
**Tags:** cmaq, emissions\
**Created:** [February 28, 2022, 6:59am UTC](https://forum.cmascenter.org/t/cctm-output-is-all-0-after-running-cmaq/3069 "2022-02-28T06:59:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghb980003021](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@ghb980003021](https://forum.cmascenter.org/u/ghb980003021)\
**Post date:** [February 28, 2022, 6:59am UTC](https://forum.cmascenter.org/t/cctm-output-is-all-0-after-running-cmaq/3069/1 "2022-02-28T06:59:21Z")

</div>

Hello everyone.  
After running CMAQ-ISAM, I found that the results of all the tags in the CCTM\_SA\* file, except for OTH,ICO,BCO, are all 0 values as shown in the figure. However, the result in CCTM\_\* is normal. I would like to know what causes this phenomenon and how can I fix it? I have attached the relevant file below.  
Thank you for your answer!  
[EmissCtrl\_cb6r3\_ae7\_aq.txt](https://forum.cmascenter.org/uploads/short-url/lrtMCHRTSwuNS0g4dNUA3JzePfN.txt) (31.0 KB)  
[run\_cctm.csh](https://forum.cmascenter.org/uploads/short-url/7pVy0IlDbFj9iLaCNkbq6yK8DP2.csh) (35.4 KB)  
[isam\_control.txt](https://forum.cmascenter.org/uploads/short-url/wmVyO8ui7obs8fwIprNTaAvBwCy.txt) (2.0 KB)

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/5/5554a7874c48495b1e6e14b0355590862c636124.png)

---

<div class="post-metadata">

**Author:** ![FengLiu](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@FengLiu](https://forum.cmascenter.org/u/FengLiu)\
**Post date:** [March 1, 2022, 12:01am UTC](https://forum.cmascenter.org/t/cctm-output-is-all-0-after-running-cmaq/3069/2 "2022-03-01T00:01:53Z")

</div>

Hi,

Your target region is labeled as CC in your isam\_control.txt file, however, I did not find it in your EmissCtrl\_cb6r3\_ae7\_aq.txt. This is why all concentrations are 0 because of no emissions from CC region that does not actually exist. You should define your region named CC and create data file for CC first if it is a specific self-defined region (nether a nation nor a state…), and then edit the line in EmissCtrl\_cb6r3\_ae7\_aq.txt immediate after

&RegionsRegistry  
RGN\_NML =  
! | Region Label | File\_Label | Variable on File  
“MYCC” ,‘ISAM\_REGIONS’ ,“CC”

in your isam\_control.txt file (for example)

TAG CLASSES |OZONE,  
TAG NAME |CC  
REGION(S) |MYCC  
EMIS STREAM(S) |AGL

I hope this helps.

Feng

---

<div class="post-metadata">

**Author:** ![hogrefe.christian](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hogrefe.christian](https://forum.cmascenter.org/u/hogrefe.christian)\
**Post date:** [March 1, 2022, 5:27pm UTC](https://forum.cmascenter.org/t/cctm-output-is-all-0-after-running-cmaq/3069/4 "2022-03-01T17:27:13Z")

</div>

At least two items in your GRIDMASK file seem incorrect:

- ~~the VAR-LIST attribute should list the variables as character\*16 strings, i.e. “CC HB JL” … etc., while your attribute is "CC HB JL SP SY "~~ I see now that this likely was a markdown issue, not an issue with your file. Apparently markdown removed those extra spaces following the variable names both in my comment and your copy of the file header, so probably you do see those required extra spaces when you ncdump the file on your system.

- The variables representing the region masks are expected to be float, not int by the ISAM code.

How did you create your GRIDMASK file? The header mentions M3MERGE ~~, but M3MERGE shouldn’t have created that type of VAR-LIST attribute~~. Did you do any editing / file manipulation after running that tool?

The discussion in the following threads suggests that you could try a combination of ncdump and ncgen to convert the variable type to float, but I don’t know if that approach tried by that user was successful. Maybe you could also try to reach out to them to see if they can share their experience:

[What’s the maskdata’s format?](https://forum.cmascenter.org/t/whats-the-maskdatas-format/2919)  
[How to make ISAM\_REGIONS file?](https://forum.cmascenter.org/t/how-to-make-isam-regions-file/2877)

---

<div class="post-metadata">

**Author:** ![FengLiu](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@FengLiu](https://forum.cmascenter.org/u/FengLiu)\
**Post date:** [March 1, 2022, 6:39pm UTC](https://forum.cmascenter.org/t/cctm-output-is-all-0-after-running-cmaq/3069/5 "2022-03-01T18:39:31Z")

</div>

Hello,

Yes, the variable in your region mask file should be in real format. You may straightforward use ncflint to convert them from integer to float or refer to Cristian’s suggestion, and see if your CMAQ/ISAM works.

Try to use m3fake instead of t3mask in t3tool, please refer to

[https://forum.cmascenter.org/t/error-creating-gridmask](https://forum.cmascenter.org/t/error-creating-gridmask)

BTW, I created my mask files using ArcGIS and ncgen.

Thanks.
