I use Stryd for running, not with Stryd Zones but with the "pbRUN Power" app. I defined a metric called RSS, which represents the TSS for the run, that works with Stryd Zones app:
{
relevant {(isRun) && Data contains "P"; }
value { 0.03 * Duration * IF^3.5; }
count { Duration; }
}
The file fit generated by Forerunner 965 + "pbRUN Power" app, instead, once imported in GC, it conteins the power data into the XDATA-DEVELOPER-POWER coloumn and the code doesn't work (RSS is not calculated). If I copy the "Power" column into Basic Data, GC recognizes the power data and correctly calculates the RSS metric (like using Stryd Zones).
How should I modify the code so that it recognize the power data in XDATA-DEVELOPER?
See attached a fit file generated using "pbRUN Power" app.
Thank you in advace.
Andrea
I use Stryd for running, not with Stryd Zones but with the "pbRUN Power" app. I defined a metric called RSS, which represents the TSS for the run, that works with Stryd Zones app:
{
relevant {(isRun) && Data contains "P"; }
value { 0.03 * Duration * IF^3.5; }
count { Duration; }
}
The file fit generated by Forerunner 965 + "pbRUN Power" app, instead, once imported in GC, it conteins the power data into the XDATA-DEVELOPER-POWER coloumn and the code doesn't work (RSS is not calculated). If I copy the "Power" column into Basic Data, GC recognizes the power data and correctly calculates the RSS metric (like using Stryd Zones).
How should I modify the code so that it recognize the power data in XDATA-DEVELOPER?

This code will transfer your power: Indents are important.
if 'Power' in GC.xdataNames("DEVELOPER"):
power = GC.series(GC.SERIES_WATTS)
for i,p in enumerate(GC.xdataSeries("DEVELOPER","Power")):
power[i] = p


