# Why CCTM\_B3GTS\_S has more than 24 hours inside

**URL:** <https://forum.cmascenter.org/t/why-cctm-b3gts-s-has-more-than-24-hours-inside/4727>\
**Category:** CMAQ\
**Tags:** emissions\
**Created:** [February 20, 2024, 10:11pm UTC](https://forum.cmascenter.org/t/why-cctm-b3gts-s-has-more-than-24-hours-inside/4727 "2024-02-20T22:11:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiarash\_farzad](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/kiarash_farzad/32/3371_2.png) [@kiarash\_farzad](https://forum.cmascenter.org/u/kiarash_farzad)\
**Post date:** [February 20, 2024, 10:11pm UTC](https://forum.cmascenter.org/t/why-cctm-b3gts-s-has-more-than-24-hours-inside/4727/1 "2024-02-20T22:11:35Z")

</div>

Hi,

I have been running CMAQv5.3.1 and CMAQv5.4.  
In the biogenic diagnostic files from CMAQv5.3.1 I get consistent 24 hours per file. Yet in the CMAQv5.4 I am getting files that have 25 hours to 27 hours. I was wondering why this is happening in CMAQv5.4.

Thanks,  
Kiarash

---

<div class="post-metadata">

**Author:** ![Ben\_Murphy](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@Ben\_Murphy](https://forum.cmascenter.org/u/Ben_Murphy)\
**Post date:** [February 21, 2024, 2:50pm UTC](https://forum.cmascenter.org/t/why-cctm-b3gts-s-has-more-than-24-hours-inside/4727/2 "2024-02-21T14:50:55Z")

</div>

Hi Kiarash,

Thank you for submitting this issue. We have investigated the problem and believe we have a working fix. In tmpbeis.F, try changing the following lines:

```auto
      WSTEP = WSTEP + TIME2SEC( TSTEP( 2 ) )
      LASTTIC = ( WSTEP .GE. TIME2SEC( TSTEP( 1 ) ) )

      IF ( BEMIS_DIAG ) THEN
         DO K = 1, NSEF
            DO S = 1, MSPCS

```

to

```auto
      IF ( BEMIS_DIAG .AND. .NOT. L_DESID_DIAG ) THEN
         WSTEP = WSTEP + TIME2SEC( TSTEP( 2 ) )
         LASTTIC = ( WSTEP .GE. TIME2SEC( TSTEP( 1 ) ) )

         DO K = 1, NSEF
            DO S = 1, MSPCS

```

Warm regards,  
Ben

---

<div class="post-metadata">

**Author:** ![kiarash\_farzad](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/kiarash_farzad/32/3371_2.png) [@kiarash\_farzad](https://forum.cmascenter.org/u/kiarash_farzad)\
**Post date:** [February 21, 2024, 7:44pm UTC](https://forum.cmascenter.org/t/why-cctm-b3gts-s-has-more-than-24-hours-inside/4727/4 "2024-02-21T19:44:26Z")

</div>

Ben,

I would like to thank you for your time and the solution. I applied the suggestion and I can confirm that the problem is fixed.

Best,  
Kiarash
