Giter Site home page Giter Site logo

Comments (5)

martinclaus avatar martinclaus commented on August 21, 2024

This is related to scipy/scipy#3630
I already fixed it in my fork, push request is coming up.

from cdo-bindings.

Try2Code avatar Try2Code commented on August 21, 2024

Thanks for your work! The changes look great

from cdo-bindings.

Try2Code avatar Try2Code commented on August 21, 2024

I took over your changes without further testing. Meanwhile I merged some python3 related changes in, but I could not get rid off a segvault when using python2 and scipy in the test_phc test from the test suite.

test_phc is not an official test, but I'd like to fix it, too. Could you give me a hint, that goes wrong?

Thanks in advance!

from cdo-bindings.

martinclaus avatar martinclaus commented on August 21, 2024

I tried to reproduce the segvault with 739db2c, but I can't. I crafted a test dataset using following ferret script

def ax/x=-180E:180E:5 lon
def ax/y=90S:90N:5 lat
def ax/z=0:1000:200 depth
def gr/x=lon/y=lat/z=depth gout
set gr gout
let TempO = IF i/2 EQ int(i/2) THEN x+y+z
let SO = IF i/2 eq int(i/2) THEN x-y+z
cancel mode upcase_output
save/file=test_phc.nc/clobber TempO, SO

With this dataset, the test runs perfectly. Can you find out, which line in test_cdo.py is actually producing the segmentation fault?

from cdo-bindings.

Try2Code avatar Try2Code commented on August 21, 2024

changes available in the new release 1.2.4

thanks for your help again!

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.