Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ERROR: MWCS: dimension mismatch (mw_open)

 
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF
View previous topic :: View next topic  
Author Message
coelho



Joined: 19 Mar 2007
Posts: 1

PostPosted: Thu Nov 15, 2007 12:15 pm    Post subject: ERROR: MWCS: dimension mismatch (mw_open) Reply with quote

Hi Everybody

Please, I can't open a fits file with IRAF (v 2.12). I
received the following error message :
cl> splot eohi079.fits
cl > ERROR: MWCS: dimension mismatch (mw_open)

Thank you
Back to top
View user's profile Send private message
valdes
IRAF Guru


Joined: 11 Nov 2005
Posts: 676

PostPosted: Mon Dec 10, 2007 10:36 pm    Post subject: Reply with quote

Hi,

This is a common error message with spectra. What it means is that the WCS is 2D where the axes are coupled. This usually is the result of having a celestial WCS; i.e. an RA/DEC WCS. See

http://iraf.net/phpBB2/viewtopic.php?t=84378

For a previous reply.

Yours,
Frank Valdes
Back to top
View user's profile Send private message
bgandersson



Joined: 27 Mar 2011
Posts: 3
Location: SOFIA/USRA

PostPosted: Sun Mar 27, 2011 2:14 am    Post subject: Reply with quote

valdes wrote:
Hi,

This is a common error message with spectra. What it means is that the WCS is 2D where the axes are coupled. This usually is the result of having a celestial WCS; i.e. an RA/DEC WCS. See

http://iraf.net/phpBB2/viewtopic.php?t=84378

For a previous reply.

Yours,
Frank Valdes


Frank (or whoever): This just started happening to me too, but the only thing I did was to upgrade from v2.13 to v2.15 and I get the error message for a .ms.imh file.

Trying to do a >imhead, I get a permission error:

onedspec> imhead IC63_11_HWP0d.ms.imh l+
IC63_11_HWP0d.ms.imh: No write permission on file (String_File)
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Mon Mar 28, 2011 5:50 am    Post subject: Reply with quote

See both of:

http://iraf.net/phpBB2/viewtopic.php?t=90476
http://iraf.net/phpBB2/viewtopic.php?t=90345

If neither of these explains your problem please post a sample image to the anonftp at ftp://iraf.noao.edu/pub
Back to top
View user's profile Send private message
bgandersson



Joined: 27 Mar 2011
Posts: 3
Location: SOFIA/USRA

PostPosted: Wed Mar 30, 2011 12:03 am    Post subject: access to /iraf/imdirs Reply with quote

So, I think the "dimension mismatch" is a red herring, and that likely the issue if something with priv.s and directory structures, since if I try to plot a 1D spectrum I get a

mscred> splot BGAnd_spclass_new.imh
ERROR: Cannot open image (BGAnd_spclass_new.imh)

while if I try to plot a line from a multi-dimentsional image I get

mscred> splot ALrj070066.imh
ERROR: MWCS: dimension mismatch (mw_open)

What I did was to replace the /iraf/iraf directory structure with the v2.15 binaries, but leaving /iraf/imdirs intact. I checked the login.cl file and the pointer to imdirs is correct. If I restore the v2.13 structure, from backup, things work fine again (but of course that means I don't have the up-to-date version) So it seems I'm breaking some link or resetting some access privilege by inserting the v2.15 binaries somehow.

I've checked the owner and privileges on the directory and they look OK.

What am I missing?
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Thu Mar 31, 2011 6:13 pm    Post subject: Reply with quote

I hope you're not saying you installed only the v2.15 binaries ?? If there are permission or header problems it would be with the image files, not the iraf installation, however you definitely need to do a full install of IRAF and not just update the binaries.

Otherwise, it would help if you could upload the image or at least post an image header.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.11 seconds