MAKXSC | ||
Latest: MAKXSC v2.00 (19JUN19) [Fortran], v15MAY24 [Python] | 24SEP24 |
This assumes that the user supplies a free-format file consisting of just a set of numbers representing the absorption cross-section values [cm2/molec] on a regularly spaced wavenumber grid. Other inputs are via the terminal.
For the RFM, this can also be used to format aerosol extinction data [km-1] as an .xsc file.
Compile with any Fortran compiler, eg
A typical run might be
(
Notes
Also, apart from the C*20 molecule name, the header contains space for
a C*15 'common name' of the molecule, but this program just duplicates the
first 15 characters of the molecule name.
(aerosol)
Installing MAKXSC
which will create the executable makxsc.
Running MAKXSC
To run the Fortran program, type makxsc and respond to the prompts.
(For python just run as you would any self-contained python program
depending on your local set-up, eg python3 makxsc.py)
The program run almost instantaneously.
Note that there are a couple of additional fields in the .xsc file
header which are
set to fixed values by this program: the broadener is always set as 'air' and
the reference as '99' (it should be straightforward to edit the code to change
these).
Example
In the above example, the input data
(aerosol.dat)
file was as follows
and the program created the following output file
(aerosol.xsc) (you might need to stretch your browser window until
the 100-character records appear as single lines)
Version History