Jump to content

sam.webb

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

sam.webb's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • Conversation Starter

Recent Badges

0

Reputation

  1. I'm having some issues with the asset swap behavior in the Python API. I'm attempting to do a profile match using a formula like this: $target.profileSearch($prof, toTime('2021-09-16T20:08:00-06'), toTime('2021-09-17T22:09:00-06'), 99) In this scenario, both $target and $prof come from the same type of asset. I want to switch $target, but keep $prof the same - in other words, train a profile on a signal from one asset, then apply it to an arbitrary number of other assets. However, when I swap the assets, Seeq swaps both the target and the profile to the same asset, rendering the profile useless. I can fix this issue in the GUI by using SPy to create a dummy asset and mapping the profile tag to a dummy attribute in that asset. However, this doesn't work when I use SPy to pull the data directly using an asset list and the 'calculate' parameter. I get the following error: [SPyRuntimeError] To pull data for an asset, the "calculate" parameter must be a calculated item that involves only one asset. What would be the best pattern to use to accomplish what I'm trying to accomplish here? So far I've resisted creating an entire new ghost asset tree for the thousands of assets in my location - I'm hoping there a better path forward than that.
×
×
  • Create New...