Skip to content

Preprocessor for generating absorption cross sections for the Fast-J photolysis mechanism. Adapted by Louis Marelle from the Fast-JX routine of Michael J. Prather.

Notifications You must be signed in to change notification settings

lmarelle/FastJ-preprocessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Last updated by Louis Marelle, 2022/01/25
#
# M. J. Prather's code performing cross section calculations for Fast-JX input,
# adapted by L. Marelle for the WRF-Chem model's Fast-J module
#
Base code downloaded from
ftp://128.200.14.8/public/prather/Fast-J_&_Cloud-J/UCI_fastJX68_addX.zip
I adapted the code to use it with Fast-J instead of Fast-JX.

- To run for a different species, retrieve the cross-section data on e.g. IUPAC:
  http://iupac.pole-ether.fr/, or JPL
- Copy the data to X<species_name>_<temperature_in_K>K_IUPACtbl.dat In this file,
  modify the integer value at the top, indicating the number of data lines, in
  order to match the number of lines just added.
- In addX_FJ.f, update the X<species_name>_<temperature_in_K>K_IUPACtbl.dat
  filename, the temperature, and the species name to match what is in the IUPAC
  file.

To then compile the code with gfortran:
gfortran addX_FJ.f -o addX_FJ.exe

To run:
./addX_FJ.exe

About

Preprocessor for generating absorption cross sections for the Fast-J photolysis mechanism. Adapted by Louis Marelle from the Fast-JX routine of Michael J. Prather.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published