Installation
Installation on Linux is recommended, but it is also known to work on Windows and macOS. On macOS the command line interface should be used with bash, not the default zsh, which is not compatible with the syntax.
Requirements:
- Python 3, or a Python distribution such as Anaconda
To install ds-format and dependencies:
pip3 install ds-format
If installing as a non-root user on Linux, you might have to add
$HOME/.local/bin
to the PATH environment variable in ~/.profile
(or an
equivalent configuration file) in order to be able to run the ds
command,
and $HOME/.local/share/man
to MANPATH in order to have access to the manual
pages.
Release notes
3.5.0 (2022-11-26)
- merge: Fixed handling of missing variables.
- type: Fixed handling of string variables.
- hdf: Fixed handling of type of string variables.
- Minor fixes and improvements in documentation.
3.4.0 (2022-11-22)
- readdir: Added recursive option.
- Improved documentation.
3.3.3 (2022-11-13)
- Fixed storing of missing values.
3.3.2 (2022-11-13)
- Fixed setting of dataset attributes in the ds storage format.
3.3.1 (2022-11-10)
- Fixed package imports in new Python.
- Fixed missing required package.
- Minor improvements in the documentation.
3.3.0 (2022-10-16)
- Basic support for CSV.
- Improved documentation.
- meta: Argument naming more consistent with the rest of the API.
- group_by: Fixed argument checking.
- Fixed JSON encoding of NumPy arrays.
3.2.0 (2022-10-09)
- Support for HDF5.
- Fixes in ds cat JSON output.
- Fixes in the NetCDF driver.
3.1.0 (2022-10-05)
- Support for JSON output in commands.
3.0.0 (2022-09-30)
- New commands and Python API functions.
- Version 1.0 of the storage format (incompatible with the previous experimental format).
- Support for empty variables.
- pst output in commands instead of JSON.
- Improved argument checking.
- Improved documentation and command help.
- Support for variables beginning with a dot (in the ds storage format).
- Improved support for missing values.
- Glob pattern matching of variable, attribute and dimension names in commands.
- Support for error reporting modes.
2.0.1 (2022-09-26)
- Fixed missing package in setup.py (Markdown).
2.0.0 (2022-07-31)
- Command line documentation and man pages.
- Command output in PST format.
- ds ls: Added
a:
attrs option. - New ds file format (experimental).
- Documentation website.
1.1.2 (2022-01-01)
- Fixed handling of NetCDF time variables.
- Fixed merge function definition and implementation.
1.1.1 (2021-12-11)
- Dataset validation on write.
- Dropped support for Python 2.
- merge: new variables option.
1.1.0 (2021-03-31)
- Improved reading of NetCDF time variables.
- Documented readdir function.
1.0.1 (2020-08-12)
- Dependencies installed from PyPI.
1.0.0 (2020-04-28)
- Initial release.