Skip to content

Instantly share code, notes, and snippets.

View gijzelaerr's full-sized avatar
🎯
Focusing

Gijs Molenaar gijzelaerr

🎯
Focusing
View GitHub Profile
"""
functions for calculating theoretical noise levels of LOFAR equipment.
For more information about the math used here read the `sensitivity of the
LOFAR array page
<http://www.astron.nl/radio-observatory/astronomers/lofar-imaging-capabilities-sensitivity/sensitivity-lofar-array/sensiti>`_.
To check the values calculated here one can use this `LOFAR image noise
calculator <http://www.astron.nl/~heald/test/sens.php>`_.
# python batch_test.py
========== Removing files
========== $ rm -fr WSRT.MS* WSRT*img WSRT*fits
========== Running makems
========== $ makems /home/gijs/build/meqtrees-cattery/test/Batchtest/WSRT_makems.cfg
Debug: registered context Global=0
Debug::loadLevels: error opening makems.debug
Created 1 MS part and its VDS file
Created global VDS file WSRT.MS.gds
========== $ mv WSRT.MS_p0 WSRT.MS
python batch_test.py
========== Removing files
========== $ rm -fr WSRT.MS* WSRT*img WSRT*fits
========== Running makems
========== $ makems /home/gijs/build/meqtrees-cattery/test/Batchtest/WSRT_makems.cfg
Debug: registered context Global=0
Debug::loadLevels: error opening makems.debug
2014-02-20 13:15:59 SEVERE MeasTable::dUTC(Double) (file /build/buildd/casacore-1.5.0+svn21411/measures/Measures/MeasTable.cc, line 6657) Leap second table TAI_UTC seems out-of-date.
2014-02-20 13:15:59 SEVERE MeasTable::dUTC(Double) (file /build/buildd/casacore-1.5.0+svn21411/measures/Measures/MeasTable.cc, line 6657)+ Until table is updated (see aips++ manager) times and coordinates
2014-02-20 13:15:59 SEVERE MeasTable::dUTC(Double) (file /build/buildd/casacore-1.5.0+svn21411/measures/Measures/MeasTable.cc, line 6657)+ derived from UTC could be wrong by 1s or more.
Linking CXX shared library libasdmstman.so
/home/gijs/build/casa/branches/installed/lib/libcasa_tables.a(DataManager.cc.o): In function `casa::DataManager::getCtor(casa::String const&)':
DataManager.cc:(.text+0x3284): undefined reference to `casa::DynLib::DynLib(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
DataManager.cc:(.text+0x32d6): undefined reference to `casa::DynLib::~DynLib()'
/home/gijs/build/casa/branches/installed/lib/libcasa_tables.a(DataManager.cc.o): In function `casa::DataManager::doRegisterMainCtor(void*)':
DataManager.cc:(.text+0x39ea): undefined reference to `casa::ValType::struchar'
DataManager.cc:(.text+0x3a5b): undefined reference to `casa::ValType::strshort'
DataManager.cc:(.text+0x3acc): undefined reference to `casa::ValType::strint'
/home/gijs/build/casa/branches/installed/lib/libcasa_table
(disco_8989_master@94799541bab9)1> 14:14:01.658 [info] Starting node "disco_8989_slave" on "localhost" ("localhost")
(disco_8989_master@94799541bab9)1> 14:14:01.792 [error] ** Connection attempt from disallowed node disco_8989_slave@localhost **
(disco_8989_master@94799541bab9)1> 14:14:33.664 [info] Connection timed out to "localhost"
(disco_8989_master@94799541bab9)1> 14:14:48.669 [warning] Restarting monitor for "localhost"
(disco_8989_master@94799541bab9)1> 14:14:48.670 [info] Starting node "disco_8989_slave" on "localhost" ("localhost")
(disco_8989_master@94799541bab9)1> 14:14:48.805 [error] ** Connection attempt from disallowed node disco_8989_slave@localhost **
(disco_8989_master@94799541bab9)1> 14:15:20.678 [info] Connection timed out to "localhost"
(disco_8989_master@94799541bab9)1> 14:15:35.687 [warning] Restarting monitor for "localhost"
15:10:14.134 [error] job submission failed: [{xmerl_ucs,from_utf8,[<<"WARNING: Binary message data: \\x43\\x72\\x65\\x61\\x74\\x65\\x64\\x20\\x6a\\x6f\\x62\\x20\\x22\\x57\\x6f\\x72\\x64\\x43\\x6f\\x75\\x6e\\x74\\x40\\x35\\x37\\x31\\x3a\\x33\\x65\\x32\\x39\\x36\\x3a\\x32\\x30\\x30\\x37\\x63\\x22">>]},{mochijson2,json_encode_string,2},{event_server,event,6},{job_coordinator,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]
15:10:14.134 [error] CRASH REPORT Process <0.204.0> with 0 neighbours exited with reason: "job init error: error:undef" in gen_server:init_it/6
$ disco nodaemon -v
disco settings are:
DDFS_BLOB_REPLICAS = 3
DDFS_DATA = /usr/local/var/disco/ddfs
DDFS_GC_INITIAL_WAIT =
DDFS_GET_MAX = 3
DDFS_PARANOID_DELETE =
DDFS_PUT_MAX = 3
Eshell V5.10.4 (abort with ^G)
(disco_8989_master@43d6436be6fd)1> 12:42:15.080 [info] Application lager started on node disco_8989_master@43d6436be6fd
(disco_8989_master@43d6436be6fd)1> 12:42:15.180 [info] Application inets started on node disco_8989_master@43d6436be6fd
(disco_8989_master@43d6436be6fd)1> 12:42:15.181 [info] DISCO BOOTS
(disco_8989_master@43d6436be6fd)1> 12:42:15.184 [info] Disco proxy disabled
(disco_8989_master@43d6436be6fd)1> 12:42:15.188 [info] DDFS master starts
(disco_8989_master@43d6436be6fd)1> 12:42:15.197 [info] Event server starts
(disco_8989_master@43d6436be6fd)1> 12:42:15.200 [info] Disco config starts
(disco_8989_master@43d6436be6fd)1> 12:42:15.203 [info] DISCO SERVER STARTS
(disco_8989_master@43d6436be6fd)1> 12:42:15.206 [info] Fair scheduler starts
root@d59a37f1779e:/data# find MeerKAT64_0h60s_dec-40_1420MHz_2ch-0.MS
MeerKAT64_0h60s_dec-40_1420MHz_2ch-0.MS
MeerKAT64_0h60s_dec-40_1420MHz_2ch-0.MS/HISTORY
MeerKAT64_0h60s_dec-40_1420MHz_2ch-0.MS/HISTORY/table.dat
MeerKAT64_0h60s_dec-40_1420MHz_2ch-0.MS/HISTORY/table.f0
MeerKAT64_0h60s_dec-40_1420MHz_2ch-0.MS/HISTORY/table.info
MeerKAT64_0h60s_dec-40_1420MHz_2ch-0.MS/HISTORY/table.lock
MeerKAT64_0h60s_dec-40_1420MHz_2ch-0.MS/table.f6_TSM0
MeerKAT64_0h60s_dec-40_1420MHz_2ch-0.MS/table.f2
MeerKAT64_0h60s_dec-40_1420MHz_2ch-0.MS/table.dat
DISCOMASTER_PORT_22_TCP_ADDR=172.17.0.2
DISCOMASTER_NAME=/nostalgic_wozniak/discomaster
DISCOMASTER_PORT_22_TCP_PORT=22
HOSTNAME=c21c7a8a0799
DISCOMASTER_PORT_22_TCP_PROTO=tcp
HOME=/
DISCO_MASTER_HOST=172.17.0.2
DISCOMASTER_PORT_8989_TCP_ADDR=172.17.0.2
DISCOMASTER_PORT_8999_TCP_ADDR=172.17.0.2
DISCOMASTER_PORT_22_TCP=tcp://172.17.0.2:22