Hi, I was unable to find these field as they’re exactly what I’m looking for. Are they still available?
Try Activities>>Costum>>Field and search for “Running Time”
Its not a Interval Field, its an Activity Field.
Hi, it looks like I had marked them private while editing them and forgot to make them public again. They are public now and should show up if you search “Time Running” in interval fields. Both versions - the activity field and the interval field should be available.
Awesome! Thank you.
Hi, I have some custom fields in my .fit file
Lap field name: “Lap Run Effectiveness”, field definition number: 201
Record field name: “Run Effectiveness”, field definition number: 200
Can you please help me to expose this data in the custom interval field?
You need to create a custom activity stream for the record field to get it into a trace, then a custom interval field to calculate it for each interval:
Thanks David, was able to bring in the Record field (1 second recording), however I’m still at a loss on how to bring in a Lap / Interval field. Can you help me out with that?
The interval value is calculated from the stream, the laps value from the file is not used. I added an average run effectiveness field for you. The script looks like this:
{
let data = icu.streams.RE
let tot = 0, n = 0
for (let i = interval.start_index; i < interval.end_index; i++) {
let v = data[i]
if (v !== null) {
tot += v
++n
}
}
n > 0 ? tot/n : null
}
To create new interval fields click Fields and then Add Field. You should already see the “Avg RE” I created in the fields list. You can edit it to change colour, label etc…
Hello and thank to you all for such amazing work on this site!
I am trying to add a Ground Contact Time (GCT) field to my intervals from data from my Garmin Forerunner 265. I’ve followed some examples but it seems that this data is not available in the stream via the ‘GCT’ key as it’s throwing a null error:
I know that the data is there for each interval as it can be seen via Garmin Connect
and via the garmin FIT file download (but here it seems to be referenced via avg_stance_time
):
Does anyone have any guidance how to get this working for Garmin Forerunner FIT interval data?
Thanks much!
Just Activity Reanalyze
Hi, thanks for the suggestion!
Apologies if I’m being dense, but I’ve tried re-analyzing and re-processing the activity (with the Processes fit file messages
checkbox both ticked and unticked – not sure how messages
are different from other info in the FIT file) and still the same result: a blank GCT field in interval list data and the TypeError: Cannot read property "data" from null
error when testing the script in the edit field dialog.
I’m curious if @david or others have any input? Thanks much!
Did you create a “GCT” custom stream, based on FIT file record message “stance_time”?
Ah, thanks for the tip! No, I did not realize that was necessary. I’m searching through the forum posts for how to create a custom stream and am not finding that info. Is there a step-by-step guide somewhere?
Activity>>Charts>>Custom Streams choose as exemple Garmin GCT, or others
Yes, that was it! I added the custom stream and re-processed the activity and the GCT values have shown up. I did finally find some posts on Custom Streams (eg this one) but the relationship between the Interval Field and the Activity>>Charts>>Custom Streams wasn’t clear to me. Thanks again for the help @pepe
Keep in mind that Garmin FIT files have the following messages (beside others):
Session messages: Totals and Averages for the Activity
Lap messages: Totals and Averages
Record messages: 1s Stream Metrics and elapsed time metrics
@david , excuse me if this question has been asked (my search yielded zero)….
I created new custom activity and interval fields that only relies on work and cadence (no zone, ftp, etc. metrics), but noticed they only are calculating/displaying for activities on and after the date I created these custom fields.
I have notice they will calculate/display for a previous workout if I open the workout, open the custom field editor, and close the editor by saving; however, it only calculates/displays for that specific workout and not to those workouts that follow.
Is there a way to apply my new fields to calculate/display for all of my previous workouts without updating all of my other zone and other fitness metric information? Thx in advance!
Goto Calendar and switch to activity list. Tick all activities, then edit, analyse again, and it will calculate your custom fields.
Thank you! I’m not sure why I didn’t think of that….I appreciate your help…worked like a charm,
Can’t figure out a way to do this and did not show up in the search for public custom fields: The interval table shows an intensity column, that is the percentage of FTP power for a given interval.
I would like to calculate and show the percentage of the MMP for the specific duration of the interval: for instance for the 4m intervals at 312W it should show 84% (given my 4m MMP from power duration curve being 368W)
Is there a way to do that? (for activities in the past it should ideally use MMP at the time of the activity)