Giter VIP home page Giter VIP logo

ncagg's People

Contributors

5tefan avatar matilton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ncagg's Issues

TypeError processing global attributes

Issue processing attribute seen with log_level DEBUG... Is this another Python 3 strings related thing?

  File ".../ncagg/attributes.py", line 332, in process_file
    handler[0](attr_val, nc_in)
  File ".../ncagg/attributes.py", line 121, in process
    for each in re.split(", *", attr):
  File ".../python3.7/re.py", line 213, in split
    return _compile(pattern, flags).split(string, maxsplit)
TypeError: expected string or bytes-like object

Support chunksize specification from cli

Sometimes doing one-off aggregations, it's overkill to make a template, but the chunksizes in the input files are not appropriate for aggregation. It would be nice if the cli allowed some kind of chunksize specification.

ncagg issue with click version 7 dependency for progressbar

Incompatibility with Click version 7 because of progressbar. Stack trace below:

Evaluating aggregation list...
Traceback (most recent call last):
  File "/data/backup/anaconda2/bin/ncagg", line 11, in <module>
    sys.exit(cli())
  File "/data/backup/anaconda2/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/data/backup/anaconda2/lib/python2.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/data/backup/anaconda2/lib/python2.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/data/backup/anaconda2/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/data/backup/anaconda2/lib/python2.7/site-packages/ncagg/cli.py", line 173, in cli
    evaluate_aggregation_list(config, aggregation_list, dst, lambda: next(bar))
  File "/data/backup/anaconda2/lib/python2.7/site-packages/ncagg/aggregator.py", line 300, in evaluate_aggregation_list
    callback()
  File "/data/backup/anaconda2/lib/python2.7/site-packages/ncagg/cli.py", line 173, in <lambda>
    evaluate_aggregation_list(config, aggregation_list, dst, lambda: next(bar))
TypeError: ProgressBar object is not an iterator

Reported by Matt C. from SWPC.

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.