Opened 14 years ago

Last modified 14 years ago

#212 assigned defect

On OSX 10.6: IERSpredict not found despite successfully running asap_update_data

Reported by: balt.indermuehle@… Owned by: Malte Marquarding
Priority: normal Milestone: ASAP 3.0
Component: General Version: 2.0
Severity: blocker Keywords:
Cc:

Description (last modified by Malte Marquarding)

Then, when running my reduction scripts, these are the messages, the script fails finally on average_pols (which may or may not be related). The same script runs fine on kaputar.

010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)	Requested data table IERSpredict cannot be found in the searched directories:
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	./
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	./data/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/Users/balt/aips++/data//ephemerides/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/Library/Python/2.6/site-packages/asap/data//ephemerides/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/local/mar637/pyenv/share/casacore/data/ephemerides/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/local/mar637/pyenv/share/casacore/data/ephemerides/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/Users/balt/aips++/data//geodetic/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/Library/Python/2.6/site-packages/asap/data//geodetic/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/local/mar637/pyenv/share/casacore/data/geodetic/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/local/mar637/pyenv/share/casacore/data/geodetic/
2010-09-23 05:50:35	INFO	MeasIERS::initMeas(MeasIERS::Files) 	Cannot read IERS table IERSpredict
2010-09-23 05:50:35	INFO	MeasIERS::initMeas(MeasIERS::Files) +	Calculations will proceed with lower precision
2010-09-23 05:50:35	INFO	MeasTable::dUT1(Double) 	No requested dUT1 data available from IERS tables. 
2010-09-23 05:50:35	INFO	MeasTable::dUT1(Double) +	Proceeding with probably less precision.
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)	Requested data table TAI_UTC cannot be found in the searched directories:
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	./
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	./data/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/Users/balt/aips++/data//ephemerides/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/Library/Python/2.6/site-packages/asap/data//ephemerides/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/local/mar637/pyenv/share/casacore/data/ephemerides/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/local/mar637/pyenv/share/casacore/data/ephemerides/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/Users/balt/aips++/data//geodetic/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/Library/Python/2.6/site-packages/asap/data//geodetic/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/local/mar637/pyenv/share/casacore/data/geodetic/
2010-09-23 05:50:35	WARN	MeasIERS::fillMeas(MeasIERS::Files, Double) (file measures/Measures/MeasIERS.cc, line 309)+	/local/mar637/pyenv/share/casacore/data/geodetic/
2010-09-23 05:50:35	SEVERE	MeasTable::dUTC(Double) (file measures/Measures/MeasTable.cc, line 6295)	Cannot read leap second table TAI_UTC
2010-09-23 05:50:35	WARN	CoordinateUtil::makeFrequencyMachine	Unable to convert between the input and output SpectralCoordinates
2010-09-23 05:50:35	WARN	CoordinateUtil::makeFrequencyMachine+	this probably means one is in the REST frame which requires
2010-09-23 05:50:35	WARN	CoordinateUtil::makeFrequencyMachine+	the radial velocity - this is not implemented yet
2010-09-23 05:50:35	SEVERE	CoordinateUtil::makeFrequencyMachine	A trial conversion failed - something wrong with frequency conversion machine
2010-09-23 05:50:35	SEVERE	CoordinateUtil::makeFrequencyMachine	A trial conversion failed - something wrong with frequency conversion machine

Aligned at reference Epoch 2010/09/21/13:04:07 (UTC) in frame BARY
Traceback (most recent call last):
  File "./process.py", line 41, in <module>
    iav = av.average_pol(weight='tsys')
AttributeError: 'NoneType' object has no attribute 'average_pol'

Change History (2)

comment:1 by Malte Marquarding, 14 years ago

Description: modified (diff)
Owner: changed from Malte Marquarding to Malte Marquarding
Status: newassigned

Hi Balt,

could you place the output of the following here in this ticket:

which python
which asap_update_data
which asap
python -c "import sys; print sys.path"
python -c "from asap import *"
ls /Library/Python/2.6/site-packages/
ls /Library/Python/2.6/site-packages/asap
ls /Library/Python/2.6/site-packages/asap/data

comment:2 by balt.indermuehle@…, 14 years ago

Unicorn:~ balt$ which python /Library/Frameworks/Python.framework/Versions/Current/bin/python Unicorn:~ balt$ which asap_update_data /Library/Frameworks/Python.framework/Versions/Current/bin/asap_update_data Unicorn:~ balt$ which asap /Library/Frameworks/Python.framework/Versions/Current/bin/asap Unicorn:~ balt$ python -c "import sys; print sys.path" [, '/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages'] Unicorn:~ balt$ python -c "from asap import *" /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/numerix/init__.py:18: DeprecationWarning: matplotlib.numerix and all its subpackages are deprecated. They will be removed soon. Please use numpy instead.

warnings.warn(msg, DeprecationWarning)

Unicorn:~ balt$ ls /Library/Python/2.6/site-packages/ README asap easy-install.pth ipython-0.10-py2.5.egg ipython-0.10-py2.6.egg ipython-0.9.1-py2.5.egg ipython-0.9.1-py2.6.egg matplotlib-0.99.1.1-py2.6-macosx-10.6-universal.egg numpy-1.2.1-py2.5-macosx-10.3-i386.egg numpy-1.4.1rc3-py2.6-macosx-10.6-universal.egg pytz-2010h-py2.6.egg setuptools-0.6c9-py2.6.egg setuptools.pth Unicorn:~ balt$ ls /Library/Python/2.6/site-packages/asap init.py asaplot.py asapreader.py opacity.py init.pyc asaplotbase.py compatibility.py scantable.py _asap.so asaplotgui.py coordinate.py selector.py asapfit.py asaplotgui_gtk.py data simplelinefinder.py asapfitter.py asapmath.py lagflagger.py asaplinefind.py asapplotter.py linecatalog.py Unicorn:~ balt$ ls /Library/Python/2.6/site-packages/asap/data ipy_user_conf.py ipythonrc-asap

Note: See TracTickets for help on using tickets.