Page 1 of 1

how to obatin running data

Posted: March 20th, 2023, 3:53 am
by yuan
I have successfully run the concentration model. Is there a way to obtain the resulting data (e.g. diffusion duration and particle arrival height) in TXT format instead of displaying the figure?

Re: how to obatin running data

Posted: March 23rd, 2023, 10:10 am
by alicec
The concentration output files are binary files and their format is described here.
https://www.ready.noaa.gov/hysplitusersguide/S363.htm
HYSPLIT distribution comes with a con2asc utility which will convert these files into ascii text files.
There are some other utilities such ash xtrct_stn and con2stn which will extract time series of concentrations or concentrations at specific locations.
https://www.ready.noaa.gov/hysplitusersguide/util.htm

There is a pretty active HYSPLIT community that uses R. So there is quite a lot of R code available for running HYSPLIT and reading output files.
splitR is one popular package.
https://github.com/rich-iannone/splitr

There is also some python code which will read the concentrations files into an xarray DataSet.
https://github.com/noaa-oar-arl/monetio ... tio/models

Re: how to obatin running data

Posted: March 23rd, 2023, 9:29 pm
by yuan
Thanks for youer reply! It helps a lot!