Giter Site home page Giter Site logo

an_example about m_mhw1.0 HOT 4 OPEN

zijiezhaommhw avatar zijiezhaommhw commented on July 24, 2024
an_example

from m_mhw1.0.

Comments (4)

pittwolfe avatar pittwolfe commented on July 24, 2024

I get a similar error on the same line using Matlab 2018a, except my error is The logical indices in position 3 contain a true value outside of the array bounds and it occurs for i = 366.
It seems like its trying to read a time outside the bounds of my input data, but the climatology range I have it is well inside my data.
My climatological range is Jan 1 1990 to Dec 31 1995, which contains a leap year.

from m_mhw1.0.

Marina-red avatar Marina-red commented on July 24, 2024

In version 2019b my error disappeared

from m_mhw1.0.

pittwolfe avatar pittwolfe commented on July 24, 2024

It turns out that my problem was that my "time" variable had days and hours in it rather than just full days, which confused the search. Might be worth putting in a line to round the times to whole days to avoid this in the future.

from m_mhw1.0.

ZijieZhaoMMHW avatar ZijieZhaoMMHW commented on July 24, 2024

@pittwolfe Thanks for the suggestion. We would make the change in the future.

from m_mhw1.0.

Related Issues (14)

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.