0 votes
in AEM3D by [email protected] (230 points)
Hi - I am running simulations with large numbers of drifters. If I write data for all drifters to a single file, this file ends up rather large and difficult to work with.

I could write the output for each drifter to a separate file using

 <filename>drifter1.nc</filename>

  <drifterNumber>1</drifterNumber>

But with several thousand drifters, that's a lot of files!

Is there a way to write multiple drifters to files, or is it a choice between everything in one file, or everything in a separate file?

I tried   <drifterNumber>1:1000</drifterNumber> but get an error message that 1:1000 is not a number.

Thanks

1 Answer

0 votes
by [email protected] (20.5k points)

From page 135 of the user maual

To specify the output of a drfiter file the Drifter section is used. More than one Drifter section can be given to output drifter data to different files. The Drifter section must contain the filename tag which gives the name of the unf file and either a <outputAll>true</outputAll> line or one or more drifterNumber tags. The drifterNumber tags give the drifter to output (1-ndrifters). 

Welcome to Hydronumerics Q&A, where you can ask questions and receive answers about the software we develop and distribute

Categories

Hydronumerics

  • Hydronumerics Pty Ltd, PO Box 103 Brunswick West Victoria 3055
  • +61 (0) 400 750 980 | +61 (0) 400 994 064
  • [email protected]
  • Twitter
...