Coder Social home page Coder Social logo

Comments (3)

gutmann avatar gutmann commented on August 22, 2024

In a nutshell, you need to install the netcdf4-python library to read and write netcdf in python.

Sorry, the python helper scripts aren't well documented. They are provided more because they might help, but they are not all maintained and tested. I figure providing them in some form is more helpful than not providing them at all.

That said, this particular error means that the netcdf4-python library is not installed. The mygis module tries to load netcdf4-python, if that fails, it tries to load pynio. However, the pynio library is not as well supported as the netcdf4 library (by me, not the pynio developers). In this case, it looks like I wrote a function call to a function like the one I have implemented for the more common netcdf4 package, but I haven't actually implemented the function... I don't use pynio anymore so I don't have an easy way to test this and add the functionality (and it's not high on the priority list.)

from icar.

 avatar commented on August 22, 2024

I had installed netcdf4 for my standard python library, but didn't have it installed in the python environment setup for icar (since the helper scripts are written for python2.X and I had python 3.X). Now that netcdf4 is installed in my icar python environment, the helper script worked after ensuring all indices were integers (not floats).

from icar.

gutmann avatar gutmann commented on August 22, 2024

from icar.

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.