Giter Site home page Giter Site logo

Comments (4)

Try2Code avatar Try2Code commented on July 20, 2024

Hi!
I (hopefully) fixed this with the latest release 1.3.4? Could you give it a try?

thx in advance

from cdo-bindings.

andreas-h avatar andreas-h commented on July 20, 2024

Thanks for your quick reply! I Installed the 1.3.4 package from Anaconda (btw, the cdo.py still reads 1.3.3), but it doesn't work properly:

In [1]: from cdo import Cdo
Could not load xarray
In [2]: cdo = Cdo()
In [3]: cdo.operators
Out[3]: ['abs']
In [4]: cdo.__version__()
Out[4]: '1.3.3'
In [5]: cdo.version()
Out[5]: '1.8.2'

The same is true for the 1.9.0 binary.

from cdo-bindings.

Try2Code avatar Try2Code commented on July 20, 2024

Ah, now I see. I though you would use the latest release, which has other problems concerning the operator listing.

I guess, the problem does not occur if you hard-code the separator to '\n'. the listing given by CDO itself does not make use of '\r\n' at all. I think the use of 'os.linesep' might have been a really bad type of optimization.
I do not check on cygwin regularly - so it would be nice you could test it for me ;-)

from cdo-bindings.

Try2Code avatar Try2Code commented on July 20, 2024

Some recent testing of the current release 1.4.0 did not reveal this behavior - so I think the ticket can be closed. @andreas-h

from cdo-bindings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.