Skip to content

Commit 81dc5a3

Browse files
committed
env capture and travis
1 parent b848428 commit 81dc5a3

File tree

2 files changed

+42
-40
lines changed

2 files changed

+42
-40
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
- docker
77

88
before_install:
9-
- docker image pull iquod/autoqc:ubuntu-16.04
9+
- docker image pull iquod/autoqc:ubuntu-18.04
1010

1111
script:
12-
- docker container run -v $PWD:/AutoQC_latest iquod/autoqc:ubuntu-16.04 bash -c "cp /AutoQC/data/* /AutoQC_latest/data/.; cd /AutoQC_latest; /usr/local/bin/nosetests tests/*.py"
12+
- docker container run -v $PWD:/AutoQC_latest iquod/autoqc:ubuntu-18.04 bash -c "cp /AutoQC/data/* /AutoQC_latest/data/.; cd /AutoQC_latest; /usr/local/bin/nosetests tests/*.py"

install.sh

+40-38
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,51 @@
22
# from inside AutoQC, run `bash install.sh`
33

44
# install apt-get packages
5-
sudo apt-get update -y
6-
sudo apt-get install -y nano bzip2 wget unzip \
7-
python2.7=2.7.12-1ubuntu0~16.04.3 \
8-
python-pip \
9-
libhdf5-serial-dev=1.8.16+docs-4ubuntu1 \
10-
libnetcdf-dev=1:4.4.0-2 \
11-
python-dev=2.7.12-1~16.04 \
12-
libgl1-mesa-glx=18.0.5-0ubuntu0~16.04.1 \
13-
python-qt4=4.11.4+dfsg-1build4 \
14-
python-tk=2.7.12-1~16.04
5+
apt-get update -y
6+
apt-get install -y nano bzip2 wget unzip \
7+
python3.6 \
8+
python3-pip \
9+
libhdf5-serial-dev \
10+
libnetcdf-dev \
11+
python3-dev \
12+
libgl1-mesa-glx
13+
#python-qt4=4.12.1+dfsg-2 \
14+
#python-tk=2.7.12-1~16.04
1515

1616
# install python packages
17-
pip install Shapely==1.6.2 \
18-
netCDF4==1.3.1 \
19-
matplotlib==2.1.1 \
20-
pyproj==1.9.5.1 \
17+
pip3 install Shapely==1.6.4.post2 \
18+
netCDF4==1.5.1.2 \
19+
matplotlib==3.1.0 \
20+
pyproj==2.1.3 \
2121
pandas==0.21.1 \
22-
scipy==0.18.0 \
23-
numpy==1.11.1 \
24-
mkl==2018.0.3
25-
pip install seabird==0.8.0 \
22+
scipy==0.18.1 \
23+
mkl==2019.0
24+
pip3 install seabird==0.11.0 \
2625
gsw==3.0.3 \
27-
scikit-fuzzy==0.3 \
28-
oceansdb==0.6.0 \
29-
cotede==0.18.0 \
30-
wodpy==1.5.0
26+
scikit-fuzzy==0.4.1 \
27+
oceansdb==0.8.6 \
28+
cotede==0.19.2 \
29+
wodpy==1.6.1 \
30+
numpy==1.11.3
3131

3232
# Add AutoQC parameter files
33-
cd data
34-
wget http://www.metoffice.gov.uk/hadobs/en4/data/EN_bgcheck_info.nc
35-
wget http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA09/NetCDFdata/temperature_seasonal_5deg.nc
36-
wget "http://oos.soest.hawaii.edu/thredds/ncss/etopo5?var=ROSE&disableLLSubset=on&disableProjSubset=on&horizStride=1&addLatLon=true" -O etopo5.nc
37-
wget http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/temperature/netcdf/decav/5deg/woa13_decav_t13_5dv2.nc
38-
wget http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/temperature/netcdf/decav/5deg/woa13_decav_t14_5dv2.nc
39-
wget http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/temperature/netcdf/decav/5deg/woa13_decav_t15_5dv2.nc
40-
wget http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/temperature/netcdf/decav/5deg/woa13_decav_t16_5dv2.nc
41-
wget https://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/salinity/netcdf/decav/5deg/woa13_decav_s13_5dv2.nc
42-
wget https://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/salinity/netcdf/decav/5deg/woa13_decav_s14_5dv2.nc
43-
wget https://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/salinity/netcdf/decav/5deg/woa13_decav_s15_5dv2.nc
44-
wget https://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/salinity/netcdf/decav/5deg/woa13_decav_s16_5dv2.nc
45-
wget ftp://ftp.aoml.noaa.gov/phod/pub/bringas/XBT/AQC/AOML_AQC_2018/data_center/woa13_00_025.nc
46-
wget https://s3-us-west-2.amazonaws.com/autoqc/climatological_t_median_and_amd_for_aqc.nc
47-
cd ..
33+
# note many of these links are broken; we leave them here until replacements are found,
34+
# and bake the corresponding data files into the containerized environment for posterity.
35+
#cd data
36+
#wget http://www.metoffice.gov.uk/hadobs/en4/data/EN_bgcheck_info.nc
37+
#wget http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA09/NetCDFdata/temperature_seasonal_5deg.nc
38+
#wget "http://oos.soest.hawaii.edu/thredds/ncss/etopo5?var=ROSE&disableLLSubset=on&disableProjSubset=on&horizStride=1&addLatLon=true" -O etopo5.nc
39+
#wget http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/temperature/netcdf/decav/5deg/woa13_decav_t13_5dv2.nc
40+
#wget http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/temperature/netcdf/decav/5deg/woa13_decav_t14_5dv2.nc
41+
#wget http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/temperature/netcdf/decav/5deg/woa13_decav_t15_5dv2.nc
42+
#wget http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/temperature/netcdf/decav/5deg/woa13_decav_t16_5dv2.nc
43+
#wget https://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/salinity/netcdf/decav/5deg/woa13_decav_s13_5dv2.nc
44+
#wget https://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/salinity/netcdf/decav/5deg/woa13_decav_s14_5dv2.nc
45+
#wget https://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/salinity/netcdf/decav/5deg/woa13_decav_s15_5dv2.nc
46+
#wget https://data.nodc.noaa.gov/thredds/fileServer/woa/WOA13/DATAv2/salinity/netcdf/decav/5deg/woa13_decav_s16_5dv2.nc
47+
#wget ftp://ftp.aoml.noaa.gov/phod/pub/bringas/XBT/AQC/AOML_AQC_2018/data_center/woa13_00_025.nc
48+
#wget https://s3-us-west-2.amazonaws.com/autoqc/climatological_t_median_and_amd_for_aqc.nc
49+
#cd ..
4850

4951
export OCEANSDB_DIR=$PWD/data/
50-
echo export 'OCEANSDB_DIR='$PWD'/data/' >> $HOME/.bashrc
52+
echo export 'OCEANSDB_DIR='$PWD'/data/' >> $HOME/.bashrc

0 commit comments

Comments
 (0)