Coder Social home page Coder Social logo

How can I read array of Structures? about pydap HOT 3 OPEN

pydap avatar pydap commented on June 15, 2024
How can I read array of Structures?

from pydap.

Comments (3)

laliberte avatar laliberte commented on June 15, 2024

Unfortunately, after some tests, I must conclude that this type of dataset is not currently supported by pydap. It will require substantial code modification to work so I think it is unlikely to become available in the near future. I'd say that this issue should remain opened until a suitable code modification is made available.

from pydap.

laliberte avatar laliberte commented on June 15, 2024

I have been having a look at this issue over the last few days and made somewhat little headway. This is made difficult by the fact that the current data model always grabs data from the simplest datatype in the hierarchy. However, this example server shows clearly that this is not how the DAP2 standard should work: one cannot fetch subcomponents of a StructureType that has a shape; instead one has to fetch all subcomponents of said StructureType for a slice of the data and THEN extract the desired subcomponent.
This will require a fairly comprehensive re-organisation of the pydap data model. If my preliminary tests are right, it might be possible to do this without changing much of the public API (at least what seems to be implicitly considered a public API). I expect this should take a couple of weeks, if things go smoothly...

from pydap.

hyoklee avatar hyoklee commented on June 15, 2024

Thanks @laliberte for working hard on this issue.

from pydap.

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.