Git Product home page Git Product logo

gdio's People

Contributors

carlosedso avatar dependabot[bot] avatar rodri90y avatar ryam-ctempo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

vhmarrafon

gdio's Issues

zero-dimensional arrays cannot be concatenated error

/tmp/ipykernel_1986/4082312226.py in
6
7 io = IO(verbose=True)
----> 8 ds = io.load_data(config, run=True)
9
10 dat = ds.get('cfs')

/storage/users/rodrigo/projetos/spectral_fingerprint/library/io.py in load_data(self, conf, run)
87 cut_time=batch.get('cut_time'),
88 sort_before=True,
---> 89 inplace=True)
90
91 _dat.update({batch.get('name'): dio })

~/.conda/envs/coral/lib/python3.7/site-packages/gdio/core.py in mload(self, files, vars, merge_files, cut_time, cut_domain, level_type, filter_by, uniformize_grid, sort_before, rename_vars, inplace)
326 elif key in ['ref_time']:
327 ref_time += timedelta(days=t_units)
--> 328 data[key] = np.concatenate((data[key], [ref_time]))
329
330 logging.warning('''io.load_nc > missing file applying null grid''')

<array_function internals> in concatenate(*args, **kwargs)

ValueError: zero-dimensional arrays cannot be concatenated

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.