OSKAR icon indicating copy to clipboard operation
OSKAR copied to clipboard

Running the code with one station giving error

Open SoniaGhosh24 opened this issue 2 years ago • 0 comments

Hi, I am using Python 3.8.10. I am trying to run the python code hello-world.py. For my project, I need to simulate visibilities for only one station but when I am trying to do so I am getting the following error:

Traceback (most recent call last):
  File "hello-world.py", line 62, in <module>
    output = imager.run(return_images=1)
  File "/usr/local/lib/python3.8/dist-packages/oskar/imager.py", line 824, in run
    return _imager_lib.run(self._capsule, return_images, return_grids)
RuntimeError: oskar_imager_run() failed with code -115 (data tag not found in file).

But there is no error when I use more than one station for the simulation.I am not sure why this is happening. Please can you help with this issue and also explain how to predict the visibilities of only one station with custom layout?

Thanking you in advance, @fdulwich

SoniaGhosh24 avatar Dec 19 '22 18:12 SoniaGhosh24