Personal tools
You are here: Home Frequently Asked Questions CREME96 File Formats

CREME96 File Formats

Can I use my own flux spectra? What is the file format?

The following are my descriptions of the main input files. The FORTRAN
code is extremely picky about the formatting. Your best bet is to
generate and download a few files to compare to. Getting the spaces
correct and lining characters up in the proper column is crucial.

- Brian Sierawski

================================
The .trp files are formatted as:

[NUMCOMMENTS] [FILENAME] [VER] [PROGRAM]
%[COMMENTS]
%[COMMENTS]
...
[E1] [E2] [M] [Z1] [Z2] [TARGET] [YR] [NE] [VER] [PROGRAM]

The first five are needed to interpret the file and the remaining
parameters describe inputs to the module. E1 is the starting energy in
MeV/nuc, E2 is the ending energy, M is the number of bins, Z1 is the
starting element, and Z2 is the ending element.

TARGET is typically 'UNSHIELDED', YR is 1964.000 if AP8MIN or 1970.000
if AP8MAX was used, NE is '29', VER is '210' and PROGRAM is '1'.

Following the header are the flux values in (m^-1-s-sr-MeV/nuc)^-1 in
row-major order.

================================
The .flx files are formatted as:

[NUMCOMMENTS] [FILENAME] [VER] [PROGRAM]
%[COMMENTS]
%[COMMENTS]
...
[E1] [E2] [M] [Z1] [Z2] [TARGET] [YR] [IMODE] [ITRANS] [VER] [PROGRAM]

In these files, IMODE describes the solar conditions, 0 solar quiet, 1
worst day, 2 worst-week, other is peak 5min. ITRANS describes the
location, 0 GEO, 1 inside magnetosphere. VER is '210' and PROGRAM is
'1'.

Following the header are the flux values in row-major order for the
first element followed by a new-line and then the flux values for the
next elements, and so on.

================================
The .let files are formatted as:

[NUMCOMMENTS] [FILENAME] [VER] [PROGRAM]
%[COMMENTS]
%[COMMENTS]
...
[L1] [L2] [M] [Z1] [Z2] [MAT] [VER] [PROGRAM]

In these files, L1 is the starting LET in MeV-cm^2/g, L2 is the ending
LET, MAT is 'SILICON', VER is '210' and PROGRAM is '1'.

Following the header are the flux values in row-major order in
(m^2-s-sr)^-1.

Document Actions