NCAR / music-box

A box/column model using MICM chemistry
Apache License 2.0
14 stars 8 forks source link

Incorrect output behavior when date of simulation is specified (such as in camp_examples) #121

Open jcurtis2 opened 1 year ago

jcurtis2 commented 1 year ago

In the case when running /examples/camp_examples/bright_chamber/use_case_7 and /examples/camp_examples/bright_chamber/use_case_8, if simulation start is specified for a simulation (year, month, day, hour), the model results in output.csv are output every time step as the following is true:

https://github.com/NCAR/music-box/blob/a5222a191952bf330901e6ec1e71d01d810dfe2f/src/music_box_core.F90#L541

where simulation_time__s in that example is 63727390800.000000 (which is seconds since 01/01/0001 00:00:00 UTC) and this%next_output_time__s_ is initially 0 (and will be incremented by the this%output_time_step__s_ every time output is done (which is of course every time step in this example))