Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35356 - ebuild request: PyClimate
Summary: ebuild request: PyClimate
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Lowest enhancement (vote)
Assignee: Python Gentoo Team
URL: http://www.pyclimate.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-12-08 10:13 UTC by guaka
Modified: 2004-07-08 09:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Initial proposed ebuild (pyclimate-1.2.ebuild,1.00 KB, text/plain)
2003-12-31 02:17 UTC, Adam Roben
Details
Ebuild with fixed LICENSE= (pyclimate-1.2.ebuild,1.00 KB, text/plain)
2003-12-31 13:29 UTC, Adam Roben
Details
Fixed SRC_URI= (pyclimate-1.2.ebuild,1.00 KB, text/plain)
2003-12-31 13:49 UTC, Adam Roben
Details
1.2.1 version with SRC_URI correction (pyclimate-1.2.1.ebuild,1.07 KB, text/plain)
2004-02-03 20:06 UTC, Castelão
Details
Updated SRC_URI, testing information (pyclimate-1.2.1.ebuild,1.02 KB, text/plain)
2004-02-03 21:06 UTC, Adam Roben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description guaka 2003-12-08 10:13:06 UTC
"It is a Python package designed to accomplish some usual tasks during the analysis of climate variability using Python. It provides functions to perform some simple IO operations, operations with COARDS-compliant netCDF files, EOF analysis, SVD and CCA analysis of coupled data sets, some linear digital filters, kernel based probability density function estimation and access to DCDFLIB.C library from Python."
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-12-13 16:46:38 UTC
looks interesting. maybe if someone who would like to contribute could write an ebuild for this.
Comment 2 Adam Roben 2003-12-31 02:17:34 UTC
Created attachment 22898 [details]
Initial proposed ebuild

Here's a pretty standard distutils-type ebuild.  Also copies over the test/ and
examples/ directories.
Comment 3 Adam Roben 2003-12-31 13:29:19 UTC
Created attachment 22931 [details]
Ebuild with fixed LICENSE=

Oops, got the LICENSE= field wrong.  Now fixed.
Comment 4 Adam Roben 2003-12-31 13:49:20 UTC
Created attachment 22933 [details]
Fixed SRC_URI=

Shoot, introduced a typo into SRC_URI=	Now fixed.
Comment 5 Castelão 2004-02-03 20:06:57 UTC
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
Comment 6 Adam Roben 2004-02-03 21:06:03 UTC
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.
Comment 7 Adam Roben 2004-02-03 21:12:07 UTC
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?
Comment 8 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-07-08 09:14:39 UTC
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.