There is not a way currently to automatically do this.
If you need to, you may simply disregard the points in the trajectory after it reaches the ground.
The tractory output files are ascii files.
There are good reasons NOT to end a trajectory once it has intersected the ground.
The trajectory is generally seen as representing the movement of an air mass and the air mass does
not stop when it "intersects" the ground and not all the material in the air mass would be deposited at that point either.
I suggest reading sections 4-6 of the tutorial.
https://www.ready.noaa.gov/documents/Tu ... basic.html
Also some points from a FAQ
● A trajectory represents the “centerline” of a dispersion
● Can be run forward or backward
○ Forward trajectories tell you where the air will go
○ Backward trajectories tell you where the air came from
● Back-trajectories are commonly used to help interpret air pollution measurements
○ Where did the air come from corresponding to any given sample time?
○ Where did the air come from when the concentrations of the pollutant were high?
○ Where did the air come from when the concentrations were low?
What height(s) should you start a trajectory at?
● Should you start it at the height of your sampler, e.g., 2 meters above the ground?
● Not recommended, as the trajectory can then easily hit the ground and lose accuracy
● If only starting at one height, then a good choice might be “1⁄2 of the height of the planetary
boundary layer (PBL)” (aka mixed layer).
● This choice reflects the idea that what you are seeing at your sampler is the average
concentration of pollutant in the well-mixed boundary layer.
● To use this option, you must use the Advanced menu in the GUI (or a SETUP.CFG file in
command line or script execution)
If you think that your application really needs this capability, we would be interested in hearing more about it.