Adding new photolysis data

Hi there,
I am trying to add Br2 photolysis to UKCA and had made some progress with the help from James Weber. However, one thing I am unsure is how to set up the correct path to the updated file needed by FastJX. Usually, the file (FJX_spec_Nov11.dat ) containing the crosssection data was under $UMDIR/vn12.2/ctldata/UKCA/fastj/. But I could not directly edit this file to add the new Br2 data, thus I have to copy this file to a location in my diectory on ACHER2:
jvspec_file=‘/home/n02/n02/emxin/jBr2/FJX_spec_Nov11.dat’

However, when I run the suite u-dr420, I got error message showing that the file not found:
Error from routine: FASTJX_INPHOT
? Error message: //home/n02/n02/emxin/jBr2/FJX_spec_Nov11.dat: Fast-JX spectral file does not exist

Could you please let me know how to solve this problem? Thanks!

Best,
Xin

Try putting the file on the /work file system. Compute nodes can not see /home.

Grenville

Thank you, Grenville. Now I copied the file to //work/n02/n02/emxin/jBr2/FJX_spec_Nov11.dat and added x-section to it. The model could open it, but stopped with new error message on the format:
ib-4190 : UNRECOVERABLE library error
A numeric input field contains an invalid character.
Encountered during a sequential formatted READ from unit 14
Fortran unit 14 is connected to a sequential formatted text file:
“//work/n02/n02/emxin/jBr2/FJX_spec_Nov11.dat”
Current format: (a7,f3.0,6e10.3/(10x,6e10.3)/(10x,6e10.3))

I am not sure how to check if the format I used for the added data is correct or not, though I think I followed the format used for others.

Best,
Xin

I think there needs to be a “0” at the end of this line:

so3 300 0.000E+00 0.000E+00 0.000E+00 0.000E+00 0.000E+00 0.000E+00
0.000E+00 0.000E+00 0.000E+00 0.000E+00 0.000E+00 0.000E+00
0.000E+00 0.000E+00 0.000E+00 0.000E+00 0.000E+00 0.000E+00