-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alt_analysis issue #21
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried reading data from csv file and use function alt_analysis, but I get an error in the analysis code related to the index of the data. the error message is as follows:
I modified alt_analysis function in analysis.py by removing the [i0_GPS] & [i0_Baro] since each of the GPS_Alt, and SENS_BaroAlt is field by itself in the csv file and it is np array that could be accessed using values. Also, printing
i0_Baro = data.SENS_BaroAlt.first_valid_index()
doesn't return the correct first valid index so I had to find the first correct index. I also modified mapping in the same way since it also complained about the indexindex 0 is out of bounds for axis 0 with size 0
...The changes that were done could be found in the following links:
analysis.py
mapping.py
After these modifications, the plots were generated,
but I would like to verify these modifications or know if this issue appears to others or did it happen because of the log that was used ??
The text was updated successfully, but these errors were encountered: