Code Monkey home page Code Monkey logo

Comments (3)

tdrwenski avatar tdrwenski commented on June 8, 2024

I believe isUnlimited means that the dimension has a size but can grow and isVariableLength means the size is not currently known, see here. So perhaps isVariableLength is more what you are looking for?

from netcdf-java.

tdrwenski avatar tdrwenski commented on June 8, 2024

Actually, let me walk back my last comment a bit-- I don't know if you should use isVariableLength here-- it is usually used as the dimension for a variable that is a "ragged array" (see "VLEN" section here if you are interested).

But regardless, the behavior of isUnlimited that you show is correct-- you need to specify a starting length for the dimension, though it is allowed to grow.

from netcdf-java.

ddshd avatar ddshd commented on June 8, 2024

But regardless, the behavior of isUnlimited that you show is correct-- you need to specify a starting length for the dimension, though it is allowed to grow.

Is it possible to grow the variable after the file is already out of define mode? I'm facing an issue where it's not possible to write an array of 1D data greater than the size of the unlimited variable's initial variable.

Is it expected that we must know the max size of data we need to write (and to set it as the initial value of the unlimited variable) before going out of define mode?

from netcdf-java.

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.