HITRAN库中文件将数据保存时,有些是字符串,有些字段间没有任何分隔,对于数据的使用造成不便。ExtractHitPar可以将HITRAN库中的每种分子文件,提取出其中的M,I,nu,S,n_air,gamma_air等列。
原文件:
73 0.000001 8.513E-51 3.256E-35.0352.0345 1470.18720.710.000000 X 0 X 0 30.5 Q 32Q 32 29.5d00400030 9 3 0 0 0 183.0 180.0
71 0.000001 2.430E-49 4.391E-32.0326.0320 4383.25070.710.000000 X 0 X 0 Q 55Q 55 d60100030 9 3 0 0 0 333.0 333.0
71 0.000001 5.004E-50 4.093E-32.0326.0320 4701.18550.710.000000 X 0 X 0 Q 57Q 57 d60100030 9 3 0 0 0 345.0 345.0
71 0.000001 9.808E-51 3.831E-32.0326.0320 5029.85400.710.000000 X 0 X 0 Q 59Q 59 d60100030 9 3 0 0 0 357.0 357.0
71 0.000001 5.013E-48 5.196E-32.0326.0320 3779.79040.710.000000 X 0 X 0 Q 51Q 51 d60100030 9 3 0 0 0 309.0 309.0
71 0.000001 1.127E-48 4.747E-32.0326.0320 4076.10210.710.000000 X 0 X 0 Q 53Q 53 d60100030 9 3 0 0 0 321.0 321.0
73 0.000001 3.140E-49 8.068E-34.0356.0349 1381.48360.710.000000 X 0 X 0 29.5 Q 31Q 31 28.5d00400030 9 3 0 0 0 177.0 174.0
73 0.000001 3.684E-50 2.198E-34.0347.0340 1561.62370.710.000000 X 0 X 0 30.5 Q 33Q 33 31.5d00400030 9 3 0 0 0 183.0 192.0
71 0.000002 4.258E-43 3.532E-31.0347.0340 1608.07130.710.000000 X 0 X 0 Q 33Q 33 d60400030 9 3 0 0 0 201.0 201.0
71 0.000002 8.560E-47 1.265E-31.0326.0320 3219.87030.710.000000 X 0 X 0 Q 47Q 47 d60100030 9 3 0 0 0 285.0 285.0
71 0.000002 3.308E-46 1.418E-31.0326.0320 2956.35400.710.000000 X 0 X 0 Q 45Q 45 d60100030 9 3 0 0 0 273.0 273.0
71 0.000002 3.288E-42 5.387E-31.0365.0358 1248.20440.710.000000 X 0 X 0 Q 29Q 29 d60400030 9 3 0 0 0 177.0 177.0
提取后文件(序号,M,I,nu,S,A,gamma_air, n_air)为:
1 7 3 0.000001 0.000E+00 0.326E-34 0.0352 0.71
2 7 1 0.000001 0.000E+00 0.439E-31 0.0326 0.71
3 7 1 0.000001 0.000E+00 0.409E-31 0.0326 0.71
4 7 1 0.000001 0.000E+00 0.383E-31 0.0326 0.71
5 7 1 0.000001 0.000E+00 0.520E-31 0.0326 0.71
6 7 1 0.000001 0.000E+00 0.475E-31 0.0326 0.71
7 7 3 0.000001 0.000E+00 0.807E-33 0.0356 0.71
8 7 3 0.000001 0.000E+00 0.220E-33 0.0347 0.71
9 7 1 0.000002 0.426E-42 0.353E-30 0.0347 0.71
10 7 1 0.000002 0.000E+00 0.127E-30 0.0326 0.71
11 7 1 0.000002 0.000E+00 0.142E-30 0.0326 0.71
12 7 1 0.000002 0.329E-41 0.539E-30 0.0365 0.71
下载地址:http://sdrv.ms/18synVx
https://blog.sciencenet.cn/blog-43777-318948.html
上一篇:
操作office的类CWzjOffice 3.0及其功能自改进方法下一篇:
基于DLL形式VC调用MATLAB函数方法