Nctoolkit

Latest version: v1.1.10

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

Scan your dependencies

Page 7 of 11

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.

0.4.7

This release contains a new method called `match_points` that can do matchups with a spatiotemporal dataframe.

0.4.6

This release enhances existing methods, with a focus on improving subsetting.

The ``select`` method is replaced by ``subset``. This behaves in the way same way as ``select``, but will also allow users to subset data based on longitude and latitude using ``lon`` and ``lat`` as args. ``select`` is now deprecated.

The export methods ``to_nc``, ``to_xarray`` and ``to_dataframe`` now allow only a subset of the data to be exported. Additional arguments can be sent to the methods, and they will then be sent to the ``subset`` method.

The new matchpoint methods for matching netCDF and point data have been smoothed out with additional options.

Minor bug fix: The weights in datasets with recycled regridding weights were not copied properly. This is now fixed.

Page 7 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.