added an open_nc context manager which allow efficient exploration of
netCDF files without loading it, implementation close to netCDF4
still need testing on write
added a clean test_read function to test reading an example netCDF file with read_nc
rearrange reading netCDF test as a class, testing for both read_nc and
open_nc forms
add labels attribute to dataset, for consistency with DimArray
summary() : now print information to screen
see summary_repr to have the equivalent string representation
test_nc.py : new indexing test on reading for VariableOnDisk class +
bugfixes
added a dimarray.testing module
write_nc can now write character arrays to netCDF4
test_nc further developped
open_nc also work in write mode, but without indexing (for now)
improved examples and test, broken
intermediate commit - save progress
put netCDF default write format in dimarray.config
work in progress:
- prettyprinting.py : concentrate various representations functions
- various classes broken down, in view of unifying DimArray and
  DimArrayOnDisk, Dataset and DatasetOnDisk
- unique Indexable class that handle the tricky indexing part
- now the functions read_nc and so one are simply wrapper around the
  classes
- major changes:
    - DimArray, Dataset, Axis derive from the same abstract class
      whether in-memory or on-disk
    - unified indexing
    - greatly simplified and sped-up indexing and reindex_axis using numpy
    searchsorted
    - metadata now stored in an `attrs` attribute, while still
      supporting `.` syntax
- Still much debuggin to do, run tests and so on
a number of bug fixes
bug fixes
added doc, solved last issues with netCDF I/O with unicode / str
test_nc runs through
added take_axis function with mode parameter
All tests in tests/ pass !
Used xray orthogonal indexer since it was cleaner/easier to read than what was used in
dimarray so far.
now also use index_expander from xray
==> required to use () instead of slice(None) as default indexer
This works even for zero-dimension arrays.
Fix from slice(None) to () from within netCDF4
cleaned up a few useless functions
many bugfixes, all tests now pass except for readthedocs
Changes include:
- set_axis : improved in Axis, DimArray, Dataset
- Axis : as_axis method that initialize an axis with more options,
such as (name, value) tuple ==> useful for type checking when appending
axis with Axes.append
- Axes : behaviour closer to a list: __init__, append methods.
__setitem__ method only work for existing axes
- netCDF I/O : creation of new axes and variables now happens in the
  DatasetOnDisk and AxesOnDisk classes, whereas DimArrayOnDisk and
AxisOnDisk classes simply set the values / update the value of the new
variables. This is more consistent with the list-behaviour of the Axes (on-disk) class.
- DatasetOnDisk.write method accepts compression parameters.
- documentation improved in many places
fixed bug for boolean indexing in Axis
added compress_axis in the same as way as take_axis, to take advantage
of numpy's compress method