Skip to content

Instantly share code, notes, and snippets.

@musinsky

musinsky/Makefile

Created Sep 6, 2013
Embed
What would you like to do?
fortran convert ascii from/to binary
program ascii2bin
dimension a(1000)
open(1,file='dub57.asc',status='OLD',iostat=ios1)
if (ios1 .gt. 0) then
print *,'iostat = ',ios1
stop 1
endif
open(2,file='dub57.bin',form='UNFORMATTED',status='REPLACE')
nev=0
100 read(1,*,end=200,err=300) nw,(a(i),i=1,nw)
if (nw .gt. 1000) then
print *,'skip event ',nev
goto 100
endif
write(2,err=300) nw,(a(i),i=1,nw)
nev=nev+1
goto 100
300 continue
print *,'error problem'
200 continue
print *,'end of file'
print *,'total events = ',nev
close(1)
close(2)
stop
end
program bin2ascii
dimension a(1000)
open(1,file='dub57.bin',form='UNFORMATTED',status='OLD',
+ iostat=ios1)
if (ios1 .gt. 0) then
print *,'iostat = ',ios1
stop 1
endif
open(2,file='dub57.asc',status='REPLACE')
nev=0
100 read(1,end=200,err=300) nw,(a(i),i=1,nw)
if (nw .gt. 1000) then
print *,'skip event ',nev
goto 100
endif
write(2,*,err=300) nw,(a(i),i=1,nw)
nev=nev+1
goto 100
300 continue
print *,'error problem'
200 continue
print *,'end of file'
print *,'total events = ',nev
close(1)
close(2)
stop
end
30   800100.000       400.000000      -2.64700007      -3.70499992      -16.7700005       38.5999985      -1.19000003E-02   3.17199993       1.88699996       8033.00000      0.888100028      -9.16000009E-02  0.818099976       2.16000006E-02   1027.00000       2.75000000      -1.31000001E-02   8.02000016E-02   3.70000005E-02   11060.0000       33.7599983       1.36000002E-02   3.05000003E-02  0.709999979       6056.00000       1.66600001      0.334300011       6.13299990       2.52999999E-02   11040.0000
25   800200.000       301.000000       11.5500002      -1.42999995      -17.8299999       47.8400002      -2.00000009E-03   3.17000008       1.48399997       8047.00000       12.7500000      -7.69999996E-03   4.21000011E-02  0.502499998       2043.00000       29.1800003      -6.30000001E-03   2.93000005E-02   4.81799984       6018.00000      0.217600003       1.17799997       5.10099983       4.36000004E-02   1005.00000
35   800200.000       500.000000      -1.02600002      -1.39900005      -16.2999992       49.6199989      -7.79999979E-03   3.18499994       2.83299994       8034.00000       0.00000000       0.00000000       0.00000000       0.00000000       11000.0000      0.714999974     -0.264800012      0.203199998       8.50000046E-03   10050.0000       2.45000005      0.165299997      0.187700003       3.39000002E-02   11050.0000       32.0699997       7.30000017E-03   4.91000004E-02  0.790499985       5055.00000       3.49499989      -3.08999997E-02   9.20000020E-03   5.57999983E-02   11060.0000
50   800300.000       811.000000       5.71500015       2.76799989      -15.6700001       51.7700005      -1.38999997E-02   3.17799997       2.48200011       8040.00000       1.81099999      0.254799992      0.191599995      0.405699998       11010.0000       3.05699992       6.17999993E-02  0.107900001       6.36999980E-02   11050.0000       2.89199996       1.30000003E-02   3.90999988E-02   5.46999983E-02   11050.0000       13.3000002       1.20000001E-02   3.88000011E-02  0.473800004       2047.00000       13.2900000       7.89999962E-03   3.79999988E-02  0.473300010       2046.00000       13.1999998       1.70000002E-03   3.70000005E-02  0.455700010       2046.00000       1.58800006     -0.324999988       5.88399982       3.29999998E-02   1037.00000      0.695999980      0.134700000      0.129800007       1.02000004E-02   9035.00000
40   800300.000       610.000000       3.20499992      0.869799972      -15.3299999       46.2400017      -9.20000020E-03   3.18000007       1.94099998       8038.00000      0.232500002     -0.515299976      0.498899996       4.19999985E-03   10030.0000       1.79499996     -0.107100002       2.81000007E-02   2.26000007E-02   11050.0000       36.9599991      -1.79999997E-03   3.05000003E-02  0.971499979       6050.00000       4.38000011      -2.69000009E-02   2.49000005E-02   8.91000032E-02   11050.0000       1.81900001      -5.00999987E-02   6.27099991       2.32999995E-02   11050.0000      0.561399996     -0.175500005       6.24499989       6.50000013E-03   9047.00000
30   800300.000       400.000000      -8.56799984      0.637899995      -13.2399998       45.5800018      -1.37999998E-02   3.19199991       5.14300013       8025.00000      0.489300013     -0.724399984       6.27899981       1.98999997E-02   1024.00000       3.59299994      -3.70000000E-03   5.90999983E-02   6.59999996E-02   11050.0000       47.5699997       1.94000006E-02   4.36999984E-02   1.28400004       6060.00000      0.300700009       1.16199994       6.26200008       2.99999993E-02   1014.00000
30   800300.000       401.000000      -10.5600004       9.36999992E-02  -16.9500008       43.8300018      -1.70000002E-03   3.18899989       4.07399988       8025.00000       6.65100002      -1.90000003E-03   5.71000017E-02  0.124399997       11060.0000       39.8600006       2.40000011E-03   5.11999987E-02   8.25599957       6021.00000       3.48699999       2.39000004E-02   6.28200006       4.56000008E-02   11060.0000      0.749899983     -0.107500002       6.13500023       8.99999961E-03   10050.0000
40   800300.000       600.000000       9.73099995       5.15500021      -18.1399994       55.8699989      -6.89999992E-03   3.17700005       2.06500006       8046.00000       3.03900003      -6.57000020E-02  0.216600001       9.73000005E-02   11030.0000       1.51900005     -0.289900005       5.92000000E-02   2.91000009E-02   11040.0000       22.9200001      -1.04000000E-02   4.56999987E-02  0.937900007       3045.00000       12.4799995       5.10000018E-03   3.73999998E-02  0.428700000       2044.00000       1.51999998      0.111100003       6.23600006       2.16000006E-02   11040.0000      0.514999986     -0.128399998       5.97300005       1.04000000E-02   1039.00000
40   800400.000       601.000000       14.1000004      0.315600008      -17.0499992       49.2400017      -6.80000009E-03   3.17100000       1.41700006       8050.00000       12.6899996       2.00000009E-03   4.60000001E-02  0.523800015       2040.00000       18.8099995       1.31999999E-02   4.47999984E-02  0.783999979       3040.00000       3.35200000       1.59000009E-02   1.05999997E-02  0.254999995       11020.0000       5.80200005      -1.27999997E-02   6.26999998      0.236900002       11040.0000       3.44499993      0.248600006       6.23600006       9.71999988E-02   11040.0000      0.175099999     -0.935199976       3.90100002       6.89999992E-03   10020.0000
25   800400.000       300.000000      -7.69099998      -1.06799996      -16.0300007       45.7099991      -4.60000010E-03   3.18499994       4.44299984       8027.00000       48.7599983       4.00000019E-03   4.61000018E-02   1.08200002       7060.00000      0.414200008     -0.560199976       5.85099983       1.61000006E-02   1022.00000      0.543200016      0.198799998       5.46099997       1.86999999E-02   10020.0000
55   800400.000       913.000000       17.9400005      0.551599979      -16.4300003       50.5000000      -8.99999961E-03   3.16799998       1.30799997       8053.00000       3.05500007       7.67000020E-02  0.211600006       8.52999985E-02   11040.0000       1000.00000       1.13000004E-02   5.26000001E-02   0.00000000       11010.0000       4.00299978       3.42000015E-02   4.19000015E-02  0.848599970       11020.0000       11.4200001      -4.69999993E-03   2.76999995E-02  0.537100017       2036.00000       15.4700003       4.49999981E-03   2.88999993E-02   1.92999995       2027.00000       2.26900005       7.30000017E-03   4.80000023E-03   5.20999990E-02   11040.0000       2.56100011      -2.61000004E-02   6.18100023       6.34000003E-02   11040.0000       2.21900010     -0.171399996       6.13899994       4.50999998E-02   11040.0000      0.476599991     -0.162100002       5.92500019       6.20000018E-03   9039.00000
25   800400.000       301.000000      -13.5799999      -1.52300000      -17.2399998       43.3600006      -6.30000001E-03   3.19400001       5.05600023       8022.00000      0.738399982     -0.591099977      0.697399974       2.45999992E-02   1024.00000       1.80100000      0.205400005       9.52000022E-02   1.95000004E-02   11070.0000       51.4900017       3.00000014E-04   4.98999991E-02   1.28299999       7057.00000
25   800500.000       301.000000       10.1999998       3.32100010      -14.7200003       52.1100006      -1.76999997E-02   3.17499995       1.83500004       8045.00000       60.2400017       8.00000038E-03   3.55999991E-02   23.0799999       7016.00000       3.35299993       2.19000001E-02   2.37000007E-02   9.57000032E-02   11040.0000      0.461299986      0.420899987       5.61199999       1.52000003E-02   1025.00000
50   800600.000       810.000000      -14.9700003       1.99199998      -15.7799997       46.2099991      -1.16999997E-02   3.19799995       6.98500013       8020.00000       2.19700003       5.71999997E-02  0.152400002       2.29000002E-02   11070.0000       4.82999992      0.143299997      0.119999997       6.97999969E-02   11070.0000       4.23199987      -2.26000007E-02   9.45999995E-02   5.44000007E-02   11070.0000       22.8700008       9.70000029E-03   5.75000010E-02  0.357899994       4068.00000       3.27900004       7.90000036E-02   6.28999993E-02   3.94000001E-02   11070.0000       6.98999977       5.00999987E-02   3.03000007E-02  0.127299994       11070.0000       2.45499992      -6.91000000E-02   6.16900015       2.81000007E-02   11060.0000      0.612299979     -0.363000005      0.152700007       8.79999995E-03   9039.00000
45   800700.000       702.000000       9.96599960       4.31199980      -17.3500004       53.0400009      -8.60000029E-03   3.17700005       1.90600002       8046.00000      0.515699983      -6.28999993E-02  0.400400013       7.30000017E-03   10030.0000       1000.00000      -3.84999998E-02   5.84999993E-02   0.00000000       3001.00000       2.53200006      0.151800007       8.59000012E-02   4.61999997E-02   11040.0000       5.26900005      -1.24000004E-02   4.28000018E-02  0.154100001       11040.0000       1000.00000     -0.238299996       6.25099993       0.00000000       11000.0000       0.00000000       0.00000000       0.00000000       0.00000000       11000.0000       2.90000010      -7.36000016E-02   6.19700003       5.49000017E-02   11050.0000
40   800700.000       601.000000       6.56300020       2.16000009      -16.6299992       49.7400017      -8.10000021E-03   3.17600012       1.95299995       8042.00000       1.61800003     -0.531700015       9.10999998E-02   5.77000007E-02   11030.0000       6.71700001      -3.70000000E-03   6.15000017E-02  0.229900002       11050.0000       19.5599995      -1.22999996E-02   4.85999994E-02  0.647800028       3047.00000       7.07600021      -3.19999992E-03   3.70999984E-02   1.55700004       11020.0000       12.8999996      -3.29999998E-03   2.89999992E-02  0.423599988       2047.00000       1.09700000      0.460099995       6.15199995       2.23999992E-02   1037.00000
25   800800.000       301.000000     -0.624100029       4.77799988      -16.8299999       51.5699997      -7.79999979E-03   3.18300009       2.94499993       8035.00000       3.00200009      -3.64000015E-02  0.131799996       4.43999991E-02   11050.0000       44.8400002       7.40000000E-03   4.45000008E-02   2.19099998       7037.00000      0.415499985      0.300399989       5.05200005       1.59000009E-02   1020.00000
40   800800.000       611.000000      -11.6400003      -1.61099994      -14.3299999       39.7900009      -5.40000014E-03   3.19300008       4.11499977       8023.00000      0.238199994     -0.870700002      0.752300024       3.99999991E-02   1005.00000       6.84000015       1.29000004E-02   5.09999990E-02  0.131600007       11060.0000       2.15899992      -1.79999992E-02   6.35000020E-02   3.08999997E-02   11050.0000       39.7099991       6.50000013E-03   5.18999994E-02  0.743900001       6065.00000       3.45700002       4.28000018E-02   5.31999990E-02   4.47999984E-02   11060.0000      0.888400018       5.88000007E-02   6.28000021       8.99999961E-03   9062.00000
55   800800.000       902.000000      -14.3299999      -1.73899996      -15.5699997       46.6699982      -8.10000021E-03   3.19400001       6.76800013       8021.00000       1.40400004     -0.369800001      0.422399998       2.19999999E-02   11040.0000       1000.00000       4.60000010E-03   8.34999979E-02   0.00000000       11010.0000       3.03699994       9.74999964E-02   5.92000000E-02   3.61000001E-02   11070.0000       6.93599987      -1.97000001E-02   3.66000012E-02  0.128999993       11070.0000       3.15499997      0.194399998       3.64999995E-02   3.92000005E-02   11070.0000       3.48300004       1.16999997E-02   6.50000013E-03  0.208100006       11030.0000       2.54999995       3.35000008E-02   6.25899982       2.83000004E-02   11070.0000       2.78200006      -4.98999991E-02   6.23299980      0.247099996       11020.0000       2.91400003      -2.09999993E-03   6.22100019       3.81999984E-02   11060.0000
30   800900.000       402.000000      -1.95000005       5.80399990      -15.1700001       53.7400017      -8.79999995E-03   3.18799996       3.47399998       8033.00000       6.14400005      -5.70000010E-03   7.28999972E-02  0.139500007       11060.0000       39.7900009       7.00000022E-03   5.04000001E-02  0.975600004       6055.00000       3.19000006       7.19999988E-03   4.74000014E-02   4.71000001E-02   11060.0000      0.383700013       7.54999965E-02   4.99800014       1.33999996E-02   1020.00000
40   801000.000       601.000000       10.4499998      -2.06200004      -16.4099998       45.8499985      -5.20000001E-03   3.16899991       1.42299998       8046.00000       1.41900003      0.105700001      0.222499996       2.01999992E-02   11040.0000       2.01900005     -0.132300004       9.92999971E-02   3.18000019E-02   11050.0000       23.4799995       2.31999997E-02   3.11999992E-02   3.82299995       4021.00000       3.84299994       5.70000000E-02   2.01999992E-02   9.48999971E-02   11040.0000       3.06500006      -1.39999995E-03   6.26900005       6.52000010E-02   11040.0000       1.46000004     -0.301499993       6.00199986       2.82000005E-02   1038.00000
35   801000.000       501.000000      -15.1800003     -0.123800002      -17.0599995       41.7500000      -4.60000010E-03   3.19600010       5.75299978       8020.00000       4.57499981      -2.20999997E-02  0.179399997       6.10999987E-02   11070.0000       3.64100003       5.62000014E-02  0.119300000       4.41999994E-02   11070.0000      0.898800015     -0.312599987       4.17000018E-02   1.20000001E-02   10040.0000       34.0299988       5.10000018E-03   5.31000011E-02  0.598599970       5069.00000       3.11899996       1.42000001E-02   3.97999994E-02   7.68000036E-02   11040.0000
30   801100.000       401.000000      -14.0200005       3.06999993      -13.6999998       48.4199982      -1.35000004E-02   3.19600010       8.66100025       8020.00000       39.7799988       1.09999999E-03   6.28999993E-02   4.16800022       5030.00000       12.7200003       2.52000000E-02   5.59000000E-02  0.338400006       2063.00000       3.15000010       1.56999994E-02   6.34000003E-02   4.71000001E-02   11060.0000      0.300199986      0.606999993       5.02600002       1.36000002E-02   1014.00000
50   801100.000       811.000000      -10.3900003       7.90399981      -16.9400005       50.9599991      -6.50000013E-03   3.19700003       5.52600002       8025.00000       2.84899998       6.09999988E-03   8.56000036E-02   3.40999998E-02   11060.0000       12.3800001       2.70000007E-03   6.78000003E-02  0.923500001       2030.00000       13.7500000      -1.09999999E-03   6.84999973E-02  0.392899990       2052.00000       13.6199999       2.34999992E-02   4.16000001E-02  0.275799990       2064.00000       1.06599998       1.61000006E-02   1.60000008E-02   1.04000000E-02   10070.0000       1.11699998     -0.172700003       6.26200008       1.43999998E-02   1060.00000      0.239899993       1.03799999       5.42399979       1.03000002E-02   10020.0000      0.310900003      0.666199982       5.91400003       6.59999996E-03   9028.00000
25   801100.000       300.000000      -3.82800007       3.33500004      -16.0300007       50.7000008      -9.89999995E-03   3.18600011       3.47000003       8032.00000       49.8400002       9.70000029E-03   4.56000008E-02   1.18299997       7057.00000       3.03200006      -5.53000011E-02   3.84999998E-02   4.10999991E-02   11060.0000      0.215100005       1.32799995       5.50400019       5.95999993E-02   1007.00000
35   801200.000       501.000000      0.411900014      -1.15699995      -16.7399998       46.5299988      -9.80000012E-03   3.18199992       2.57999992       8035.00000      0.558600008      -1.22000003       1.57000005      0.274500012       1007.00000       3.31200004       2.63999999E-02  0.123999998       5.73000014E-02   11050.0000       2.59400010       5.24999984E-02  0.105899997       4.06999998E-02   11050.0000       2.58200002       5.51999994E-02   6.19999990E-02   3.92000005E-02   11050.0000       40.4199982      -8.70000012E-03   3.44999991E-02   1.35099995       5053.00000
40   801300.000       600.000000      -12.8999996      -2.30800009      -17.1499996       41.3800011       1.90000003E-03   3.19300008       4.38800001       8023.00000      0.416099995      0.765299976      0.474000007       1.08000003E-02   10020.0000       13.1300001      -4.19999985E-03   5.70000000E-02  0.231800005       2067.00000       13.5200005      -4.49999981E-03   4.39000018E-02  0.246800005       2067.00000       13.0000000      -2.30000005E-03   4.19000015E-02  0.232700005       2067.00000       3.40700006      -1.48000000E-02   3.66000012E-02   4.21000011E-02   11070.0000       2.38299990      -1.86999999E-02   6.22300005       3.05000003E-02   11060.0000
50   801300.000       801.000000       2.59500003       6.32700014      -13.3999996       51.0000000      -1.09000001E-02   3.18099999       2.42400002       8037.00000       3.55299997       3.59000005E-02  0.261099994      0.196400002       11030.0000       2.61199999       2.41999999E-02  0.119199999       4.08000015E-02   11050.0000       6.16400003       1.77999996E-02   5.86000010E-02  0.174700007       11050.0000       6.18699980      -6.00000005E-03   3.73000018E-02  0.170499995       11050.0000       10.1400003       1.38999997E-02   2.08000001E-02  0.606500030       2031.00000       1.52800000      0.180299997       6.28100014       1.97999999E-02   11050.0000       1.19299996     -0.247999996       6.16400003       1.70000009E-02   1052.00000      0.872699976       8.13999996E-02   6.20200014       9.99999978E-03   10050.0000
25   801400.000       301.000000       17.2500000      -1.12300003      -15.8699999       50.0299988      -8.29999987E-03   3.16799998       1.30700004       8052.00000       1.03400004     -0.213599995      0.536099970       2.28000004E-02   1031.00000       1000.00000      -6.59999996E-03   2.10999995E-02   0.00000000       7003.00000       1.74800003      0.223499998       6.13500023       3.37999985E-02   11040.0000
30   801400.000       401.000000      -9.54800034       3.91199994      -15.0600004       48.2099991      -6.50000013E-03   3.19400001       4.58699989       8026.00000      0.542400002     -0.806400001      0.907500029       2.59000007E-02   1021.00000       35.4099998      -6.40999973E-02   5.29999994E-02  0.718200028       5064.00000       1000.00000       2.41999999E-02   5.20999990E-02   0.00000000       2011.00000       3.53600001      0.138400003       6.17000008       4.83000018E-02   11060.0000
30   801500.000       400.000000       16.7199993       5.73299980      -13.9300003       53.4799995      -1.15000000E-02   3.17000008       1.52800000       8052.00000      0.772000015       1.04999995      0.393500000       8.29999968E-02   1016.00000       43.5000000       4.19999985E-03   2.66999993E-02   2.59299994       6036.00000       3.39800000       4.43999991E-02   3.20000015E-02  0.104500003       11040.0000       2.99699998      -3.10000009E-03   2.55999994E-02   8.12999979E-02   11040.0000
50   801700.000       813.000000      -4.13500023      0.252700001      -15.2299995       46.2700005      -1.10999998E-02   3.18400002       2.96300006       8031.00000       2.31500006       4.61000018E-02  0.274100006       3.42000015E-02   11050.0000      0.207699999     -0.912400007       6.21000004       3.88999991E-02   11010.0000       14.7500000       1.09999999E-03   5.51000014E-02   4.99800014       2017.00000       13.1300001       1.77999996E-02   4.87000011E-02  0.308600008       2057.00000       2.12100005       3.62999998E-02   3.59999985E-02   2.96999998E-02   11050.0000       12.7200003       1.16999997E-02   2.94000003E-02  0.288300008       2057.00000       1000.00000      0.160300002       6.09499979       0.00000000       11000.0000      0.914300025     -0.137300000       6.26000023       9.30000003E-03   9061.00000
30   801900.000       400.000000      -13.3999996     -0.945800006      -16.4799995       37.9300003      -4.39999998E-03   3.19199991       4.05399990       8022.00000      0.275999993     -0.392500013      0.833599985       1.19000003E-02   1012.00000       7.00600004      -4.30000015E-03   5.49000017E-02  0.149900004       11070.0000       40.7500000       4.19999985E-03   5.53000011E-02  0.727500021       6067.00000       2.19000006      -1.54999997E-02   6.23199987       2.31999997E-02   11070.0000
25   801900.000       301.000000      -1.85300004       8.70400047      -17.0599995       54.3300018      -1.59999996E-03   3.18400002       3.45099998       8034.00000       3.30299997       1.22999996E-02   5.71999997E-02   4.96000014E-02   11060.0000       1000.00000       9.89999995E-03   4.01000008E-02   0.00000000       7004.00000      0.293300003       1.00300002       5.27400017       1.82000007E-02   1015.00000
40   802000.000       610.000000      -14.6199999     -0.306300014      -15.0500002       39.4500008      -9.99999975E-05   3.19600010       4.87900019       8020.00000       1.99899995     -0.135499999      0.128099993       1.98999997E-02   11070.0000       49.5600014       5.40000014E-03   5.27000017E-02   5.56500006       6029.00000       2.48600006      -2.55999994E-02   3.06000002E-02   2.66999993E-02   11070.0000      0.571699977      0.178399995       6.16699982       7.30000017E-03   10040.0000      0.944400012     -0.490999997       5.92000008       1.86999999E-02   10030.0000      0.510800004      0.383399993      0.181400001       7.40000000E-03   9039.00000
45   802000.000       702.000000       6.55999994     -0.796400011      -17.6299992       46.1599998       1.50000001E-03   3.17600012       1.69200003       8042.00000      0.747399986       1.26000000E-02  0.199100003       8.60000029E-03   10050.0000       2.89800000       5.57999983E-02   7.62000009E-02   5.15000001E-02   11050.0000       12.2799997      -8.89999978E-03   4.98999991E-02  0.388500005       2048.00000       1000.00000       3.07999998E-02   3.09999995E-02   0.00000000       2002.00000       1.85899997     -0.390899986       6.20300007       5.13999984E-02   11030.0000       4.09200001       2.52999999E-02   6.26499987       9.13999975E-02   11050.0000       1.02900004      -9.10999998E-02   6.10799980       9.96000022E-02   11010.0000
50   802400.000       810.000000      -6.97100019       2.56399989      -17.2199993       40.9599991      -2.09999993E-03   3.18799996       3.33200002       8028.00000       1.96200001     -0.132699996      0.116300002       2.48000007E-02   11060.0000       2.22799993      0.137799993      0.129700005       3.03000007E-02   11060.0000       13.8100004      -8.10000021E-03   5.24000004E-02  0.330399990       2060.00000       3.94400001      -1.37999998E-02   4.82000001E-02   6.25000000E-02   11060.0000       14.0200005      -8.29999987E-03   5.24999984E-02  0.349099994       2059.00000       13.6000004      -4.00000019E-03   4.32000011E-02  0.321599990       2060.00000       2.29200006      0.144899994       1.35000004E-02   2.98999995E-02   11060.0000      0.266999990      0.447800010      0.816200018       8.70000012E-03   9014.00000
45   802400.000       700.000000       10.3199997       1.37399995      -17.7500000       47.9399986      -8.99999985E-04   3.17499995       1.52499998       8046.00000       2.20600009       1.42999999E-02  0.162000000       3.75000015E-02   11040.0000       3.90199995       8.11000019E-02   7.11999983E-02  0.101099998       11040.0000       12.1400003      -3.50000011E-03   4.28000018E-02  0.442299992       2044.00000       11.1700001      -4.25000004E-02   2.06000004E-02  0.380699992       2044.00000       3.48900008       1.24000004E-02   2.25000009E-02   8.25000033E-02   11040.0000       9.56599998       4.39999998E-03   1.09999999E-02  0.552100003       11040.0000       1.13800001      0.430400014       6.01399994       2.39000004E-02   1035.00000
40   802400.000       610.000000      -13.8800001       4.62699986      -13.6400003       55.3699989      -1.03000002E-02   3.19700003       9.34200001       8021.00000       3.99300003       9.22999978E-02  0.169599995       6.71999976E-02   11060.0000       31.3099995       8.70000012E-03   6.41999990E-02  0.481999993       6067.00000       4.01200008      -5.20000001E-03   3.53000015E-02   5.29999994E-02   11070.0000       4.07900000      -4.05000001E-02   1.50000001E-03   5.38999997E-02   11070.0000      0.729200006     -0.180099994       6.01300001       1.31000001E-02   1045.00000       1.34300005      -2.18000002E-02   9.80999991E-02   1.77999996E-02   9045.00000
40   802600.000       611.000000       13.3500004       3.76300001      -13.2399998       50.6399994      -1.24000004E-02   3.17199993       1.56799996       8048.00000       1.49600005      -9.47000012E-02  0.228499994       2.28000004E-02   11040.0000       7.99599981      -1.59999996E-03   7.85999969E-02  0.456000000       11040.0000       38.2000008       1.10999998E-02   3.53999995E-02   2.42899990       6033.00000      0.784699976      -1.52000003E-02   5.99700022       1.26999998E-02   10030.0000      0.829800010      -3.84999998E-02   5.83599997       1.73000004E-02   1033.00000      0.264999986       1.00999999       6.06099987       1.60000008E-02   9016.00000
25   802600.000       300.000000       14.4499998       6.99300003      -12.9399996       53.4399986      -1.62000004E-02   3.17499995       1.60800004       8049.00000       47.3499985       1.53999999E-02   4.06999998E-02   2.32399988       7038.00000       3.28399992       2.88999993E-02   1.21999998E-02   8.83999988E-02   11040.0000      0.980300009     -0.410400003       5.75099993       1.89999994E-02   1039.00000
50   802600.000       813.000000      -1.36399996      -1.27900004      -17.3600006       45.3800011      -1.30000000E-03   3.18400002       2.40499997       8034.00000      0.478899986      0.573499978      0.657000005       8.50000046E-03   10030.0000       1.48399997     -0.196600005      0.277700007       1.85000002E-02   11050.0000       1.27900004       5.42000011E-02  0.183100000       1.42000001E-02   11050.0000       1000.00000       9.49999969E-03   6.06999993E-02   0.00000000       3009.00000       1000.00000      -5.90000022E-03   3.97000015E-02   0.00000000       11010.0000       15.0400000       8.79999995E-03   2.77999993E-02  0.707700014       2043.00000       2.45900011      -3.66999991E-02   6.19999981       3.22000012E-02   11060.0000      0.126599997      0.858699977       6.10200024       3.80000006E-03   9023.00000
35   802700.000       511.000000      -12.6199999      -1.23199999      -15.3500004       42.7700005      -6.20000018E-03   3.19400001       4.85900021       8022.00000      0.281899989      0.612699986      0.551900029       5.90000022E-03   10030.0000       3.23399997       5.40999994E-02   8.68000016E-02   3.97999994E-02   11070.0000       3.40400004      -1.20000001E-02   6.34000003E-02   4.23000008E-02   11070.0000       43.9799995       4.30000015E-03   5.31999990E-02   3.16899991       7032.00000      0.427899987     -0.201600000       5.44799995       9.30000003E-03   9021.00000
25   803000.000       300.000000       13.1700001       2.69400001      -14.4399996       51.4900017      -1.05999997E-02   3.17199993       1.61899996       8048.00000       46.6100006       7.89999962E-03   3.46000008E-02   2.00699997       7040.00000      0.969900012     -0.114000000       6.25099993       1.26999998E-02   11040.0000      0.323399991      0.354999989       5.32399988       9.20000020E-03   1020.00000
40   803000.000       611.000000      -7.27500010       6.12599993      -14.0900002       54.1800003      -1.26999998E-02   3.18899989       5.26399994       8028.00000       2.71300006      0.230399996      0.271400005      0.110900000       11030.0000       1.95899999      -2.75999997E-02  0.235900000       3.51999998E-02   11040.0000       39.5099983       1.09000001E-02   4.80999984E-02   4.67700005       6026.00000       2.00900006      -4.69999984E-02   6.26000023       2.43999995E-02   11060.0000      0.255899996       7.10000005E-03   5.70300007       4.30000015E-03   10030.0000       6.92000017E-02 -0.300599992       5.64300013       1.79999997E-03   9011.00000
50   803000.000       810.000000       17.7399998      0.824800014      -15.1300001       48.6399994      -8.10000021E-03   3.16899991       1.25100005       8053.00000       1.33299994     -0.302100003      0.616299987       4.10000011E-02   1025.00000       2.65100002      -8.60000029E-03   6.63999990E-02   6.79000020E-02   11040.0000       6.52199984      -1.20999999E-02   5.75999990E-02  0.354400009       11040.0000       12.6800003       3.70000000E-03   2.76999995E-02  0.696099997       2036.00000       12.6800003       1.85000002E-02   2.95000002E-02  0.716199994       2036.00000       12.9399996      -8.50000046E-03   1.11999996E-02  0.711399972       2036.00000       2.79699993       6.81999996E-02   6.05600023       7.16999993E-02   11040.0000       0.00000000       0.00000000       0.00000000       0.00000000       9000.00000
30   803300.000       401.000000       13.5400000       2.58500004      -13.3599997       51.0600014      -1.40000004E-02   3.17400002       1.62600005       8048.00000       1000.00000     -0.256999999      0.668500006       0.00000000       11000.0000       3.67100000       1.10999998E-02   6.08000010E-02   9.96000022E-02   11040.0000       3.11500001      -2.04000007E-02   3.42999995E-02   7.33999982E-02   11040.0000       41.1699982       3.40000005E-03   2.63000000E-02   1.93900001       6039.00000
35   803300.000       512.000000      -4.78299999     -0.955699980      -16.5400009       44.9300003      -6.69999979E-03   3.18700004       2.87599993       8031.00000       3.33800006      -3.75999995E-02   7.89000019E-02   4.69999984E-02   11060.0000       50.3899994       6.80000009E-03   4.01999988E-02   4.40000010       7031.00000      0.510200024      0.557799995       6.32999986E-02   3.77000012E-02   1013.00000      0.602400005       6.87000006E-02   5.79400015       1.71000008E-02   10020.0000      0.401199996     -0.486600012       2.06000004E-02   8.79999995E-03   9023.00000
50   803400.000       811.000000       6.75500011      -1.51400006      -14.7700005       47.5999985      -8.89999978E-03   3.17300010       1.84099996       8042.00000       2.21399999      -7.75000006E-02  0.193599999       3.31999995E-02   11050.0000       2.80100012      -2.66999993E-02   8.76000002E-02   4.78999987E-02   11050.0000       2.73699999       5.02000004E-02   5.57000004E-02   5.66000007E-02   11050.0000       6.42000008      -4.90000006E-03   2.74999999E-02  0.215399995       11050.0000       3.09899998       2.60000001E-03   3.26999985E-02   5.62000014E-02   11050.0000       30.4500008       8.60000029E-03   2.40000002E-02   1.52100003       4040.00000       2.00900006       3.15999985E-02   6.23600006       2.96999998E-02   11050.0000      0.529200017      -9.70999971E-02  0.160999998       6.89999992E-03   9039.00000
50   803500.000       810.000000       4.00099993      0.522400022      -16.5900002       51.0400009      -7.19999988E-03   3.18000007       2.31599998       8039.00000       3.85999990      -7.67000020E-02  0.169900000       7.09000006E-02   11050.0000       4.48999977      -3.70000000E-03   8.00999999E-02   9.58999991E-02   11050.0000       8.53600025      -1.57999992E-02   3.62999998E-02  0.328299999       11050.0000       24.0799999      -6.59999996E-03   3.31999995E-02  0.851599991       3050.00000       3.37800002      -2.08000001E-02   6.20200014       5.97000010E-02   11050.0000       2.00500011      0.174600005       6.22399998       2.84000002E-02   11050.0000      0.402500004      0.566900015       6.18400002       7.30000017E-03   10030.0000      0.285100013     -0.508300006       9.45999995E-02   5.40000014E-03   9027.00000
OUT1 = ascii2bin
OUT2 = bin2ascii
SRCS1 = ${OUT1}.f
SRCS2 = ${OUT2}.f
FC = gfortran
all: ${OUT1} $(OUT2)
${OUT1}: ${SRCS1}
${FC} -o $@ $^
${OUT2}: ${SRCS2}
${FC} -o $@ $^
clean:
rm -f ${OUT1} ${OUT2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment