I would like to make a time series plot of daily Tmax and Tmin values. I have seen this question posed at least once on the forum, but the solution did not work for me (see code below).
daily = 00:00 - 23:59
Tmax = highest temperature
Tmin = lowest temperature
Specifically: I would like to find the daily max and min extremes and plot them each as separate series. The plot would ultimately be for the previous 30 days. Each day would have one data point for each variable, Tmax and Tmin.
One other thing that will be an issue is the number of samples that this value is calculated from. Ideally, if n values are missing for a day, no max or min values would be recorded for that date
This is the code I am working with now, which does not accomplish what I describe above.
StartAtOffsetFromNewest(30 * nsecPerDay, orderCollected);
alias(temp, "DataFile_1:Table1.Temp2M_Avg");
MaxRunOverTimeWithReset(temp, Timestamp(temp), RESET_DAILY)
Thank you!
Anyone have any ideas on this?
Anyone have any ideas on this?
RTMC professionals, please lend a hand. I am majorly stuck.
Hi Jeremy,
Did you find a solution for this? I'm also looking to have this option in a RTMC project.
Hi Jeremy,
Did you find a solution for this? I'm also looking to have this option in a RTMC project.