Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Daily Temperature Max and Min Time Series in RTMC


jeremy Feb 6, 2013 07:20 PM

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!


jeremy Feb 13, 2013 07:32 PM

Anyone have any ideas on this?


jeremy Feb 13, 2013 08:06 PM

Anyone have any ideas on this?


jeremy Feb 27, 2013 12:25 AM

RTMC professionals, please lend a hand. I am majorly stuck.


LeifJ Jul 18, 2013 03:01 PM

Hi Jeremy,

Did you find a solution for this? I'm also looking to have this option in a RTMC project.


LeifJ Jul 18, 2013 03:01 PM

Hi Jeremy,

Did you find a solution for this? I'm also looking to have this option in a RTMC project.

Log in or register to post/reply in the forum.