Skip to content
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

Parsed altitude values changed from version 1.1.0 to 1.2.0 #123

Open
fgebhart opened this issue Mar 13, 2021 · 2 comments
Open

Parsed altitude values changed from version 1.1.0 to 1.2.0 #123

fgebhart opened this issue Mar 13, 2021 · 2 comments

Comments

@fgebhart
Copy link
Contributor

First of all: Great tool, thanks a lot!

I'm using fitparse extensively in the workoutizer application and wanted to upgrade from v1.1.0 to v1.2.0 in order to resolve some deprecation warnings.

However, some of my tests failed and it seems like that the parsed values of the altitude records changed from one version to the next. Here is an example:

# parsed altitude records to list in v1.1.0
altitudes_v1_1 = [nan, nan, nan, nan, nan, 2487.0, 2487.0, 2485.0, 2484.0, 2483.0, 2482.0, 2485.0, 2485.0, 2485.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2486.0, 2487.0, 2488.0, 2488.0, nan, 2489.0, 2489.0, 2489.0, 2489.0, 2490.0, 2491.0, 2491.0, 2492.0, 2494.0, 2495.0, 2497.0, 2497.0, 2500.0, 2500.0, 2502.0, 2503.0, 2504.0, 2505.0, 2505.0, 2506.0, 2508.0, 2508.0, 2511.0, 2512.0, 2514.0, 2515.0, 2517.0, 2519.0, 2520.0, 2523.0, 2524.0, 2525.0, 2525.0, 2527.0, 2528.0, 2529.0, 2530.0, 2530.0, 2532.0, 2536.0, 2537.0, 2541.0, 2545.0, 2547.0, 2548.0, 2549.0, 2552.0, 2553.0, 2553.0, 2558.0, 2559.0, 2561.0, 2561.0, 2563.0, 2564.0, 2565.0, 2566.0, 2569.0, 2570.0, 2574.0, 2575.0, 2579.0, 2580.0, 2584.0, 2585.0, 2590.0, 2590.0, 2589.0, 2589.0, 2589.0, 2589.0, 2589.0, 2589.0, 2589.0, 2590.0, 2591.0, 2591.0, 2591.0, 2591.0, 2591.0, 2592.0, 2592.0, 2593.0, 2594.0, 2595.0, 2595.0, 2595.0, 2598.0, 2598.0, 2600.0, 2600.0, 2601.0, 2602.0, 2604.0, 2605.0, 2607.0, 2608.0, 2610.0, 2611.0, 2613.0, 2616.0, 2616.0, nan, 2617.0, 2618.0, 2619.0, 2620.0, 2621.0, 2623.0, 2624.0, 2626.0, 2627.0, 2630.0, 2632.0, 2632.0, 2633.0, 2635.0, 2635.0, 2637.0, 2639.0, 2642.0, 2643.0, 2643.0, 2644.0, 2645.0, 2646.0, 2647.0, 2648.0, 2653.0, 2654.0, 2656.0, 2657.0, 2659.0, 2660.0, 2661.0, 2662.0, 2664.0, 2666.0, 2670.0, 2674.0, 2675.0, 2675.0, 2677.0, 2678.0, 2681.0, 2684.0, 2686.0, 2687.0, 2689.0, 2691.0, 2692.0, 2693.0, 2695.0, 2697.0, 2698.0, 2700.0, 2702.0, 2704.0, nan, 2706.0, 2707.0, 2711.0, 2712.0, 2712.0, 2717.0, 2718.0, 2721.0, 2722.0, 2723.0, 2726.0, 2728.0, 2729.0, 2731.0, 2732.0, 2733.0, 2734.0, 2735.0, 2736.0, 2740.0, 2742.0, 2745.0, 2746.0, 2748.0, 2751.0, 2752.0, 2756.0, 2757.0, 2759.0, 2760.0, 2762.0, 2763.0, 2764.0, 2765.0, 2767.0, 2770.0, 2771.0, 2773.0, 2776.0, 2778.0, 2779.0, 2780.0, 2781.0, 2783.0, 2784.0, 2786.0, 2790.0, 2791.0, 2795.0, 2797.0, 2801.0, 2803.0, 2804.0, 2806.0, 2806.0, 2808.0, 2810.0, 2812.0, 2814.0, 2817.0, 2819.0, 2822.0, 2823.0, 2860.0, 2878.0, 2888.0, 2893.0, 2898.0, 2898.0, 2899.0, 2901.0, 2903.0, 2905.0, 2909.0, 2910.0, 2912.0, 2915.0, 2916.0, 2916.0, 2919.0, 2921.0, 2921.0, 2921.0, 2921.0, 2921.0, 2921.0, 2921.0, 2922.0, 2922.0, 2923.0, 2924.0, 2924.0, 2925.0, 2926.0, 2927.0, 2928.0, 2930.0, 2931.0, 2933.0, 2934.0, 2935.0, 2937.0, 2938.0, 2940.0, 2942.0, 2942.0, 2945.0, 2947.0, 2949.0, 2953.0, 2956.0, 2958.0, 2959.0, 2961.0, 2963.0, 2963.0, 2964.0, 2966.0, 2966.0, 2968.0, 2968.0, 2969.0, 2970.0, 2971.0, 2972.0, 2974.0, 2977.0, 2979.0, 2980.0, 2983.0, 2984.0, 2985.0, 2990.0, 2993.0, 2995.0, 3000.0, 3000.0, 3005.0, 3010.0, 3011.0, 3014.0, 3017.0, 3019.0, 3022.0, 3024.0, 3026.0, 3027.0, 3028.0, 3029.0, 3031.0, 3033.0, 3037.0, 3038.0, 3038.0, 3041.0, 3042.0, 3081.0, 3101.0, 3111.0, 3116.0, 3121.0, 3122.0, 3124.0, 3125.0, 3126.0, 3127.0, 3128.0, 3129.0, 3129.0, 3130.0, 3133.0, 3134.0, 3136.0, 3136.0, 3136.0, 3136.0, 3137.0, 3138.0, 3138.0, 3139.0, 3143.0, 3145.0, 3145.0, 3145.0, 3146.0, 3147.0, 3150.0, 3152.0, 3153.0, 3154.0, 3154.0, 3155.0, 3158.0, 3161.0, 3161.0, 3161.0, 3161.0, 3161.0, 3161.0, 3162.0, 3163.0, 3163.0, 3164.0, 3165.0, 3165.0, 3166.0, 3168.0, 3168.0, 3171.0, 3172.0, 3173.0, 3174.0, 3175.0, 3177.0, 3178.0, 3178.0, 3179.0, 3180.0, 3184.0, 3189.0, 3190.0, 3190.0, 3190.0, 3190.0, 3191.0, 3192.0, 3193.0, 3193.0, 3194.0, 3194.0, 3194.0, 3196.0, 3197.0, 3198.0, 3198.0, 3199.0, 3200.0, 3201.0, 3202.0, 3203.0, 3203.0, 3204.0, 3205.0, 3206.0, nan, 3209.0, 3209.0, 3211.0, 3214.0, 3215.0, 3215.0, 3217.0, 3219.0, 3220.0, 3221.0, 3223.0, 3224.0, 3226.0, 3227.0, 3230.0, 3230.0, 3231.0, 3233.0, 3236.0, 3237.0, 3239.0, 3240.0, 3241.0, 3243.0, 3244.0, 3247.0, 3248.0, 3250.0, 3252.0, 3253.0, 3255.0, 3255.0, 3258.0, 3259.0, 3260.0, 3263.0, 3265.0, 3267.0, 3268.0, 3269.0, 3270.0, 3273.0, 3274.0, 3278.0, 3279.0, 3282.0, 3285.0, 3288.0, 3291.0, 3294.0, 3295.0, 3296.0, 3298.0, 3301.0, 3302.0, 3305.0, 3306.0, 3307.0, 3312.0, 3312.0, 3315.0, 3317.0, 3318.0, 3320.0, 3322.0, 3323.0, 3326.0, 3327.0, 3331.0, 3332.0, 3332.0, 3333.0, 3335.0, 3338.0, 3341.0, 3344.0, 3346.0, 3349.0, 3350.0, 3355.0, 3357.0, 3360.0, 3361.0, 3363.0, 3366.0, 3367.0, 3370.0, 3372.0, 3377.0, 3382.0, 3383.0, 3384.0, 3385.0, 3386.0, 3388.0, 3392.0, 3394.0, 3396.0, 3399.0, 3402.0, 3403.0, 3405.0, 3407.0, 3408.0, 3410.0, 3415.0, 3416.0, 3417.0, 3420.0, 3422.0, 3427.0, 3433.0, 3438.0, 3440.0, 3442.0, 3444.0, 3445.0, 3447.0, 3449.0, 3449.0, 3509.0, 3509.0, 3519.0, 3524.0, 3528.0, 3530.0, 3531.0, 3532.0, 3532.0, 3532.0, 3532.0, 3532.0, 3531.0, 3531.0, 3530.0, 3531.0, 3532.0, 3532.0, 3532.0, 3532.0, 3532.0, 3532.0, 3533.0, 3533.0, 3533.0, 3533.0, 3533.0, 3533.0, 3533.0, 3532.0, 3532.0, 3532.0, 3531.0, 3532.0, 3532.0, 3532.0, 3532.0, 3532.0, 3533.0, 3531.0, 3532.0, 3532.0, 3527.0, 3527.0, 3528.0, 3529.0, 3530.0, 3528.0, 3527.0, 3527.0, 3527.0, 3527.0, 3527.0, 3527.0, 3527.0, 3527.0, 3526.0, 3525.0, 3525.0, 3524.0, 3523.0, 3522.0, 3521.0, 3520.0, 3519.0, 3518.0, 3516.0, 3515.0, nan, 3515.0, 3515.0, 3513.0, 3511.0, 3509.0, 3509.0, 3506.0, 3505.0, 3504.0, 3503.0, 3500.0, 3499.0, 3497.0, 3494.0, 3493.0, 3492.0, 3489.0, 3488.0, 3485.0, 3483.0, 3482.0, 3479.0, 3478.0, 3477.0, 3473.0, 3473.0, 3470.0, 3467.0, 3464.0, 3462.0, 3461.0, 3457.0, 3457.0, 3454.0, 3451.0, 3449.0, 3446.0, 3445.0, 3441.0, 3440.0, 3436.0, 3436.0, 3433.0, 3429.0, 3429.0, 3425.0, 3424.0, 3421.0, 3419.0, 3417.0, 3413.0, 3381.0, 3364.0, 3357.0, 3353.0, 3356.0, 3358.0, 3359.0, 3359.0, 3359.0, 3359.0, 3359.0, 3359.0, 3359.0, 3359.0, 3360.0, 3360.0, 3361.0, 3362.0, 3362.0, 3362.0, 3362.0, 3363.0, 3364.0, 3365.0, 3366.0, 3367.0, 3368.0, 3368.0, 3368.0, 3369.0, 3370.0, 3371.0, 3371.0, 3373.0, 3374.0, 3374.0, 3374.0, 3374.0, 3374.0, 3374.0, 3374.0, 3374.0, 3374.0, 3374.0, 3374.0, 3373.0, 3371.0, 3370.0, 3370.0, 3369.0, 3368.0, 3368.0, 3367.0, 3366.0, 3364.0, 3363.0, 3363.0, 3360.0, 3358.0, 3357.0, 3354.0, 3352.0, 3351.0, nan, 3349.0, 3347.0, 3346.0, 3345.0, 3342.0, 3341.0, 3336.0, 3332.0, 3331.0, 3327.0, 3325.0, 3322.0, 3320.0, 3318.0, 3315.0, 3314.0, 3309.0, 3306.0, 3304.0, 3303.0, 3303.0, 3300.0, 3298.0, 3297.0, 3293.0, 3290.0, 3287.0, 3287.0, 3286.0, 3283.0, 3282.0, 3281.0, 3277.0, 3276.0, 3275.0, 3272.0, 3271.0, 3267.0, 3266.0, 3262.0, 3260.0, 3257.0, 3254.0, 3253.0, 3252.0, 3248.0, 3243.0, 3242.0, 3238.0, 3237.0, 3232.0, 3227.0, 3221.0, 3220.0, 3218.0, 3216.0, 3211.0, 3205.0, 3202.0, 3200.0, 3199.0, 3194.0, 3193.0, 3191.0, 3188.0, 3187.0, 3184.0, 3183.0, 3178.0, 3175.0, 3172.0, 3171.0, 3169.0, 3167.0, 3166.0, 3163.0, 3160.0, 3159.0, 3157.0, 3155.0, 3152.0, 3150.0, 3149.0, 3147.0, 3143.0, 3141.0, 3136.0, 3135.0, 3129.0, 3123.0, 3122.0, 3120.0, 3117.0, 3116.0, 3111.0, 3107.0, 3105.0, 3099.0, 3097.0, 3094.0, 3092.0, 3088.0, 3087.0, 3085.0, 3083.0, 3079.0, 3077.0, 3073.0, 3072.0, 3066.0, 3065.0, 3063.0, 3061.0, 3060.0, 3055.0, 3054.0, 3049.0, 3048.0, 3047.0, 3045.0, 3044.0, 3043.0, 3041.0, 3039.0, 3038.0, 3037.0, 3033.0, 3032.0, 3028.0, 3025.0, 3023.0, 3022.0, 3021.0, 3018.0, 3017.0, 3015.0, 3012.0, 3010.0, 3009.0, 3008.0, 3007.0, 3006.0, 3006.0, 3003.0, 3002.0, 3001.0, 3000.0, 2999.0, 2997.0, 2995.0, 2990.0, 2990.0, 2987.0, 2984.0, 2982.0, 2980.0, 2979.0, 2976.0, 2975.0, 2973.0, 2971.0, 2969.0, 2968.0, 2966.0, 2962.0, 2961.0, 2956.0, 2954.0, 2951.0, 2948.0, 2945.0, 2941.0, 2939.0, 2935.0, 2933.0, 2928.0, 2923.0, 2918.0, 2917.0, 2913.0, 2909.0, 2907.0, 2901.0, 2900.0, 2897.0, 2896.0, 2893.0, 2890.0, 2887.0, 2885.0, 2880.0, 2876.0, 2874.0, 2873.0, 2869.0, 2868.0, 2865.0, 2864.0, 2861.0, 2858.0, 2855.0, 2854.0, 2853.0, 2847.0, 2846.0, 2842.0, 2839.0, 2836.0, 2833.0, 2831.0, 2830.0, 2827.0, 2826.0, 2824.0, 2820.0, 2819.0, 2816.0, 2813.0, 2812.0, 2809.0, 2808.0, 2807.0, 2805.0, 2803.0, 2801.0, 2799.0, 2797.0, 2796.0, 2793.0, 2792.0, 2788.0, 2787.0, 2786.0, nan, 2782.0, 2779.0, 2778.0, 2777.0, 2770.0, 2769.0, 2768.0, 2764.0, 2763.0, 2758.0, 2757.0, 2754.0, 2752.0, 2751.0, 2747.0, 2744.0, 2741.0, 2735.0, 2734.0, 2730.0, 2729.0, 2724.0, 2718.0, 2717.0, 2715.0, 2712.0, 2711.0, 2710.0, 2707.0, 2705.0, 2701.0, 2699.0, 2696.0, 2691.0, 2690.0, 2688.0, 2686.0, 2685.0, 2679.0, 2674.0, 2672.0, 2669.0, 2668.0, 2667.0, 2663.0, 2659.0, 2658.0, 2657.0, 2655.0, 2653.0, 2652.0, 2651.0, 2649.0, 2647.0, 2643.0, 2642.0, 2641.0, 2638.0, 2637.0, 2636.0, 2630.0, 2625.0, 2624.0, 2621.0, 2619.0, 2618.0, 2617.0, 2614.0, 2612.0, 2611.0, 2609.0, 2606.0, 2605.0, 2604.0, 2600.0, 2599.0, 2595.0, 2594.0, 2588.0, 2582.0, 2581.0, 2579.0, 2578.0, 2577.0, 2576.0, 2575.0, 2572.0, 2571.0, 2570.0, 2567.0, 2566.0, 2560.0, 2558.0, 2556.0, 2555.0, 2550.0, 2548.0, 2544.0, 2543.0, 2541.0, 2539.0, 2537.0, 2536.0, 2535.0, 2533.0, 2528.0, 2527.0, 2524.0, 2523.0, 2522.0, 2518.0, 2517.0, 2514.0, 2513.0, 2509.0, 2507.0, 2503.0, 2502.0, 2499.0, 2498.0, 2453.0, 2430.0, 2417.0, 2410.0, 2406.0, 2403.0, 2398.0, 2396.0, 2395.0, 2395.0, 2394.0, 2394.0, 2393.0, 2393.0, 2392.0, 2392.0, 2392.0, 2393.0, 2392.0, 2392.0, 2392.0, 2390.0, 2390.0, 2389.0, 2388.0, 2387.0, 2387.0, 2386.0, 2385.0, 2385.0, 2386.0, 2386.0, 2385.0, 2384.0, 2384.0, 2385.0, 2385.0, 2385.0, 2385.0, 2384.0, 2384.0, 2384.0, 2384.0, 2384.0, 2384.0, 2385.0, 2385.0, 2385.0, 2385.0, 2384.0, 2384.0, 2384.0, 2385.0, 2383.0, 2384.0, 2383.0, 2383.0, 2383.0, 2383.0, 2382.0, 2383.0, 2384.0, 2383.0, 2383.0, 2384.0, 2384.0, 2384.0, 2384.0, 2384.0, 2384.0, 2384.0, 2384.0, 2385.0, 2385.0, 2384.0, 2384.0, 2385.0, 2384.0, 2384.0, 2384.0, 2384.0, 2385.0, 2384.0, 2385.0, 2386.0, 2387.0, 2387.0, 2384.0, 2383.0, 2383.0, 2383.0, 2384.0, 2384.0, 2383.0, 2383.0, 2383.0, 2383.0, 2383.0, 2383.0, 2383.0, 2383.0, 2383.0, 2383.0, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan]

