Open xiaoluo1314 opened 10 years ago
Do you actually have an Observatories file? It should be in the geodetic directory.
On 14-05-26 09:45 PM, xiaoluo1314 wrote:
Got it.But I have some questions about this,my settings are as follows: 1.[root@astronomy Desktop]# ls -a . .. .casarc CUDAWP engine.csv Gridding.csv performance.csv [root@astronomy Desktop]# cat .casarc measures.directory:/opt/data 2.[root@astronomy data]# ls -l total 36 drwxrwxr-x. 8 root root 4096 May 27 17:36 alma drwxrwxr-x. 4 root root 4096 May 27 17:36 catalogs drwxrwxr-x. 5 root root 4096 May 27 17:36 demo drwxrwxr-x. 11 root root 4096 May 27 17:36 ephemerides drwxrwxr-x. 12 root root 4096 May 27 17:36 geodetic drwxrwxr-x. 4 root root 4096 May 27 17:36 gui drwxrwxr-x. 4 root root 4096 May 27 17:36 nrao -rw-r--r--. 1 root root 152 May 27 17:36 version 3.[root@astronomy bin]# ./mt-imager 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371) Requested data table Observatories cannot be found in the searched directories: 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./data/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/aips++/data//ephemerides/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/data//ephemerides/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/ephemerides/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/ephemerides/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/aips++/data//geodetic/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/data//geodetic/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/geodetic/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/geodetic/ 2014-05-27 12:42:45 SEVERE MeasTable::initObservatories() (file /root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot read table of Observatories terminate called after throwing an instance of 'casa::AipsError' what(): 2014-05-27 12:42:45 SEVERE MeasTable::initObservatories() (file /root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot read table of Observatories Aborted (core dumped)
— Reply to this email directly or view it on GitHub https://github.com/ska-sa/mt-imager/issues/12.
Of course.You see: 1.[root@astronomy Observatories]# pwd /opt/data/geodetic/Observatories 2.[root@astronomy Observatories]# ls csrh_i_cycle1.cfg table.dat table.f0 table.f1 table.info table.lock 3.the csrh_i_cycle1.cfg file is our program's antenna configuration file.
Your .casarc should be in your home directory (\root) and not in the Desktop directory. Note that you could have also configured the directory during compilation of Casacore
Regards Daniel
On Tue, May 27, 2014 at 7:54 AM, xiaoluo1314 notifications@github.comwrote:
Of course.You see: 1.[root@astronomy Observatories]# pwd /opt/data/geodetic/Observatories 2.[root@astronomy Observatories]# ls csrh_i_cycle1.cfg table.dat table.f0 table.f1 table.info table.lock 3.the csrh_i_cycle1.cfg file is our program's antenna configuration file.
— Reply to this email directly or view it on GitHubhttps://github.com/ska-sa/mt-imager/issues/12#issuecomment-44238216 .
[root@astronomy ~]# cat .casarc measures.directory:/opt/data [root@astronomy ~]# cd /opt/data [root@astronomy data]# ls -l total 36 drwxrwxr-x. 8 root root 4096 May 27 17:36 alma drwxrwxr-x. 4 root root 4096 May 27 17:36 catalogs drwxrwxr-x. 5 root root 4096 May 27 17:36 demo drwxrwxr-x. 11 root root 4096 May 27 17:36 ephemerides drwxrwxr-x. 12 root root 4096 May 27 17:36 geodetic drwxrwxr-x. 4 root root 4096 May 27 17:36 gui drwxrwxr-x. 4 root root 4096 May 27 17:36 nrao drwxr-xr-x. 16 root root 4096 May 26 17:09 sun0922.ms -rw-r--r--. 1 root root 152 May 27 17:36 version Then help me see aboves Is the configuration correct? Thanks.
Looks OK to me - you might want to put a space between 'measures.directory:' and '/opt/data' in your .casarc file.
By the way - you seem to be running as 'root' to execute application level software. That 's an (almost) guaranteed way to destroy your system at some time when you make a typing mistake!
On 14-05-27 11:25 PM, xiaoluo1314 wrote:
[root@astronomy ~]# cat .casarc measures.directory:/opt/data [root@astronomy ~]# cd /opt/data [root@astronomy data]# ls -l total 36 drwxrwxr-x. 8 root root 4096 May 27 17:36 alma drwxrwxr-x. 4 root root 4096 May 27 17:36 catalogs drwxrwxr-x. 5 root root 4096 May 27 17:36 demo drwxrwxr-x. 11 root root 4096 May 27 17:36 ephemerides drwxrwxr-x. 12 root root 4096 May 27 17:36 geodetic drwxrwxr-x. 4 root root 4096 May 27 17:36 gui drwxrwxr-x. 4 root root 4096 May 27 17:36 nrao drwxr-xr-x. 16 root root 4096 May 26 17:09 sun0922.ms -rw-r--r--. 1 root root 152 May 27 17:36 version Then help me see aboves Is the configuration correct? Thanks.
— Reply to this email directly or view it on GitHub https://github.com/ska-sa/mt-imager/issues/12#issuecomment-44369921.
Got it.But I have some questions about this,my settings are as follows: 1.[root@astronomy Desktop]# ls -a . .. .casarc CUDAWP engine.csv Gridding.csv performance.csv [root@astronomy Desktop]# cat .casarc measures.directory:/opt/data 2.[root@astronomy data]# ls -l total 36 drwxrwxr-x. 8 root root 4096 May 27 17:36 alma drwxrwxr-x. 4 root root 4096 May 27 17:36 catalogs drwxrwxr-x. 5 root root 4096 May 27 17:36 demo drwxrwxr-x. 11 root root 4096 May 27 17:36 ephemerides drwxrwxr-x. 12 root root 4096 May 27 17:36 geodetic drwxrwxr-x. 4 root root 4096 May 27 17:36 gui drwxrwxr-x. 4 root root 4096 May 27 17:36 nrao -rw-r--r--. 1 root root 152 May 27 17:36 version 3.[root@astronomy bin]# ./mt-imager 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371) Requested data table Observatories cannot be found in the searched directories: 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./data/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/aips++/data//ephemerides/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/data//ephemerides/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/ephemerides/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/ephemerides/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/aips++/data//geodetic/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/data//geodetic/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/geodetic/ 2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/geodetic/ 2014-05-27 12:42:45 SEVERE MeasTable::initObservatories() (file /root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot read table of Observatories terminate called after throwing an instance of 'casa::AipsError' what(): 2014-05-27 12:42:45 SEVERE MeasTable::initObservatories() (file /root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot read table of Observatories Aborted (core dumped)