geodynamics / sw4

SW4 (Seismic Waves, 4th order) implements substantial capabilities for 3-D seismic modeling, with a free surface condition on the top boundary, absorbing super-grid conditions on the far-field boundaries, and an arbitrary number of point force and/or point moment tensor source terms.
Other
126 stars 65 forks source link

writeEvery option doesn't work #212

Open youngkyu-kim opened 4 months ago

youngkyu-kim commented 4 months ago

The number of time steps is 690. Screenshot 2024-04-26 at 11 22 57 PM

I used rec command with writeEvery=2 option like below. rec x=3.0e3 y=3.0e3 z=0 file=x3p0_y3p0 sta=x3p0_y3p0 variables=displacement writeEvery=2

But I got output values at every time step regardless of writeEvery option. Screenshot 2024-04-26 at 11 29 55 PM

houjun commented 4 months ago

Hi @youngkyu-kim writeEvery controls how frequently the data is flushed to the file, it does not down sample the data. The rechdf5 command supports down sampling in time, see User Guide for the details.