# parsed altitude records to list in v1.2.0
altitudes_v1_2 = [nan, nan, nan, nan, nan, -2.6000000000000227, -2.6000000000000227, -3.0, -3.1999999999999886, -3.3999999999999773, -3.6000000000000227, -3.0, -3.0, -3.0, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.8000000000000114, -2.6000000000000227, -2.3999999999999773, -2.3999999999999773, nan, -2.1999999999999886, -2.1999999999999886, -2.1999999999999886, -2.1999999999999886, -2.0, -1.8000000000000114, -1.8000000000000114, -1.6000000000000227, -1.1999999999999886, -1.0, -0.6000000000000227, -0.6000000000000227, 0.0, 0.0, 0.39999999999997726, 0.6000000000000227, 0.8000000000000114, 1.0, 1.0, 1.1999999999999886, 1.6000000000000227, 1.6000000000000227, 2.1999999999999886, 2.3999999999999773, 2.8000000000000114, 3.0, 3.3999999999999773, 3.8000000000000114, 4.0, 4.600000000000023, 4.800000000000011, 5.0, 5.0, 5.399999999999977, 5.600000000000023, 5.800000000000011, 6.0, 6.0, 6.399999999999977, 7.199999999999989, 7.399999999999977, 8.199999999999989, 9.0, 9.399999999999977, 9.600000000000023, 9.800000000000011, 10.399999999999977, 10.600000000000023, 10.600000000000023, 11.600000000000023, 11.800000000000011, 12.200000000000045, 12.200000000000045, 12.600000000000023, 12.799999999999955, 13.0, 13.200000000000045, 13.799999999999955, 14.0, 14.799999999999955, 15.0, 15.799999999999955, 16.0, 16.799999999999955, 17.0, 18.0, 18.0, 17.799999999999955, 17.799999999999955, 17.799999999999955, 17.799999999999955, 17.799999999999955, 17.799999999999955, 17.799999999999955, 18.0, 18.200000000000045, 18.200000000000045, 18.200000000000045, 18.200000000000045, 18.200000000000045, 18.399999999999977, 18.399999999999977, 18.600000000000023, 18.799999999999955, 19.0, 19.0, 19.0, 19.600000000000023, 19.600000000000023, 20.0, 20.0, 20.200000000000045, 20.399999999999977, 20.799999999999955, 21.0, 21.399999999999977, 21.600000000000023, 22.0, 22.200000000000045, 22.600000000000023, 23.200000000000045, 23.200000000000045, nan, 23.399999999999977, 23.600000000000023, 23.799999999999955, 24.0, 24.200000000000045, 24.600000000000023, 24.799999999999955, 25.200000000000045, 25.399999999999977, 26.0, 26.399999999999977, 26.399999999999977, 26.600000000000023, 27.0, 27.0, 27.399999999999977, 27.799999999999955, 28.399999999999977, 28.600000000000023, 28.600000000000023, 28.799999999999955, 29.0, 29.200000000000045, 29.399999999999977, 29.600000000000023, 30.600000000000023, 30.799999999999955, 31.200000000000045, 31.399999999999977, 31.799999999999955, 32.0, 32.200000000000045, 32.39999999999998, 32.799999999999955, 33.200000000000045, 34.0, 34.799999999999955, 35.0, 35.0, 35.39999999999998, 35.60000000000002, 36.200000000000045, 36.799999999999955, 37.200000000000045, 37.39999999999998, 37.799999999999955, 38.200000000000045, 38.39999999999998, 38.60000000000002, 39.0, 39.39999999999998, 39.60000000000002, 40.0, 40.39999999999998, 40.799999999999955, nan, 41.200000000000045, 41.39999999999998, 42.200000000000045, 42.39999999999998, 42.39999999999998, 43.39999999999998, 43.60000000000002, 44.200000000000045, 44.39999999999998, 44.60000000000002, 45.200000000000045, 45.60000000000002, 45.799999999999955, 46.200000000000045, 46.39999999999998, 46.60000000000002, 46.799999999999955, 47.0, 47.200000000000045, 48.0, 48.39999999999998, 49.0, 49.200000000000045, 49.60000000000002, 50.200000000000045, 50.39999999999998, 51.200000000000045, 51.39999999999998, 51.799999999999955, 52.0, 52.39999999999998, 52.60000000000002, 52.799999999999955, 53.0, 53.39999999999998, 54.0, 54.200000000000045, 54.60000000000002, 55.200000000000045, 55.60000000000002, 55.799999999999955, 56.0, 56.200000000000045, 56.60000000000002, 56.799999999999955, 57.200000000000045, 58.0, 58.200000000000045, 59.0, 59.39999999999998, 60.200000000000045, 60.60000000000002, 60.799999999999955, 61.200000000000045, 61.200000000000045, 61.60000000000002, 62.0, 62.39999999999998, 62.799999999999955, 63.39999999999998, 63.799999999999955, 64.39999999999998, 64.60000000000002, 72.0, 75.60000000000002, 77.60000000000002, 78.60000000000002, 79.60000000000002, 79.60000000000002, 79.79999999999995, 80.20000000000005, 80.60000000000002, 81.0, 81.79999999999995, 82.0, 82.39999999999998, 83.0, 83.20000000000005, 83.20000000000005, 83.79999999999995, 84.20000000000005, 84.20000000000005, 84.20000000000005, 84.20000000000005, 84.20000000000005, 84.20000000000005, 84.20000000000005, 84.39999999999998, 84.39999999999998, 84.60000000000002, 84.79999999999995, 84.79999999999995, 85.0, 85.20000000000005, 85.39999999999998, 85.60000000000002, 86.0, 86.20000000000005, 86.60000000000002, 86.79999999999995, 87.0, 87.39999999999998, 87.60000000000002, 88.0, 88.39999999999998, 88.39999999999998, 89.0, 89.39999999999998, 89.79999999999995, 90.60000000000002, 91.20000000000005, 91.60000000000002, 91.79999999999995, 92.20000000000005, 92.60000000000002, 92.60000000000002, 92.79999999999995, 93.20000000000005, 93.20000000000005, 93.60000000000002, 93.60000000000002, 93.79999999999995, 94.0, 94.20000000000005, 94.39999999999998, 94.79999999999995, 95.39999999999998, 95.79999999999995, 96.0, 96.60000000000002, 96.79999999999995, 97.0, 98.0, 98.60000000000002, 99.0, 100.0, 100.0, 101.0, 102.0, 102.20000000000005, 102.79999999999995, 103.39999999999998, 103.79999999999995, 104.39999999999998, 104.79999999999995, 105.20000000000005, 105.39999999999998, 105.60000000000002, 105.79999999999995, 106.20000000000005, 106.60000000000002, 107.39999999999998, 107.60000000000002, 107.60000000000002, 108.20000000000005, 108.39999999999998, 116.20000000000005, 120.20000000000005, 122.20000000000005, 123.20000000000005, 124.20000000000005, 124.39999999999998, 124.79999999999995, 125.0, 125.20000000000005, 125.39999999999998, 125.60000000000002, 125.79999999999995, 125.79999999999995, 126.0, 126.60000000000002, 126.79999999999995, 127.20000000000005, 127.20000000000005, 127.20000000000005, 127.20000000000005, 127.39999999999998, 127.60000000000002, 127.60000000000002, 127.79999999999995, 128.60000000000002, 129.0, 129.0, 129.0, 129.20000000000005, 129.39999999999998, 130.0, 130.39999999999998, 130.60000000000002, 130.79999999999995, 130.79999999999995, 131.0, 131.60000000000002, 132.20000000000005, 132.20000000000005, 132.20000000000005, 132.20000000000005, 132.20000000000005, 132.20000000000005, 132.39999999999998, 132.60000000000002, 132.60000000000002, 132.79999999999995, 133.0, 133.0, 133.20000000000005, 133.60000000000002, 133.60000000000002, 134.20000000000005, 134.39999999999998, 134.60000000000002, 134.79999999999995, 135.0, 135.39999999999998, 135.60000000000002, 135.60000000000002, 135.79999999999995, 136.0, 136.79999999999995, 137.79999999999995, 138.0, 138.0, 138.0, 138.0, 138.20000000000005, 138.39999999999998, 138.60000000000002, 138.60000000000002, 138.79999999999995, 138.79999999999995, 138.79999999999995, 139.20000000000005, 139.39999999999998, 139.60000000000002, 139.60000000000002, 139.79999999999995, 140.0, 140.20000000000005, 140.39999999999998, 140.60000000000002, 140.60000000000002, 140.79999999999995, 141.0, 141.20000000000005, nan, 141.79999999999995, 141.79999999999995, 142.20000000000005, 142.79999999999995, 143.0, 143.0, 143.39999999999998, 143.79999999999995, 144.0, 144.20000000000005, 144.60000000000002, 144.79999999999995, 145.20000000000005, 145.39999999999998, 146.0, 146.0, 146.20000000000005, 146.60000000000002, 147.20000000000005, 147.39999999999998, 147.79999999999995, 148.0, 148.20000000000005, 148.60000000000002, 148.79999999999995, 149.39999999999998, 149.60000000000002, 150.0, 150.39999999999998, 150.60000000000002, 151.0, 151.0, 151.60000000000002, 151.79999999999995, 152.0, 152.60000000000002, 153.0, 153.39999999999998, 153.60000000000002, 153.79999999999995, 154.0, 154.60000000000002, 154.79999999999995, 155.60000000000002, 155.79999999999995, 156.39999999999998, 157.0, 157.60000000000002, 158.20000000000005, 158.79999999999995, 159.0, 159.20000000000005, 159.60000000000002, 160.20000000000005, 160.39999999999998, 161.0, 161.20000000000005, 161.39999999999998, 162.39999999999998, 162.39999999999998, 163.0, 163.39999999999998, 163.60000000000002, 164.0, 164.39999999999998, 164.60000000000002, 165.20000000000005, 165.39999999999998, 166.20000000000005, 166.39999999999998, 166.39999999999998, 166.60000000000002, 167.0, 167.60000000000002, 168.20000000000005, 168.79999999999995, 169.20000000000005, 169.79999999999995, 170.0, 171.0, 171.39999999999998, 172.0, 172.20000000000005, 172.60000000000002, 173.20000000000005, 173.39999999999998, 174.0, 174.39999999999998, 175.39999999999998, 176.39999999999998, 176.60000000000002, 176.79999999999995, 177.0, 177.20000000000005, 177.60000000000002, 178.39999999999998, 178.79999999999995, 179.20000000000005, 179.79999999999995, 180.39999999999998, 180.60000000000002, 181.0, 181.39999999999998, 181.60000000000002, 182.0, 183.0, 183.20000000000005, 183.39999999999998, 184.0, 184.39999999999998, 185.39999999999998, 186.60000000000002, 187.60000000000002, 188.0, 188.39999999999998, 188.79999999999995, 189.0, 189.39999999999998, 189.79999999999995, 189.79999999999995, 201.79999999999995, 201.79999999999995, 203.79999999999995, 204.79999999999995, 205.60000000000002, 206.0, 206.20000000000005, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.20000000000005, 206.20000000000005, 206.0, 206.20000000000005, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.60000000000002, 206.60000000000002, 206.60000000000002, 206.60000000000002, 206.60000000000002, 206.60000000000002, 206.60000000000002, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.20000000000005, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.39999999999998, 206.60000000000002, 206.20000000000005, 206.39999999999998, 206.39999999999998, 205.39999999999998, 205.39999999999998, 205.60000000000002, 205.79999999999995, 206.0, 205.60000000000002, 205.39999999999998, 205.39999999999998, 205.39999999999998, 205.39999999999998, 205.39999999999998, 205.39999999999998, 205.39999999999998, 205.39999999999998, 205.20000000000005, 205.0, 205.0, 204.79999999999995, 204.60000000000002, 204.39999999999998, 204.20000000000005, 204.0, 203.79999999999995, 203.60000000000002, 203.20000000000005, 203.0, nan, 203.0, 203.0, 202.60000000000002, 202.20000000000005, 201.79999999999995, 201.79999999999995, 201.20000000000005, 201.0, 200.79999999999995, 200.60000000000002, 200.0, 199.79999999999995, 199.39999999999998, 198.79999999999995, 198.60000000000002, 198.39999999999998, 197.79999999999995, 197.60000000000002, 197.0, 196.60000000000002, 196.39999999999998, 195.79999999999995, 195.60000000000002, 195.39999999999998, 194.60000000000002, 194.60000000000002, 194.0, 193.39999999999998, 192.79999999999995, 192.39999999999998, 192.20000000000005, 191.39999999999998, 191.39999999999998, 190.79999999999995, 190.20000000000005, 189.79999999999995, 189.20000000000005, 189.0, 188.20000000000005, 188.0, 187.20000000000005, 187.20000000000005, 186.60000000000002, 185.79999999999995, 185.79999999999995, 185.0, 184.79999999999995, 184.20000000000005, 183.79999999999995, 183.39999999999998, 182.60000000000002, 176.20000000000005, 172.79999999999995, 171.39999999999998, 170.60000000000002, 171.20000000000005, 171.60000000000002, 171.79999999999995, 171.79999999999995, 171.79999999999995, 171.79999999999995, 171.79999999999995, 171.79999999999995, 171.79999999999995, 171.79999999999995, 172.0, 172.0, 172.20000000000005, 172.39999999999998, 172.39999999999998, 172.39999999999998, 172.39999999999998, 172.60000000000002, 172.79999999999995, 173.0, 173.20000000000005, 173.39999999999998, 173.60000000000002, 173.60000000000002, 173.60000000000002, 173.79999999999995, 174.0, 174.20000000000005, 174.20000000000005, 174.60000000000002, 174.79999999999995, 174.79999999999995, 174.79999999999995, 174.79999999999995, 174.79999999999995, 174.79999999999995, 174.79999999999995, 174.79999999999995, 174.79999999999995, 174.79999999999995, 174.79999999999995, 174.60000000000002, 174.20000000000005, 174.0, 174.0, 173.79999999999995, 173.60000000000002, 173.60000000000002, 173.39999999999998, 173.20000000000005, 172.79999999999995, 172.60000000000002, 172.60000000000002, 172.0, 171.60000000000002, 171.39999999999998, 170.79999999999995, 170.39999999999998, 170.20000000000005, nan, 169.79999999999995, 169.39999999999998, 169.20000000000005, 169.0, 168.39999999999998, 168.20000000000005, 167.20000000000005, 166.39999999999998, 166.20000000000005, 165.39999999999998, 165.0, 164.39999999999998, 164.0, 163.60000000000002, 163.0, 162.79999999999995, 161.79999999999995, 161.20000000000005, 160.79999999999995, 160.60000000000002, 160.60000000000002, 160.0, 159.60000000000002, 159.39999999999998, 158.60000000000002, 158.0, 157.39999999999998, 157.39999999999998, 157.20000000000005, 156.60000000000002, 156.39999999999998, 156.20000000000005, 155.39999999999998, 155.20000000000005, 155.0, 154.39999999999998, 154.20000000000005, 153.39999999999998, 153.20000000000005, 152.39999999999998, 152.0, 151.39999999999998, 150.79999999999995, 150.60000000000002, 150.39999999999998, 149.60000000000002, 148.60000000000002, 148.39999999999998, 147.60000000000002, 147.39999999999998, 146.39999999999998, 145.39999999999998, 144.20000000000005, 144.0, 143.60000000000002, 143.20000000000005, 142.20000000000005, 141.0, 140.39999999999998, 140.0, 139.79999999999995, 138.79999999999995, 138.60000000000002, 138.20000000000005, 137.60000000000002, 137.39999999999998, 136.79999999999995, 136.60000000000002, 135.60000000000002, 135.0, 134.39999999999998, 134.20000000000005, 133.79999999999995, 133.39999999999998, 133.20000000000005, 132.60000000000002, 132.0, 131.79999999999995, 131.39999999999998, 131.0, 130.39999999999998, 130.0, 129.79999999999995, 129.39999999999998, 128.60000000000002, 128.20000000000005, 127.20000000000005, 127.0, 125.79999999999995, 124.60000000000002, 124.39999999999998, 124.0, 123.39999999999998, 123.20000000000005, 122.20000000000005, 121.39999999999998, 121.0, 119.79999999999995, 119.39999999999998, 118.79999999999995, 118.39999999999998, 117.60000000000002, 117.39999999999998, 117.0, 116.60000000000002, 115.79999999999995, 115.39999999999998, 114.60000000000002, 114.39999999999998, 113.20000000000005, 113.0, 112.60000000000002, 112.20000000000005, 112.0, 111.0, 110.79999999999995, 109.79999999999995, 109.60000000000002, 109.39999999999998, 109.0, 108.79999999999995, 108.60000000000002, 108.20000000000005, 107.79999999999995, 107.60000000000002, 107.39999999999998, 106.60000000000002, 106.39999999999998, 105.60000000000002, 105.0, 104.60000000000002, 104.39999999999998, 104.20000000000005, 103.60000000000002, 103.39999999999998, 103.0, 102.39999999999998, 102.0, 101.79999999999995, 101.60000000000002, 101.39999999999998, 101.20000000000005, 101.20000000000005, 100.60000000000002, 100.39999999999998, 100.20000000000005, 100.0, 99.79999999999995, 99.39999999999998, 99.0, 98.0, 98.0, 97.39999999999998, 96.79999999999995, 96.39999999999998, 96.0, 95.79999999999995, 95.20000000000005, 95.0, 94.60000000000002, 94.20000000000005, 93.79999999999995, 93.60000000000002, 93.20000000000005, 92.39999999999998, 92.20000000000005, 91.20000000000005, 90.79999999999995, 90.20000000000005, 89.60000000000002, 89.0, 88.20000000000005, 87.79999999999995, 87.0, 86.60000000000002, 85.60000000000002, 84.60000000000002, 83.60000000000002, 83.39999999999998, 82.60000000000002, 81.79999999999995, 81.39999999999998, 80.20000000000005, 80.0, 79.39999999999998, 79.20000000000005, 78.60000000000002, 78.0, 77.39999999999998, 77.0, 76.0, 75.20000000000005, 74.79999999999995, 74.60000000000002, 73.79999999999995, 73.60000000000002, 73.0, 72.79999999999995, 72.20000000000005, 71.60000000000002, 71.0, 70.79999999999995, 70.60000000000002, 69.39999999999998, 69.20000000000005, 68.39999999999998, 67.79999999999995, 67.20000000000005, 66.60000000000002, 66.20000000000005, 66.0, 65.39999999999998, 65.20000000000005, 64.79999999999995, 64.0, 63.799999999999955, 63.200000000000045, 62.60000000000002, 62.39999999999998, 61.799999999999955, 61.60000000000002, 61.39999999999998, 61.0, 60.60000000000002, 60.200000000000045, 59.799999999999955, 59.39999999999998, 59.200000000000045, 58.60000000000002, 58.39999999999998, 57.60000000000002, 57.39999999999998, 57.200000000000045, nan, 56.39999999999998, 55.799999999999955, 55.60000000000002, 55.39999999999998, 54.0, 53.799999999999955, 53.60000000000002, 52.799999999999955, 52.60000000000002, 51.60000000000002, 51.39999999999998, 50.799999999999955, 50.39999999999998, 50.200000000000045, 49.39999999999998, 48.799999999999955, 48.200000000000045, 47.0, 46.799999999999955, 46.0, 45.799999999999955, 44.799999999999955, 43.60000000000002, 43.39999999999998, 43.0, 42.39999999999998, 42.200000000000045, 42.0, 41.39999999999998, 41.0, 40.200000000000045, 39.799999999999955, 39.200000000000045, 38.200000000000045, 38.0, 37.60000000000002, 37.200000000000045, 37.0, 35.799999999999955, 34.799999999999955, 34.39999999999998, 33.799999999999955, 33.60000000000002, 33.39999999999998, 32.60000000000002, 31.799999999999955, 31.600000000000023, 31.399999999999977, 31.0, 30.600000000000023, 30.399999999999977, 30.200000000000045, 29.799999999999955, 29.399999999999977, 28.600000000000023, 28.399999999999977, 28.200000000000045, 27.600000000000023, 27.399999999999977, 27.200000000000045, 26.0, 25.0, 24.799999999999955, 24.200000000000045, 23.799999999999955, 23.600000000000023, 23.399999999999977, 22.799999999999955, 22.399999999999977, 22.200000000000045, 21.799999999999955, 21.200000000000045, 21.0, 20.799999999999955, 20.0, 19.799999999999955, 19.0, 18.799999999999955, 17.600000000000023, 16.399999999999977, 16.200000000000045, 15.799999999999955, 15.600000000000023, 15.399999999999977, 15.200000000000045, 15.0, 14.399999999999977, 14.200000000000045, 14.0, 13.399999999999977, 13.200000000000045, 12.0, 11.600000000000023, 11.199999999999989, 11.0, 10.0, 9.600000000000023, 8.800000000000011, 8.600000000000023, 8.199999999999989, 7.800000000000011, 7.399999999999977, 7.199999999999989, 7.0, 6.600000000000023, 5.600000000000023, 5.399999999999977, 4.800000000000011, 4.600000000000023, 4.399999999999977, 3.6000000000000227, 3.3999999999999773, 2.8000000000000114, 2.6000000000000227, 1.8000000000000114, 1.3999999999999773, 0.6000000000000227, 0.39999999999997726, -0.19999999999998863, -0.39999999999997726, -9.399999999999977, -14.0, -16.600000000000023, -18.0, -18.80000000000001, -19.399999999999977, -20.399999999999977, -20.80000000000001, -21.0, -21.0, -21.19999999999999, -21.19999999999999, -21.399999999999977, -21.399999999999977, -21.600000000000023, -21.600000000000023, -21.600000000000023, -21.399999999999977, -21.600000000000023, -21.600000000000023, -21.600000000000023, -22.0, -22.0, -22.19999999999999, -22.399999999999977, -22.600000000000023, -22.600000000000023, -22.80000000000001, -23.0, -23.0, -22.80000000000001, -22.80000000000001, -23.0, -23.19999999999999, -23.19999999999999, -23.0, -23.0, -23.0, -23.0, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.0, -23.0, -23.0, -23.0, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.0, -23.399999999999977, -23.19999999999999, -23.399999999999977, -23.399999999999977, -23.399999999999977, -23.399999999999977, -23.600000000000023, -23.399999999999977, -23.19999999999999, -23.399999999999977, -23.399999999999977, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.0, -23.0, -23.19999999999999, -23.19999999999999, -23.0, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.19999999999999, -23.0, -23.19999999999999, -23.0, -22.80000000000001, -22.600000000000023, -22.600000000000023, -23.19999999999999, -23.399999999999977, -23.399999999999977, -23.399999999999977, -23.19999999999999, -23.19999999999999, -23.399999999999977, -23.399999999999977, -23.399999999999977, -23.399999999999977, -23.399999999999977, -23.399999999999977, -23.399999999999977, -23.399999999999977, -23.399999999999977, -23.399999999999977, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan]

Is this expected? Do I have to apply some unit conversion? Since I also get negative values I assume I would need to also add an offset.

Any help would be appreciated. Thanks!

@pR0Ps
Copy link
Collaborator

pR0Ps commented Mar 13, 2021

This looks like a bug. Can you provide a sample file that exhibits this problem please?

@fgebhart
Copy link
Contributor Author

Sure. I was using this file and read the records with code similar to

for record in self.fit.get_messages():
    self.altitude_list.append(record.get("altitude"))

Let me know if you need more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants