Opened 13 years ago

Last modified 13 years ago

#255 assigned defect

RuntimeError: Couldn't convert frequency frame

Reported by: jvazquez@… Owned by: Malte Marquarding
Priority: normal Milestone: Unified development
Component: General Version: 2.0
Severity: normal Keywords:
Cc:

Description

Hello, I am still going not far with ASAP, after some update this is my return:

jose@ubuntu:~$ sudo asap_update_data [sudo] password for jose: Checking if an update is required. Data already at latest available version. If you still get errors running asap, please report this. jose@ubuntu:~$ asap Loading ASAP... Welcome to ASAP v4.0.0 (2011-10-05) - the ATNF Spectral Analysis Package

Please report any bugs via: http://svn.atnf.csiro.au/trac/asap/simpleticket

[IMPORTANT: ASAP is 0-based] Type commands() to get a list of all available ASAP commands.

ASAP>s = scantable('2008-03-12_0932-M999.rpf') Found ATMOPRA data. Auto averaging integrations Importing 2008-03-12_0932-M999.rpf...

ASAP>print s


RuntimeError Traceback (most recent call last)

/home/jose/<ipython console> in <module>()

/usr/lib/pymodules/python2.7/asap/scantable.pyc in str(self)

438 def str(self): 439 tempFile = tempfile.NamedTemporaryFile()

--> 440 Scantable._summary(self, tempFile.name)

441 tempFile.seek(0) 442 asaplog.clear()

RuntimeError: Couldn't convert frequency frame.

ASAP>s = scantable('2008-03-12_0932-M999.rpf') WARN: Requested data table IERSeop97 cannot be found in the searched directories: ./ ./data/ /home/jose/aips++/dataephemerides/ /usr/lib/pymodules/python2.7/asap/dataephemerides/ /usr/local/share/casacore/data/ephemerides/ /usr/local/share/casacore/data/ephemerides/ /home/jose/aips++/datageodetic/ /usr/lib/pymodules/python2.7/asap/datageodetic/ /usr/local/share/casacore/data/geodetic/ /usr/local/share/casacore/data/geodetic/ Cannot read IERS table IERSeop97 Calculations will proceed with lower precision WARN: Requested data table IERSpredict cannot be found in the searched directories: ./ ./data/ /home/jose/aips++/dataephemerides/ /usr/lib/pymodules/python2.7/asap/dataephemerides/ /usr/local/share/casacore/data/ephemerides/ /usr/local/share/casacore/data/ephemerides/ /home/jose/aips++/datageodetic/ /usr/lib/pymodules/python2.7/asap/datageodetic/ /usr/local/share/casacore/data/geodetic/ /usr/local/share/casacore/data/geodetic/ Cannot read IERS table IERSpredict Calculations will proceed with lower precision No requested dUT1 data available from IERS tables. Proceeding with probably less precision. WARN: Requested data table TAI_UTC cannot be found in the searched directories: ./ ./data/ /home/jose/aips++/dataephemerides/ /usr/lib/pymodules/python2.7/asap/dataephemerides/ /usr/local/share/casacore/data/ephemerides/ /usr/local/share/casacore/data/ephemerides/ /home/jose/aips++/datageodetic/ /usr/lib/pymodules/python2.7/asap/datageodetic/ /usr/local/share/casacore/data/geodetic/ /usr/local/share/casacore/data/geodetic/ SEVERE: Cannot read leap second table TAI_UTC WARN: Unable to convert between the input and output SpectralCoordinates this probably means one is in the REST frame which requires the radial velocity - this is not implemented yet WARN: Requested data table TAI_UTC cannot be found in the searched directories: ./ ./data/ /home/jose/aips++/dataephemerides/ /usr/lib/pymodules/python2.7/asap/dataephemerides/ /usr/local/share/casacore/data/ephemerides/ /usr/local/share/casacore/data/ephemerides/ /home/jose/aips++/datageodetic/ /usr/lib/pymodules/python2.7/asap/datageodetic/ /usr/local/share/casacore/data/geodetic/ /usr/local/share/casacore/data/geodetic/ SEVERE: Cannot read leap second table TAI_UTC WARN: Unable to convert between the input and output SpectralCoordinates this probably means one is in the REST frame which requires the radial velocity - this is not implemented yet Found ATMOPRA data. Auto averaging integrations Importing 2008-03-12_0932-M999.rpf...

Thanks for any light...

ASAP>

Change History (10)

comment:1 by Malte Marquarding, 13 years ago

Owner: changed from Malte Marquarding to Malte Marquarding
Status: newassigned

Have you looked in any of the suggested directories.

You said you were running it inside casa? What does this return?

ls `python -c 'import asap; print asap.__path__[0]'`/data

in reply to:  description comment:2 by jvazquez@…, 13 years ago

Replying to jvazquez@…:

Hello, I am still going not far with ASAP, after some update this is my return:

jose@ubuntu:~$ sudo asap_update_data [sudo] password for jose: Checking if an update is required. Data already at latest available version. If you still get errors running asap, please report this. jose@ubuntu:~$ asap Loading ASAP... Welcome to ASAP v4.0.0 (2011-10-05) - the ATNF Spectral Analysis Package

Please report any bugs via: http://svn.atnf.csiro.au/trac/asap/simpleticket

[IMPORTANT: ASAP is 0-based] Type commands() to get a list of all available ASAP commands.

ASAP>s = scantable('2008-03-12_0932-M999.rpf') Found ATMOPRA data. Auto averaging integrations Importing 2008-03-12_0932-M999.rpf...

ASAP>print s


RuntimeError Traceback (most recent call last)

/home/jose/<ipython console> in <module>()

/usr/lib/pymodules/python2.7/asap/scantable.pyc in str(self)

438 def str(self): 439 tempFile = tempfile.NamedTemporaryFile()

--> 440 Scantable._summary(self, tempFile.name)

441 tempFile.seek(0) 442 asaplog.clear()

RuntimeError: Couldn't convert frequency frame.

ASAP>s = scantable('2008-03-12_0932-M999.rpf') WARN: Requested data table IERSeop97 cannot be found in the searched directories: ./ ./data/ /home/jose/aips++/dataephemerides/ /usr/lib/pymodules/python2.7/asap/dataephemerides/ /usr/local/share/casacore/data/ephemerides/ /usr/local/share/casacore/data/ephemerides/ /home/jose/aips++/datageodetic/ /usr/lib/pymodules/python2.7/asap/datageodetic/ /usr/local/share/casacore/data/geodetic/ /usr/local/share/casacore/data/geodetic/ Cannot read IERS table IERSeop97 Calculations will proceed with lower precision WARN: Requested data table IERSpredict cannot be found in the searched directories: ./ ./data/ /home/jose/aips++/dataephemerides/ /usr/lib/pymodules/python2.7/asap/dataephemerides/ /usr/local/share/casacore/data/ephemerides/ /usr/local/share/casacore/data/ephemerides/ /home/jose/aips++/datageodetic/ /usr/lib/pymodules/python2.7/asap/datageodetic/ /usr/local/share/casacore/data/geodetic/ /usr/local/share/casacore/data/geodetic/ Cannot read IERS table IERSpredict Calculations will proceed with lower precision No requested dUT1 data available from IERS tables. Proceeding with probably less precision. WARN: Requested data table TAI_UTC cannot be found in the searched directories: ./ ./data/ /home/jose/aips++/dataephemerides/ /usr/lib/pymodules/python2.7/asap/dataephemerides/ /usr/local/share/casacore/data/ephemerides/ /usr/local/share/casacore/data/ephemerides/ /home/jose/aips++/datageodetic/ /usr/lib/pymodules/python2.7/asap/datageodetic/ /usr/local/share/casacore/data/geodetic/ /usr/local/share/casacore/data/geodetic/ SEVERE: Cannot read leap second table TAI_UTC WARN: Unable to convert between the input and output SpectralCoordinates this probably means one is in the REST frame which requires the radial velocity - this is not implemented yet WARN: Requested data table TAI_UTC cannot be found in the searched directories: ./ ./data/ /home/jose/aips++/dataephemerides/ /usr/lib/pymodules/python2.7/asap/dataephemerides/ /usr/local/share/casacore/data/ephemerides/ /usr/local/share/casacore/data/ephemerides/ /home/jose/aips++/datageodetic/ /usr/lib/pymodules/python2.7/asap/datageodetic/ /usr/local/share/casacore/data/geodetic/ /usr/local/share/casacore/data/geodetic/ SEVERE: Cannot read leap second table TAI_UTC WARN: Unable to convert between the input and output SpectralCoordinates this probably means one is in the REST frame which requires the radial velocity - this is not implemented yet Found ATMOPRA data. Auto averaging integrations Importing 2008-03-12_0932-M999.rpf...

