open-atmos / PyPartMC

Python (and C++) interface to PartMC with Jupyter/Python, Julia and Matlab examples
https://open-atmos.github.io/PyPartMC/
GNU General Public License v3.0
22 stars 9 forks source link

Fix netcdf output bug for timestep and timeblock. closes #257 #333

Closed jcurtis2 closed 9 months ago

jcurtis2 commented 9 months ago

This will fix #257 by passing and updating last_output_time and i_output for run_part_timestep and run_part_timeblock. Also adds outputting of initial condition when elapsed_time = 0 and output is enabled (t_output > 0).