You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+16-49
Original file line number
Diff line number
Diff line change
@@ -13,62 +13,29 @@ The IQuOD proposal is to set up an open quality control benchmarking system. Wo
13
13
14
14
## Dependencies & Setup:
15
15
16
-
The easiest way to set up AutoQC is via [Docker](https://www.docker.com/); install Docker per their website, and then grab the autoqc image:
16
+
### Local Install
17
17
18
-
```
19
-
docker pull iquod/autoqc
20
-
```
21
-
22
-
Start the image via
18
+
**Tested on Ubuntu 16.04**
23
19
24
-
```
25
-
docker run --sysctl "kernel.shmmax=18446744073692774399" -v $PWD:/rawdata -i -t iquod/autoqc /bin/bash
26
-
```
20
+
To clone this project and set it up, make sure `git` is installed, then:
27
21
28
-
And you'll find AutoQC all set up and ready to use in the directory `/AutoQC`. Note that the version of AutoQC that ships with the docker image may be behind master on GitHub; you can always do `git pull origin master` from the `/AutoQC` directory inside the container, if you need an update. Also, whatever directory you launched this command from will be mounted on `/rawdata` inside your Docker container; use this to bring data into the container, or copy logs and files from within the container to this location to access them after Docker exits.
22
+
```
23
+
$ git clone https://github.com/IQuOD/AutoQC
24
+
$ cd AutoQC
25
+
$ source install.sh
26
+
```
29
27
30
-
If you want to run AutoQC without Docker, have a look at the setup steps in `docker/Dockerfile`; these correspond to the same setup steps you'll need to do on a similar machine (i.e. on Debian with miniconda already installed).
28
+
### Containerized Install
31
29
32
-
Docker makes it very convenient for the project to run AutoQC, but note that the data files to run the full set of AutoQC checks are obtained as detailed below:
30
+
To run AutoQC in a containerized environment, make sure `docker` is installed, then:
33
31
34
-
- EN_bgcheck_info.nc (http://www.metoffice.gov.uk/hadobs/en4) from http://www.metoffice.gov.uk/hadobs/en4/data/EN_bgcheck_info.nc;
35
-
- temperature_seasonal_5deg.nc (https://www.nodc.noaa.gov/OC5/indprod.html) from http://data.nodc.noaa.gov/thredds/fileServer/woa/WOA09/NetCDFdata/temperature_seasonal_5deg.nc;
36
-
- etopo5.nc (http://www.ngdc.noaa.gov/mgg/global/etopo5.HTML) from http://oos.soest.hawaii.edu/thredds/ncss/etopo5?var=ROSE&disableLLSubset=on&disableProjSubset=on&horizStride=1&addLatLon=true;
37
-
- climatological_t_median_and_amd_for_aqc.nc: based on climatological_t_median_and_amd_for_aqc.dat provided by Viktor Gouretski, Integrated Climate Data Center, University of Hamburg, Hamburg, Germany, February 2016.
Anything in `/my/daya/directory` on your machine will be available at `/rawdata` inside the container, and vice versa. Use this to add raw WOD-ASCII data to your container, and add multiple `-v origin:destination` paths to include multiple directories in the same way.
70
37
71
-
And once again, AutoQC will be all set up in `/AutoQC`. Remember to `git pull` if necessary, and add any external data or parameter files to the correct places.
38
+
You may also want to `git pull origin master` inside the `/AutoQC` directory inside your container, to fetch the latest version of the project.
72
39
73
40
## Usage
74
41
@@ -105,7 +72,7 @@ Additionally, there is a column in the table for the qc results of every test fo
105
72
python AutoQC.py tablename nProcessors
106
73
```
107
74
108
-
where `tablename` is the postgres table to pull profiles from (probably the same as `tablename` in the last step), and `nProcessors` is how many processors you'd like to parallelize over
75
+
where `tablename` is the postgres table to pull profiles from (probably the same as `tablename` in the last step), and `nProcessors` is how many processors you'd like to parallelize over.
0 commit comments