5tefan / ncagg Goto Github PK
View Code? Open in Web Editor NEWAggregate NetCDF time series data.
Home Page: https://ncagg.readthedocs.io/en/latest/
License: MIT License
Aggregate NetCDF time series data.
Home Page: https://ncagg.readthedocs.io/en/latest/
License: MIT License
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
From initial glance, this might be caused by some subtle changes to cftime behavior. Needs investigation and resolution.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.