Comments (7)
please use 'pip' for installation of netCDF4 (and possibly cdo.py). this should solve these kind of problems.
from cdo-bindings.
Thanks for your suggestion. I used pip to install netCDF4 and the cdo bindings (pip install netCDF4 and pip install cdo) prior to getting these errors.
from cdo-bindings.
ah, ok, sorry - you mentioned that both modules are installed in the same directory and that's usually not the case with pip AFAIK.
i would run some simple tests with netcdf4, only. a manual installation of netcdf4 might help, too
from cdo-bindings.
did a X-check on a MacOS-system i have access to, but wasn't able to re-produce this error. I used
cdo-1.9.5
cdo.py-1.4.0
Python 3.6.4 | packaged by conda-forge | (default, Dec 23 2017, 16:54:01)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cdo
>>> c = cdo.Cdo()
>>> t = c.topo(returnArray='topo')
>>> print(t)
[[ 2783.3333 2783.3333 2783.3333 ... 2783.3333 2783.3333 2783.3333]
[ 2939. 2937. 2934.3333 ... 2946. 2944. 2941.3333]
[ 3068.3333 3066.3333 3064.3333 ... 3074. 3072. 3070.3333]
...
[-1531. -1552.3334 -1589. ... -1436.6666 -1467.6666 -1502.3334]
[-3007. -2986.3333 -2986.3333 ... -3263. -3154. -3060.6667]
[-4117.6665 -4114.6665 -4112. ... -4134.3335 -4127.6665 -4122. ]]
from cdo-bindings.
is this solved now?
from cdo-bindings.
from cdo-bindings.
allright, then I close this ticket
please feel free to approach me in case you need further help
from cdo-bindings.
Related Issues (20)
- wrapper does not find cdo in conda env HOT 5
- temp files aren't deleted HOT 21
- Support converting .dat file to .nc file HOT 8
- Apply new syntax for calls with mutiple inputs HOT 24
- Segmentation fault when using bindings HOT 1
- Process using cdo cannot be ctrl-C'd HOT 7
- Feature request: PyCDO for/from Bash HOT 3
- New release on PyPI HOT 5
- cdo=Cdo() #####FileNotFoundError: [WinError 2] HOT 3
- Mention how the bindings are supported in python-cdo package from conda-forge HOT 2
- threaded cdo HOT 6
- help(cdo.<operator name>) does not work anymore
- cdo-bindings fail with cdo2.0.0 HOT 2
- `muldpm` was `muldpy` in conda cdo HOT 1
- Hi sir,I am trying to install python-cdo by using "conda create -n cdo_test python=3 cdo python-cdo" and it shows error. HOT 2
- Python binding captures "kill" and "KeyboardInterrupt" signals in all processes after initialization HOT 4
- Hard coded `-s` HOT 2
- Can not initialize Cdo object for CDO version 1.9.10 HOT 5
- clarify license of `cdo-bindings` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdo-bindings.