Thanks for any light...

ASAP>

in reply to:  description comment:3 by anonymous, 13 years ago

Replying to [ticket:255}

data table TAI_UTC cannot be found and Requested data table IERSeop97.

all these within ASAP, and sometimes within CASA. In CASA it seems to run but returned empty plots.

comment:4 by Malte Marquarding, 13 years ago

The only thing I can think of now is that you have environment variables pointing to the wrong place.

could you send the output of

env |grep CASAPATH

to this ticket please.

comment:5 by jvazquez@…, 13 years ago

hi,

my home directory is

jose@ubuntu:~$ pwd
/home/jose

the content of this directory is

jose@ubuntu:~$ ls
asap          Downloads         Music      systemquotient.py   unixstuff
ASAPexamples  ipython.log~      orion.dat  systemquotient.pyc  Videos
astro-varios  leidenASTRO       Pictures   Telescopes
backups       mon.asap          Public     Templates
Desktop       mon.asap.tar      RADIO      tutorial.py
Documents     mopra_dualif.rpf  sim        Ubuntu One

The path for ASAP is

jose@ubuntu:~$ ls `python -c 'import asap; print asap.__path__[0]'`/data

__init__.py  __init__.pyc  ipythonrc-asap  ipy_user_conf.py  ipy_user_conf.pyc

jose@ubuntu:~$

I have CASA placed in path

jose@ubuntu:~$ export PATH=$PATH:/usr/local/bin/CASA/casapy-32.1.15198-001-64b

When typed ASAP in jose@ubuntu:~$ the following prompts

Loading ASAP...
Welcome to ASAP v4.0.0 (2011-10-05) - the ATNF Spectral Analysis Package

Please report any bugs via:
http://svn.atnf.csiro.au/trac/asap/simpleticket

[IMPORTANT: ASAP is 0-based]
Type commands() to get a list of all available ASAP commands.

ASAP>

on the other hand when typed CASA the following prompts

jose@ubuntu:~$ casapy -py
CASA Version 3.2.1 (r15198)
  Compiled on: Fri 2011/05/27 02:52:18 UTC
casaviewer: could not start Xvfb
___________________________________________________________________
    For help use the following commands:
    tasklist               - Task list organized by category
    taskhelp               - One line summary of available tasks
    help taskname          - Full help for task
    toolhelp               - One line summary of available tools
    help par.parametername - Full help for parameter name
    Single Dish sd* tasks are available after asap_init() is run   
___________________________________________________________________
Activating auto-logging. Current session state plus future input saved.
Filename       : ipython.log
Mode           : backup
Output logging : False
Raw input log  : False
Timestamping   : False
State          : active

CASA <2>:

Do you think, that I have all my folders mix-up?

Thanks,

Jose

comment:6 by Malte Marquarding, 13 years ago

ls `python -c 'import asap; print asap.__path__[0]'`/data

clearly shows that the 'data' hasn't been installed into asap.

