Hi all,
I would like to know if there is a command line to display the number of samples that is used to calculate the Average.
This is for the NDVI calculation with a filter on the PAR radiation for filtering.
With a Scanrate every 30sec, I do the following:
If PAR > 500 Then
NDVI = (NiR - red) / (NiR + red)
EndIf
Each day, at midnight, the datalogger stores the NDVI mean as following:
DataTable (NDVI_day,True,-1)
DataInterval(0,1,Day,0)
Average(1,NDVI,FP2,False)
StdDev(1,NDVI,FP2,False)
EndTable
So when PAR < 500, there is non NDVI value. At the daytime scale, how can I retrieve the number of values that are used to calculate the daily average?
Daniel
With the example you've given, the number of samples is:
1 day * 24 hr/day * 60 min/hr * 2 samples/min = 2880 samples per "average"
Ok, you're right. I have to put a DisVar in my table as following:
If PAR > 500 Then
NDVI_DisVar = False
NDVI = (NiR - red) / (NiR + red)
NDVI_smpl = 1
Else
NDVI_DisVar = True
EndIf
Each day, at midnight, the datalogger stores the NDVI mean as following:
DataTable (NDVI_day,True,-1)
DataInterval(0,1,Day,0)
Average(1,NDVI,FP2,NDVI_DisVar)
StdDev(1,NDVI,FP2,NDVI_DisVar)
Totalize(1,NDVI_smpl,FP2,NDVI_DisVar)
EndTable
Is it OK?