# Question About Running a One-Month CMAQ Simulation with Continuous Time Steps vs. Daily Runs

**URL:** <https://forum.cmascenter.org/t/question-about-running-a-one-month-cmaq-simulation-with-continuous-time-steps-vs-daily-runs/5689>\
**Category:** CMAQ\
**Created:** [March 26, 2025, 3:30pm UTC](https://forum.cmascenter.org/t/question-about-running-a-one-month-cmaq-simulation-with-continuous-time-steps-vs-daily-runs/5689 "2025-03-26T15:30:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yan2024](https://avatars.discourse-cdn.com/v4/letter/y/59ef9b/32.png) [@yan2024](https://forum.cmascenter.org/u/yan2024)\
**Post date:** [March 26, 2025, 3:30pm UTC](https://forum.cmascenter.org/t/question-about-running-a-one-month-cmaq-simulation-with-continuous-time-steps-vs-daily-runs/5689/1 "2025-03-26T15:30:15Z")

</div>

Hi teachers,

I ran a one-month simulation using CMAQ. My MCIP output and the emissions files processed and merged from different sources using SMOKE (each source has only one output file with 745 time steps) all correspond to the full month. In the CCTM script, I directly set NSTEPS to 745 (representing 31 days) and ran the model once to get the results.

Is this approach valid? Would the output be significantly different compared to setting NSTEPS to 24 and running the model day by day, reading daily emission files sequentially?

Here are parts of my CCTM script:

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/4/41bc1b494a58727701dea3ca7c49124cff174111.png)

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

---

<div class="post-metadata">

**Author:** ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)\
**Post date:** [March 26, 2025, 4:08pm UTC](https://forum.cmascenter.org/t/question-about-running-a-one-month-cmaq-simulation-with-continuous-time-steps-vs-daily-runs/5689/2 "2025-03-26T16:08:54Z")

</div>

Presuming you did the merges correctly, it should (if anything) be **more** valid than running a full month of single-day runs and then merging the result: doing it all as one run ensures that you do not have any artifacts coming from (and you have avoided the complexities of) the restart procedure.

Being able to do whole-month, whole-season, or even whole-year runs was one of the original software-systems requirements for the CMAQ system; that seems to have been “torn up” by a combination of (a) disk-space requirements; (b) foundation-file database-programmers who insist on “doing things their way”; and (c) analysis&visualization programmers who insist in only doing “easy” in-memory algorithms (again contrary to the original requirements). Note that none of the _M3Tools_ analysis programs has any difficulty working with “long” files; in fact, I have used them successfully on (7TB) 33-year hydrology-model runs. For what it’s worth, none of these DB nor A&V people even take advantage of the I/O API [File-Set File Lists](https://cjcoats.github.io/ioapi/BUFFERED.html#list) feature.

---

<div class="post-metadata">

**Author:** ![yan2024](https://avatars.discourse-cdn.com/v4/letter/y/59ef9b/32.png) [@yan2024](https://forum.cmascenter.org/u/yan2024)\
**Post date:** [March 28, 2025, 3:15pm UTC](https://forum.cmascenter.org/t/question-about-running-a-one-month-cmaq-simulation-with-continuous-time-steps-vs-daily-runs/5689/3 "2025-03-28T15:15:29Z")

</div>

Thank you very much for the insights. It’s truly impressive to hear about your experience with long runs and how M3Tools can handle them so effectively. I really appreciate your time and guidance.

However, I’m not sure if there might have been a misunderstanding on my part — perhaps I didn’t explain it clearly.

What I meant by “single-day runs” is that in the CCTM script, the START\_DATE and END\_DATE are still set to the same day, but I set NSTEPS to 24 hours instead of 720 (which would correspond to a full month). The idea is that the model will loop through the emission files in the specified path, with one file per day, but still as part of a single run — at least that’s what I assume (I haven’t tested it yet).

Since I’m still not very familiar with the source code, I wanted to ask: in this case, would it be functionally equivalent to combining all time steps into a single emissions file and setting NSTEPS to 720? After all, I’m not running the CCTM script multiple times — it’s still a single run.

---

<div class="post-metadata">

**Author:** ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)\
**Post date:** [March 28, 2025, 3:28pm UTC](https://forum.cmascenter.org/t/question-about-running-a-one-month-cmaq-simulation-with-continuous-time-steps-vs-daily-runs/5689/4 "2025-03-28T15:28:06Z")

</div>

I was talking about the CCTM itself, not the scripting; sorry if I did not make that clear.

As far as the model itself is concerned, the only issue would be with the repeated single-day runs, whether there are bugs or deficiencies in the process of writing restart data for day N and then reading it to start day N+1.

(Note that this actually **is** an issue with the DDM version of the model, where the sensitivity state variables are double precision whereas (iirc) the restart-file variables are single precision, so that a restart from day N to day N+1 involves a loss of precision.)

---

<div class="post-metadata">

**Author:** ![yan2024](https://avatars.discourse-cdn.com/v4/letter/y/59ef9b/32.png) [@yan2024](https://forum.cmascenter.org/u/yan2024)\
**Post date:** [April 1, 2025, 1:02am UTC](https://forum.cmascenter.org/t/question-about-running-a-one-month-cmaq-simulation-with-continuous-time-steps-vs-daily-runs/5689/5 "2025-04-01T01:02:16Z")

</div>

Thank you so much for sharing your valuable insights. I truly learned a lot from your perspective and greatly appreciate the time and thought you put into the discussion. I hope I’ll have the opportunity to learn from you again in the future.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/9a72c78e529465c3f1053af404e3033b0875428c.png) [@system](https://forum.cmascenter.org/u/system)\
**Post date:** [April 8, 2025, 1:02am UTC](https://forum.cmascenter.org/t/question-about-running-a-one-month-cmaq-simulation-with-continuous-time-steps-vs-daily-runs/5689/6 "2025-04-08T01:02:22Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