what is the output of

python -c 'import asap; print asap.__path__[0]
which asap

and as I asked last time

env |grep CASAPY

comment:7 by Malte Marquarding, 13 years ago

Also just send me the output of

env

comment:8 by jvazquez@…, 13 years ago

hi,

When typed env I have:

jose@ubuntu:~$ env |grep CASAPATH
jose@ubuntu:~$

But when typed without CASA I have:

jose@ubuntu:~$ env
ORBIT_SOCKETDIR=/tmp/orbit-jose
SSH_AGENT_PID=1405
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=51b324a929def34d07307dc600000007-1318643556.27704-824262188
WINDOWID=58720294
GNOME_KEYRING_CONTROL=/tmp/keyring-k8XSBg
GTK_MODULES=canberra-gtk-module
USER=jose
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
SSH_AUTH_SOCK=/tmp/keyring-k8XSBg/ssh
SESSION_MANAGER=local/ubuntu:@/tmp/.ICE-unix/1370,unix/ubuntu:/tmp/.ICE-unix/1370
USERNAME=jose
DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
DESKTOP_SESSION=gnome
PWD=/home/jose
GDM_KEYBOARD_LAYOUT=us
GNOME_KEYRING_PID=1351
LANG=en_US.UTF-8
GDM_LANG=en_US
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
UBUNTU_MENUPROXY=libappmenu.so
COMPIZ_CONFIG_PROFILE=ubuntu
GDMSESSION=gnome
SHLVL=1
HOME=/home/jose
LANGUAGE=en_US:en
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=jose
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-VtC7jMyDPz,guid=7a2afb4c8d4a628e7ce9210500000033
LESSOPEN=| /usr/bin/lesspipe %s
WINDOWPATH=7
DISPLAY=:0
LESSCLOSE=/usr/bin/lesspipe %s %s
COLORTERM=gnome-terminal
XAUTHORITY=/var/run/gdm/auth-for-jose-ilSBlr/database
_=/usr/bin/env
jose@ubuntu:~$ 

...and the path for ASAP is:

jose@ubuntu:~$ ls `python -c 'import asap; print asap.__path__[0]'`
asapfit.py          _asap.so              ipysupport.py
asapfit.pyc         compatibility.py      ipysupport.pyc
asapfitter.py       compatibility.pyc     lagflagger.py
asapfitter.pyc      coordinate.py         lagflagger.pyc
asaplinefind.py     coordinate.pyc        linecatalog.py
asaplinefind.pyc    customgui_base.py     linecatalog.pyc
asaplotbase.py      customgui_base.pyc    logging.py
asaplotbase.pyc     customgui_qt4agg.py   logging.pyc
asaplotgui_gtk.py   customgui_qt4agg.pyc  opacity.py
asaplotgui_gtk.pyc  customgui_tkagg.py    opacity.pyc
asaplotgui.py       customgui_tkagg.pyc   parameters.py
asaplotgui.pyc      data                  parameters.pyc
asaplotgui_qt4.py   env.py                scantable.py
asaplotgui_qt4.pyc  env.pyc               scantable.pyc
asaplot.py          flagplotter.py        selector.py
asaplot.pyc         flagplotter.pyc       selector.pyc
asapmath.py         __init__.py           simplelinefinder.py
asapmath.pyc        __init__.pyc          simplelinefinder.pyc
asapplotter.py      interactivemask.py    utils.py
asapplotter.pyc     interactivemask.pyc   utils.pyc
jose@ubuntu:~$

I did some synchronization for tables of time as suggested by CASA pages:

jose@ubuntu:~$ rsync -avz rsync.aoc.nrao.edu::casadata .

comment:9 by Malte Marquarding, 13 years ago

could you also send me the result of:

sudo env

comment:10 by Malte Marquarding, 13 years ago

and

python -c 'import asap, os; print os.environ'

and

sudo python -c 'import asap, os; print os.environ'

Note: See TracTickets for help on using tickets.