diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 3bac706..571aea8 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -20,10 +20,10 @@ jobs: - name: Build cfitsio run: | # Install dependencies - curl "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.48.tar.gz" -o cfitsio.tar.gz + curl "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz" -o cfitsio.tar.gz tar -xf cfitsio.tar.gz rm cfitsio.tar.gz - cd cfitsio-3.48 + cd cfitsio-3.49 # Enabling SSE2/SSSE3 could cause portability problems, but it's unlikely that anyone # is using such a CPU... # https://stackoverflow.com/questions/52858556/most-recent-processor-without-support-of-ssse3-instructions @@ -51,10 +51,10 @@ jobs: - name: Build cfitsio run: | # Install dependencies - curl "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.48.tar.gz" -o cfitsio.tar.gz + curl "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz" -o cfitsio.tar.gz tar -xf cfitsio.tar.gz rm cfitsio.tar.gz - cd cfitsio-3.48 + cd cfitsio-3.49 # Enabling SSE2/SSSE3 could cause portability problems, but it's unlikely that anyone # is using such a CPU... # https://stackoverflow.com/questions/52858556/most-recent-processor-without-support-of-ssse3-instructions diff --git a/CHANGELOG.md b/CHANGELOG.md index f6581e2..ca7ae9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ Changes in each release are listed below. +## 0.6.2 25-Mar-2021 (Pre-release) + +* Modified MWA Legacy read code to produce cotter-compatible visibilities: + * mwalib differs from cotter: cotter produces 0+0j for XY on auto's, mwalib provides the values. + * mwalib and cotter differ from pyuvdata: mwalib/cotter visibilities are conjugated with respect to pyuvdata for cross correlations. +* Added cotter validation data and test to ensure conversion code produces cotter equivalent visibilities (with the above exception). +* Provide rust-fitsio's cfitsio-static feature. +* Bumped fitsio dependency to 0.17.* and changed fitsio-sys to ^0 to ensure fitsio and mwalib use the same fitsio-sys version always. +* Updated CI pipeline: bumped install of cfitsio to v3.49. +* Made error handling code a little lighter. + ## 0.6.1 08-Mar-2021 (Pre-release) * Fixed za (zenith angle) calculation. diff --git a/Cargo.toml b/Cargo.toml index fa8a031..0ec8a19 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ cfitsio-static = ["fitsio-sys/fitsio-src"] [dependencies] chrono = "0.4.*" fitsio = "0.17.*" -fitsio-sys = "0.4.*" +fitsio-sys = "^0" # fitsio also uses fitsio-sys so ensure we both use the same lazy_static = "1.4.*" libc = "0.2.*" # Allow downstream users to select the rayon version to use. diff --git a/examples/build_c_examples.sh b/examples/build_c_examples.sh index 1ad93e0..5561302 100755 --- a/examples/build_c_examples.sh +++ b/examples/build_c_examples.sh @@ -2,6 +2,8 @@ set -eux +cargo build --release + # Compile the example C code gcc -O3 \ mwalib-print-obs-context.c \ diff --git a/tools/make_release.sh b/tools/make_release.sh index 116d42f..252d60b 100755 --- a/tools/make_release.sh +++ b/tools/make_release.sh @@ -13,7 +13,7 @@ rm -rf ../target rm -rf release echo "Building mwalib..." export MWALIB_LINK_STATIC_CFITSIO=1 -cargo build --release -v +cargo build --release echo "Packaging up mwalib..." mkdir -p release mkdir -p release/lib