SUBHIT |
|
|
| Latest: SUBHIT v27NOV18 [Fortran] v07APR26 [Python] | 20APR26 | |
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.
The Python code can be run interactively, as with the Fortran,
or called as a function with inputs set by arguments.
See comments (under Usage) at the top of the code.
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, download the source:
[subhit.py]
(which also uses the standard numpy package)
which will create the executable: subhit
Running SUBHIT
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