Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible performance issue with netCDF3 files #25

Closed
dopplershift opened this issue Feb 26, 2014 · 1 comment
Closed

possible performance issue with netCDF3 files #25

dopplershift opened this issue Feb 26, 2014 · 1 comment

Comments

@dopplershift
Copy link
Member

From a...@pml.ac.uk on October 05, 2009 10:45:10

I believe I may have discovered a performance issue, although it may well
be a case of me doing something unusual. I have created a minimal test
case, attached.

In the attached script, I create a netCDF3 classic file, with 3 dimensions,
and create 100 variables, each with a single attribute. As you should be
able to see from the output of the script, the time taken to insert each
attribute grows rapidly - at the end, it is taking about 10 seconds to
insert a single attribute. However, if I set the output format to NETCDF4,
the problem goes away.

My software versions:
netCDF 4.0.1
netcdf4-python 0.8.2
hdf5 1.8.1

Attachment: test.py

Original issue: http://code.google.com/p/netcdf4-python/issues/detail?id=25

@dopplershift
Copy link
Member Author

From whitaker.jeffrey@gmail.com on February 25, 2014 18:04:09

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant