Summary: | ebuild request: PyClimate | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | guaka |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | adam.roben, castelao |
Priority: | Lowest | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.pyclimate.org/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Initial proposed ebuild
Ebuild with fixed LICENSE= Fixed SRC_URI= 1.2.1 version with SRC_URI correction Updated SRC_URI, testing information |
Description
guaka
2003-12-08 10:13:06 UTC
looks interesting. maybe if someone who would like to contribute could write an ebuild for this. Created attachment 22898 [details]
Initial proposed ebuild
Here's a pretty standard distutils-type ebuild. Also copies over the test/ and
examples/ directories.
Created attachment 22931 [details]
Ebuild with fixed LICENSE=
Oops, got the LICENSE= field wrong. Now fixed.
Created attachment 22933 [details]
Fixed SRC_URI=
Shoot, introduced a typo into SRC_URI= Now fixed.
Created attachment 24918 [details] 1.2.1 version with SRC_URI correction SRC_URI="http://lcux18.lc.ehu.es/~pyclimate/pyclimate/downloads/${MY_P}.tar.gz" don't exist. Another SRC_URI is proposed. With that can download, compile and install 1.2.1 version. python /usr/share/pyclimate/test/pyclimatetest.py can't run, but cd /usr/share/pyclimate/test; python pyclimatetest.py run until ... Testing routines: diffoperators - 1.1 ============================================================ Testing D.O. with several dimensions with and without PBC... Testing D.O. with 0 to 360 degrees longitudes... Traceback (most recent call last): File "pyclimatetest.py", line 1239, in ? testPyClimate_01_01(nc,overwrite) File "pyclimatetest.py", line 1096, in testPyClimate_01_01 testnewdiffoperators(nc,ovwr) File "pyclimatetest.py", line 826, in testnewdiffoperators compareRMSvals(nc,namex,n3x.astype('f'),ovwr,dims," 3D") File "pyclimatetest.py", line 82, in compareRMSvals residual=ref-val ValueError: frames are not aligned Created attachment 24920 [details]
Updated SRC_URI, testing information
Updated SRC_URI to what is now listed on pyclimate.org. Also changed the
testing information presented at post-install to reflect the above comment.
The instructions are now to run 'cd /usr/share/pyclimate/test && sudo python
pyclimatetest.py'
Note: This does not fix the bug from the previous comment, which I see also.
After a little investigating, here is ref.shape and val.shape (ref-val is the operation causing the TraceBack): ref.shape: (2, 2, 73, 144) val.shape: (2, 2, 71, 144) You can see that the length of the third axes do not match up. This did work for me under Python 2.2.3, but fails on Python 2.3.3 I wonder if that is the trouble? Marking WONTFIX, because his project is meant to a very small group of scientists and i think there isn't general interst in it. Thanks for submission, anyway. |