Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax issue in asaregrid.py? #67

Closed
rsignell-usgs opened this issue Oct 28, 2013 · 1 comment
Closed

Syntax issue in asaregrid.py? #67

rsignell-usgs opened this issue Oct 28, 2013 · 1 comment

Comments

@rsignell-usgs
Copy link

When I try:

git install git+https://github.com/asascience-open/paegan.git

I get the attached SyntaxError from asaregrid.py. Looks like it doesn't like the method="nearest" at the end of the arguments?
pip_git_paegan

@rsignell-usgs
Copy link
Author

Folks,

I'm just tried to create a conda module for paegan, but I'm getting the same syntax error in asaregrid.py:

sgeadmin@master:~$ conda build paegan --build-recipe

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    hdf5-1.8.9                 |                1         1.7 MB
    scipy-0.13.2               |       np17py27_2        28.1 MB
    shapely-1.3.0              |           py27_0         175 KB

The following packages will be linked:

    package                    |            build
    ---------------------------|-----------------
    curl-7.30.0                |                0   hard-link
    distribute-0.6.45          |           py27_1   hard-link
    geos-3.3.3                 |                0   hard-link
    hdf5-1.8.9                 |                1   hard-link
    libnetcdf-4.2.1.1          |                1   hard-link
    netcdf4-1.0.6              |       np17py27_0   hard-link
    numpy-1.7.1                |           py27_2   hard-link
    openssl-1.0.1c             |                0   hard-link
    python-2.7.6               |                0   hard-link
    python-dateutil-2.2        |           py27_0   hard-link
    pytz-2013b                 |           py27_0   hard-link
    readline-6.2               |                2   hard-link
    scipy-0.13.2               |       np17py27_2   hard-link
    shapely-1.3.0              |           py27_0   hard-link
    six-1.5.2                  |           py27_0   hard-link
    sqlite-3.7.13              |                0   hard-link
    system-5.8                 |                1   hard-link
    tk-8.5.13                  |                0   hard-link
    zlib-1.2.7                 |                0   hard-link

...
byte-compiling build/bdist.linux-x86_64/egg/paegan/utils/asamath.py to asamath.pyc
byte-compiling build/bdist.linux-x86_64/egg/paegan/utils/asalist.py to asalist.pyc
byte-compiling build/bdist.linux-x86_64/egg/paegan/utils/asarandom.py to asarandom.pyc
byte-compiling build/bdist.linux-x86_64/egg/paegan/utils/asainterpolate.py to asainterpolate.pyc
byte-compiling build/bdist.linux-x86_64/egg/paegan/utils/asagreatcircle.py to asagreatcircle.pyc
byte-compiling build/bdist.linux-x86_64/egg/paegan/utils/asaregrid.py to asaregrid.pyc
  File "build/bdist.linux-x86_64/egg/paegan/utils/asaregrid.py", line 17
    def __init__(self, *dimensions, method='nearest'):
                                         ^
SyntaxError: invalid syntax

@daf daf closed this as completed in 8367483 Jan 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant