Skip to content

PCPCombine: Period Max/Min of -add/-substract fields #2170

Locked Answered by j-opatz
jtv108-wx asked this question in Configuration
Discussion options

You must be logged in to vote

Hello,

And thank you for your question. If I'm understanding correctly, you want to take two separate fields, subtract them in 1 hour intervals, and then find the maximum of those two fields over a 24 hour period? If so, PCPCombine does not have the current capability to solve that issue in one step.

You can accomplish this over multiple calls to PCPCombine: for example, you can request the maximum of two fields, then pass the results back to a new call of PCPCombine to subtract the two maximum fields. You could also do the opposite direction (subtract the two fields every hour, then pass the resulting field back to PCPCombine for a 24 hour maximum).

You can also utilize a Python script t…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jtv108-wx
Comment options

@j-opatz
Comment options

j-opatz May 22, 2023
Collaborator

Answer selected by j-opatz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment