SUBHIT | ![]() | ![]() |
Latest: SUBHIT v2.00 (27NOV18) [Fortran] [Python] | 05FEB25 |
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
which will create the executable: subhitgfortran subhit.f90 -o subhit
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
(
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.parsubhit R-SUBHIT: Running SUBHIT v2.00 Input HITRAN file:HITRAN2012.par Wavenumber range (cm-1) [<CR>=all]:800 900 [1] List of Molec# to include:<CR> [2] List of Molec# to exclude:<CR> [3] Output HITRAN subset file:example.par I-SUBHIT: Record# 100000 Wavenumber= 829.368699 I-SUBHIT: Record# 200000 Wavenumber= 840.987280 I-SUBHIT: Record# 300000 Wavenumber= 850.284961 I-SUBHIT: Record# 400000 Wavenumber= 859.502340 I-SUBHIT: Record# 500000 Wavenumber= 874.569640 I-SUBHIT: Record# 600000 Wavenumber= 897.545360 I-SUBHIT: Number of records written = 609653 STOP R-SUBHIT: Successful completion
subhit R-SUBHIT: Running SUBHIT v2.00 Input HITRAN file:HITRAN2012.par Wavenumber range (cm-1) [<CR>=all]:<CR> List of Molec# to include:2.9 2.10 2.11 2.12 Output HITRAN subset file:co2_iso.par I-SUBHIT: Number of records written = 15125 STOP R-SUBHIT: Successful completion
Notes