Dear colleagues,
I'm using the script below to retrieve some information from a data table. I've read on the help window that the NaN values in the record won't be included in the spatial average. However, we define a constant swath which the data sum is divided. My question is when a NaN value is retrieved and not considered in the spatial average, do the "swath" change also?
For count2 = 1 To 720
tot_Rsh (count2) = radiacao.Rsh_Avg(1,count2)
tot_Rin (count2) = radiacao.Rin_Avg(1,count2)
Next count2
AvgSpa(radiation(1),720,tot_Rsh())
AvgSpa(radiation(3),720,tot_Rin())
Regards,
Francisco Borges.
Hello Francisco,
The value used for Swath in the calculation will be adjusted down, based on the number of NANs.
Dana W.