Thanks
Some results, each pair represents the Yield and Moisture average in 5 unit blocks
The first block before the ... represents 8 blocks of 5. The last block is the last 8 blocks of 5
Check manually to make sure it is alright.
The code is simple, but I am still concerned about 'end-wrapping'
It seems that you have 40 blocks per row, so if the number of blocks is not divisible by 5,then you can't wrap the end or one rows values to the beginning of the next, so you have to return a truncated average.
Advise on any anomolies
Sample results
ym
array([( 35.59, 16.9 ), ( 61.14, 16.9 ), (122.4 , 16.9 ), (188.36, 16.9 ), (260.38, 16.9 ), (289.45, 16.08), (259.13, 16.08), (242.38, 16.08),
..., (208.47, 15.86), (230.03, 15.86), (221.9 , 15.86), (229.2 , 15.86), (224.42, 15.86), (233.92, 15.86), (206.63, 15.86), (218.36, 15.86)], dtype=[('Yield', '<f8'), ('Moisture', '<f8')])
What field is it you want the summary on? I currently have it in array format for processing
I have deleted the lock file from the folder.
Got it.... for others, make sure you delete the lock file before you try to use it
Can you please check now. It's here.
This is the problem we talked about in our meeting. There could be different polygons in each row. For the first pass of the harvester there could be 10000 points (later converted to polygons), may for the second pass, it could be 10003. They are inconsistency. I have attached the data here. I also provided details of the problem here.
The reason that I ask, is because each row may or may not be equally divisible by 5, so I wondered if there was a Row, Column indicator/key in the table to facilitate the groupings. If you had a sample of the table, even a hundred rows or so, it would be easier to show you
Hi Dan,
They are in sequential order in the attribute table and their location is from left to right (I might be wrong though). Can you please tell me how can I do the sequential sum in the grouping of 5?
Are they in a sequential order within your attribute table? And if so, is the pattern left to right, left to right.
Are all 1/4 million fields in one table?
It would be quite simple to produce a sequential sum in groupings of 5 if that was the case.
There are several means, but clarification would help
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.