I wrote the near-field to files and then created a near-field source and tried to run the calculation of the far field. I am getting the following error:

I recorded the near field of the horn in cylindrical coordinates:

Then I created a near-field source with exactly the same parameters (as it seems to me):

Then I get the above error. Is there a problem with different coordinate systems? The point is that I tried to write the near-field source as a sphere and create the source as a sphere. But the result is the same.