SUBHIT | ||
Latest: SUBHIT v2.00 (27NOV18) [Fortran] [Python] | 01JUL24 |
For example, this could be useful for merging different molecules from
different datasets, starting with this program to extract particular molecules
and then using
the MRGHIT program to reassemble subsets.
For Fortran,
download the source code: [subhit.f90]
Then compile with any generic Fortran compiler, eg
To run the Fortran program, type subhit (or you might need
./subhit) and respond to the prompts.
A typical run just to extract a spectral subset (all molecules) in
range 800–900 cm-1 from
a file HITRAN2012.par and write it as a file
example.par might be
(
Notes
Introduction
Installing SUBHIT
For Python, just download the source:
[subhit.py]
which will create the executable: subhit
Running SUBHIT
To run the Python code, assuming you have Python installed,
type python subhit.py and respond to the prompts (the dialogue
is similar to the Fortran version as listed below).
A second example uses the program to extract just CO2 isotopes
#9,10,11 and 12 (727, 838, 837 and 737), and write these to a file
co2_iso.par
Typing <CR> means that you don't want to specify a list.
Version History