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

Periods() function giving error #11

Open
bradley-meldrum-fhr opened this issue Jun 6, 2022 · 0 comments
Open

Periods() function giving error #11

bradley-meldrum-fhr opened this issue Jun 6, 2022 · 0 comments

Comments

@bradley-meldrum-fhr
Copy link

The UDF UI is giving me an error when I try to include a periods() function. I would like to have 2 inputs to my TestFunction() be the $window and $frequency (both defined as scalars). When I try to create the period condition using those inputs it says that "duration must have time units at 'periods'"

I can get it to work if I use .convertUnits('d') to tack on a unit of "days" but then when I try to use anything other than days in my inputs it gives me an error saying that the periods function requires an integer input. The conversion from my starting units to days usually results in a decimal number.

image

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

1 participant