You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a script which repeatedly calls pvector and is supposed to put several pvector plots in one output FITS file. It works fine on one of my computers (a laptop), but fails on several other computers. Each computer is running Linux Mint 18.0 (or 18.3) and each has IRAF version 2.16.1.
I want my students to be able to use the script without me so it's been driving me nuts.
Here are the first 3 lines of the script (only two lines are needed to reproduce failure):
It does create a FITS file, but it only contains one, 1-D image instead of multiple FITS extensions.
And when it succeeds (on the laptop), it has no error message and produces exactly the kind of multi-extension FITS file I'm expecting. I have tried the script with append=yes on each line and it doesn't help. I also use epar to set append=yes in the pvector pars.
I suspect the issue lies with cfitsio or some other libraries but I don't know. Any ideas?
thanks for any help,
Jason
The text was updated successfully, but these errors were encountered:
However, when running the test script with the following test:
# plot - Plot package
## pvector - Plot an arbitrary vector in a 2D image
This is a test for [#42](https://github.com/iraf-community/iraf/issues/42)
(originally reported ad [iraf.net](http://iraf.net/forum/viewtopic.php?showtopic=1469841)
```
cl> plot
cl> pvector dev$pix xc=250 yc=250 theta=235 vec_out=pvec out_typ=image
cl> pvector dev$pix xc=250 yc=251 theta=235 vec_out=pvec out_typ=image
```
I get the same error as reported as above. This also happens when I run these lines with the snapshot release (both interactively and non-interactively). The major difference then is the init script.
The output of the first Fits HDU is identical in both cases, so the problem is the re-opening.
This is copied from iraf.net#1469856 by JCP:
The text was updated successfully, but these errors were encountered: