PCG output attribute error

I used PCG to output the height data of plants, but the result I got was incorrect. The manually entered data is fine