Changeset 3620


Ignore:
Timestamp:
Sep 26, 2018 8:46:02 AM (5 years ago)
Author:
vondreele
Message:

fix import of old style "RALF" data from ENGIN-X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2pwd_fxye.py

    r3266 r3620  
    213213            while S and S[:4] != 'BANK' and S[0] != '#':
    214214                for i in range(0,80,20):
    215                     if S[i:i+8] == 9*' ':
     215                    if S[i:i+8] == 8*' ':
    216216                        break
    217                     xi = sfloat(S[i:i+9])/3200.
    218                     yi = sfloat(S[i+9:i+16])/1000.
    219                     ei = sfloat(S[i+16:i+21])/1000.
     217                    xi = sfloat(S[i:i+8])/3200.
     218                    yi = sfloat(S[i+8:i+15])/1000.
     219                    ei = sfloat(S[i+15:i+21])/1000.
    220220                    x.append(xi)
    221221                    if yi > 0.0:
Note: See TracChangeset for help on using the changeset viewer.