HITBIN | ||
Latest: HITBIN v3.02 (23NOV18) [Download] | 07MAY24 |
Although the RFM (v5.0 onwards) can read the .par files directly, reading a direct access binary file is faster, and also allows the selection of indvidual vibrational transitions and non-LTE calculations (both of which require encoding the 15-character 'Global Quantum Number' in the .par file as a single integer as part of the conversion to the binary file).
It is assumed that the user has already obtained a copy of HITRAN line data (www.hitran.org), or other line data in the same format.
The current version (v3.02) of
This page contains the essentials on
installing and
running
Download the source code: [hitbin.f90]
Then compile with any Fortran compiler, eg
It is recommended that you also download the file
[vibh20.txt] and place it in the
same directory.
A typical run might be
(
Notes
Since HITRAN2016 it has also been possible to extract data from the HITRAN database
in any user-defined format. These can be used directly by the RFM but not as
binary files:
These are awkward to specify in the RFM driver table (i.e. require a lot of text)
so, instead,
the RFM uses integer
indices corresponding
to each level.
Index value '1' always corresponds
to the ground-state, but other values depend on the type of molecule.
(Actually this is
inherited from an even older HITRAN format).
Installing HITBIN
Running HITBIN
To run the program, type hitbin and respond to the prompts.
The program takes a some tens of minutes to complete.
Forward Pointers
To help the RFM with navigation,
HITRAN Data Formats
Since 2004 the HITRAN line data is provided in a fixed format of 160-character
records (see HITRAN
web-page). Prior to 2004 there was a different format with 100-character
records. The Vibrational Levels
The HITRAN format uses 15-character fields containing spectroscopic
notation to identify the upper and lower vibrational levels of each transition
(eg ' 0 0 0' for the ground state of
non-linear triatomic molecules, where each 0 corresponds to one of the three
vibrational modes possible for triatomic molecules, also designated
ν1,
ν2,
ν3 ).
There are two situations where the RFM requires vibrational level identification:
While the file vibh20.txt
contains all the vibrational levels found in
HITRAN 2016, if an unexpected vibrational level is found (eg in a future
version of HITRAN, or particularly when using the HITEMP version of
HITRAN which contains many additional vibrational levels) it is assigned
a value of '0' and a warning message printed to the terminal.
This doesn't affect the normal RFM calculation, only the user's ability to
select a particular transition.
Rotational Levels
The rotational level identification is also contained in two
15-character fields in
the .par file.
The only time the RFM makes use of this information is when CO2 line-mixing is enabled (MIX flag), and that only requires the lower rotational state.
Rather than modify the binary file format (which contains 9 characters
for the rotational ID in keeping with the old, pre-2004 HITRAN format),
Version History