MRGHIT | ||
Latest: MRGHIT v2.01 (20MAR20) [Download] | 29MAR24 |
The tricky part is identifying and avoiding duplicating lines which are common to both datasets but not necessarily at identical wavenumbers.
This program assumes that all
data from the second-named file will be used, and
any duplicate lines the first-named file removed, without
any distinction between molecules. So, for example, you can't use it
to replace just
the ozone data in HITRAN 2012 with the ozone from HITRAN 2016
(if you wanted to do this you could first run
SUBHIT
to extract the ozone data from HITRAN 2016, then use
Installing MRGHIT
Download the source code: [mrghit.f90]
Compile with any generic Fortran compiler, eg
gfortran mrghit.f90 -o mrghit
which will create the executable mrghit
A typical run might be
(
Notes
Running MRGHIT
To run the program, type mrghit and respond to the prompts.
The program takes a few minutes to complete.
Duplicate Lines
Within
Code Switches
Under 'GLOBAL CONSTANTS' near the top of
mrghit.f90 are three logical
switches which the user can alter to change the performance of the code.
Internal Duplicate Checks
You may be wondering (a) why this is set to .FALSE. in the supplied code, and/or (b) what would happen if you ran this test with the HITRAN 2012 database.
The answer to (b) is that it identifies and rejects 43 lines as duplicates,
the first of which
is for molecule 23 (HCN) where it finds a pair of lines with identical
vib/rot levels at 2.971603 and 2.971652 cm-1 (although different
line strengths). Now, I have no idea whether this is an error or there really
are two such distinct lines, but I'm giving the benefit of the doubt to the
HITRAN compilers, which answers (a).
Version History