Nctoolkit

Latest version: v1.2.0

Safety actively analyzes 688843 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 12

0.5.3

A quick bug fix release.

Fixes an issue with imports that caused `match_points` to fail sometimes. Also, fixes `subset` so that it will allow * and ? wildcards for variables.

0.5.2

This release improves error handling when nctoolkit fails due to an error in Climate Data Operators. Datasets will now be reset to the starting point when this happens and a clear message will given to users.

0.5.1

This is a minor release. It includes method enhancements.

The `subset` method now allows negative time slicing.

The `set_missing` method is deprecated and replaced with a less ambiguously named `as_missing` method.

The `plot` method will no longer show a plot title by default to make things cleaner.

The `vertical_integration` method now works with multi-file datasets and will not calculate vertical integrations for the thickness variable.

Some improvements have been made to improve error messages, and the `check` method now checks for data type of time.

A new method ``as_type`` has been added for changing data type of individual variables and coordinates.

0.5.0

This release enhances a couple of methods.

The `subset` method now lets users subset vertical levels using `levels` or `depths`. This requires a two element list, and the subsetting will give you the levels between the two given. So, `ds.subset(levels = [0, 100])` would give you the top 100 metres in an oceanic dataset.

The `match_points` method now allows extrapolation to vertical depths, with the maximum distance extrapolated given by the `max_extrap` argument.

0.4.9

This release enhances the `subset` method. You can now subset levels in datasets.

Some improvements have also been made to error handling when CDO fails.

0.4.8

This release improves temporal merging of large datasets. Previously on some systems this would fail on datasets made up of more than 1,000 files due to system limits. Under the hood, nctoolkit now deals with this.

The `merge` method also now contains a check argument that can be used to speed up merging of large datasets when you know the files can be merged problem-free. Previously, `merge` always checked if files being merged had the same variables when doing a temporal merge. This can now be switched off if you are confident this does not need to happen.

Page 7 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.