Skip to content

Save multiple files from a loop #1201

Answered by AndresSepulveda
N1coleR asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Just a suggestion

You can do a loop only for the seeding and set

o.set_config('drift:max_age_seconds',612000) # 5243600

to limit the drifting time of each particle. That way all particles can be stored in a single file.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@N1coleR
Comment options

Answer selected by N1coleR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants