You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if readdata: data = np.fromstring(" -".join(line.strip().split("-")), sep=" ") * exponent
This line doesn't parse case when all number places in value are used (there's 5 places per value in data in IONEX file) correctly. It's better to split them by 5 characters, not by space.
Using just datetime.datetime in parsing data in IONEX header also is not enough: sometimes they use 24th hour of current day instead of 0 hour of next day, what leads to datetime error. So this case should be handled separately.
The text was updated successfully, but these errors were encountered:
if readdata: data = np.fromstring(" -".join(line.strip().split("-")), sep=" ") * exponent
This line doesn't parse case when all number places in value are used (there's 5 places per value in data in IONEX file) correctly. It's better to split them by 5 characters, not by space.
datetime.datetime
in parsing data in IONEX header also is not enough: sometimes they use 24th hour of current day instead of 0 hour of next day, what leads todatetime
error. So this case should be handled separately.The text was updated successfully, but these errors were encountered: