fwrite: multiple variables, levels, and times

refer here

Some data has multiple 20 levels, so it make me suffer from saving data.

But, the solution was just adding one line in *.gs script.

Let’s go!

<in test.gs>

*******************************************************

 

‘set fwrite output.gdat’

‘set gxout fwrite’

‘set t 1 10’

level=1

while (level=20)

level=level+1

endwhile

‘d var’

*******************************************************

And remember write levels in your ctl as:

var 20 0 description of variable

 

So, Simple 🙂