Project

General

Profile

Wiki » History » Version 12

Maarten Plieger, 08/29/2016 07:29 AM

1 6 Maarten Plieger
h1. Clipc combine process
2 1 Maarten Plieger
3 12 Maarten Plieger
--- IMPORTANT: At least Python 2.7.9 is needed. This packages uses urllib with client authentication. With older Python versions you will notice SSL errors (CAPATH is not supported) ---
4 12 Maarten Plieger
5 8 Maarten Plieger
This is a tool to combine two NetCDF files or WCS URLS. 
6 8 Maarten Plieger
It is used in the climate4impact by PyWPS as described here: https://dev.knmi.nl/projects/impactportal/wiki/Clipc_Combine_process
7 1 Maarten Plieger
8 4 Maarten Plieger
The tool has several normalize options and can substract,divide, add or multiply datasets. The result is a new NetCDF file.
9 2 Maarten Plieger
10 2 Maarten Plieger
* The repository can be cloned via
11 2 Maarten Plieger
<pre>
12 2 Maarten Plieger
hg clone https://dev.knmi.nl/hg/clipccombine
13 2 Maarten Plieger
</pre>
14 2 Maarten Plieger
In the dist folder the latest distribution release can be found.
15 2 Maarten Plieger
16 5 Maarten Plieger
* Directly installable via 
17 5 Maarten Plieger
<pre>
18 5 Maarten Plieger
easy_install https://dev.knmi.nl/projects/clipccombine/repository/raw/dist/clipc_combine_process-1.1.tar.gz
19 5 Maarten Plieger
</pre>
20 10 Andrej Mihajlovski
21 10 Andrej Mihajlovski
* To create a new distribution
22 10 Andrej Mihajlovski
23 10 Andrej Mihajlovski
Edit and update: https://dev.knmi.nl/projects/clipccombine/repository/entry/setup.py
24 10 Andrej Mihajlovski
25 10 Andrej Mihajlovski
Create the distribution:
26 10 Andrej Mihajlovski
<pre>
27 10 Andrej Mihajlovski
python setup.py sdist
28 10 Andrej Mihajlovski
</pre>
29 10 Andrej Mihajlovski
30 10 Andrej Mihajlovski
* Don't forget to hg add it to the repo!
31 10 Andrej Mihajlovski
32 10 Andrej Mihajlovski
* Distribution appear in https://dev.knmi.nl/projects/clipccombine/repository/show/dist
33 11 Andrej Mihajlovski
34 11 Andrej Mihajlovski
* The WPS wrapper script using this library can be found here:
35 11 Andrej Mihajlovski
36 11 Andrej Mihajlovski
https://dev.knmi.nl/projects/impactportalwpsscripts/repository/entry/clipc_combine_execute.py