diff --git a/docker-compose/lofar-device-base/Dockerfile b/docker-compose/lofar-device-base/Dockerfile index 2cc3aeb197bc6428e607d0bd8ec4f2dcfa475155..2f9d12ebd4a207f93d4412c2fbc2b31cdcf6fa69 100644 --- a/docker-compose/lofar-device-base/Dockerfile +++ b/docker-compose/lofar-device-base/Dockerfile @@ -6,10 +6,13 @@ RUN sudo apt-get update && sudo apt-get install -y git && sudo apt-get clean COPY lofar-requirements.txt /lofar-requirements.txt RUN sudo pip3 install -r /lofar-requirements.txt -# install and use ephimerides and geodetic ("measures") tables for casacore +# install and use ephimerides and geodetic ("measures") tables for casacore. +# we install a _stub_ since the tables need to be deployed explicitly from within the software. RUN sudo mkdir -p /opt/IERS && sudo chmod a+rwx /opt/IERS -RUN IERS_DIRNAME=IERS-`date +%FT%T` && mkdir -p /opt/IERS/${IERS_DIRNAME} && ln -sfT /opt/IERS/${IERS_DIRNAME} /opt/IERS/current -RUN cd /opt/IERS/current && curl ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar | tar xz +ARG IERS_DIRNAME=IERS-1970-0101T00:00:00-stub +COPY WSRT_Measures_stub /opt/IERS/${IERS_DIRNAME} +RUN ln -sfT /opt/IERS/${IERS_DIRNAME} /opt/IERS/current + COPY casarc /home/tango/.casarc ENV TANGO_LOG_PATH=/var/log/tango diff --git a/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.dat b/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.dat new file mode 100644 index 0000000000000000000000000000000000000000..bc00ed3ee6d2eed34d9b02f755c07429a78a0980 Binary files /dev/null and b/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.dat differ diff --git a/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.f0 b/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.f0 new file mode 100644 index 0000000000000000000000000000000000000000..60f2139e506a2e278c9600170c1013488aa42201 Binary files /dev/null and b/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.f0 differ diff --git a/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.info b/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.info new file mode 100644 index 0000000000000000000000000000000000000000..62db44592e98cff62f07dbc6c4c9092dd1ab81d6 Binary files /dev/null and b/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.info differ diff --git a/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.lock b/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.lock new file mode 100644 index 0000000000000000000000000000000000000000..87dc3b3fdb54598a55a3cedcb6ca1b35081d70d4 Binary files /dev/null and b/docker-compose/lofar-device-base/WSRT_Measures_stub/geodetic/TAI_UTC/table.lock differ