01-28-2021 05:01 AM
Hi,
I have a measurement file from a weather station. This station measure all 30 mn a temperature, a solar radiation.
I want to integrate the solar radiation over one day (or for the last 48 value) , each day .
Have you a idea how to do this in a script ?
Thank you for your help
01-28-2021 10:13 AM
Hi,
If you have the time channel, it is quite easy.
Let:
The code is:
ChnIntegrate("Group/TimeChan", "Group/MeasChan", "Group/IntChan", "TrapezoidalRule", 0, False, 0)
You can also access the integral function by GUI from Analysis Panel (from top menu, choose Basic -> Integrate)
02-01-2021 09:01 AM
Hi panta1978,
This method is going if you want to integrate the complete channel.
I want to integrate the last 48 points or measurement. In the smooth function you can choose the number of sample (only previous channel and 48 points for example).
I search the same function for integrating the last 48 measurements.
regards