Project

General

Profile

Wiki » History » Version 11

Andrej Mihajlovski, 05/12/2016 12:29 PM

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