README.rst

changeset 8
cf12f8c7838e
parent 7
415d034b0864
child 9
06abef993230
equal deleted inserted replaced
7:415d034b0864 8:cf12f8c7838e
23 23
24 Installation 24 Installation
25 ------------ 25 ------------
26 26
27 The easiest way to install this module is from the python package index using pip: 27 The easiest way to install this module is from the python package index using pip:
28 28
29 pip install scc_access 29 pip install scc_access
30 30
31 See http://docs.python-requests.org/en/latest/user/install/ for more details. 31 See http://docs.python-requests.org/en/latest/user/install/ for more details.
32 32
33 You can also use the script by cloning this mercurial repository. Alternatively, you 33 You can also use the script by cloning this mercurial repository. Alternatively, you
34 can just copy the scc_access.py and and settings.sample.py files to a local 34 can just copy the scc_access.py and and settings.sample.py files to a local
55 55
56 Usage 56 Usage
57 ----- 57 -----
58 58
59 You can upload a file specifying the username and the system id:: 59 You can upload a file specifying the username and the system id::
60 60
61 python scc_access.py 20110101po01.nc 125 61 scc_access 20110101po01.nc 125
62 62
63 If you want to wait for the processing to finish and download the resulting files 63 If you want to wait for the processing to finish and download the resulting files
64 you need to define the -p flag:: 64 you need to define the -p flag::
65 65
66 python scc_access.py 20110101po01.nc 125 -p 66 scc_access.py 20110101po01.nc 125 -p
67 67
68 If you want to delete an existing measurement id from the database use the -d flag and 68 If you want to delete an existing measurement id from the database use the -d flag and
69 the measurement id:: 69 the measurement id::
70 70
71 python scc_access.py -d 20110101po01 71 scc_access.py -d 20110101po01
72 72
73 For more information on the syntax type:: 73 For more information on the syntax type::
74 74
75 python scc_access.py -h 75 scc_access.py -h

mercurial