Nctoolkit

Latest version: v1.2.0

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

Scan your dependencies

Page 4 of 12

0.8.6

This is a minor releases that tidies up some issues and has some method enhancements.

The `regrid` and `to_latlon` methods can now be more efficient for multi-file datasets where all files have the same grid. Previously, the methods identified the grids for all methods, which is obviously inefficient if they are all the same. You can now set the `one_grid` argument to `True`, which will result in the methods assuming all files have the same grid, and only the first file being checked.

There was an issue with multi-file datasets in parallel in Python 3.8 and 3.9. A confusing `TypeError` was being thrown due to signalling issues by multiprocessing. This gave the impression there was a problem with processing when there wasn’t one. This problem is now fixed.

0.8.5

This is a minor release that deals with clean up issues on Jupyter notebooks. A change in a recent version of ipykernel was causing nctoolkit to not automatically remove temporary files on exit when using notebooks. This should now be fixed.

The `annual_anomaly` method now lets users temporally align the output, in the same way as other temporal methods such as `roll_mean`.

Some improvements have been made to internals for better warnings and errors.

0.8.4

This is a minor update that improves the ability to handle missing values.

A new method is introduced for changing the fill value of missing values, `set_fill`.

Another method `missing_as` is introduced. This will be the opposite of `as_missing`. It will set missing values to a constant value.

Dataset `contents` will now show the fill value for variables. Furthermore, `open_data` will now check if the fill value is zero, which can cause problems for logical comparisons etc.

0.8.3

This is a minor release. Improvements have been made to the way warnings from CDO are translated to nctoolkit warnings.

Methods remain the same as before.

0.8.2

This release changes plotting so that it does not show coastlines by default.

Plotting with coastlines was causing plotting to crash on some systems due to issues with how nctoolkit's Python dependencies work with non-Python dependencies. These were not a problem with nctoolkit installations from conda, which will install non-Python dependencies, but some non-conda insttallations would no longer plot maps as a Python dependency could be incompatible with the non-Python dependencies on user systems.

If you want to plot the coastline, do the following

ds.plot(coast=True)

0.8.1

This is a minor release that modifies version pinning for a couple of dependencies.

Page 4 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.