Releases: pmlmodelling/nctoolkit
v0.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.
v0.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)
v0.8.1
This is a minor release that modifies version pinning for a couple of dependencies.
v0.8.0
This is a major release that introduces some breaking changes.
The major improvement in this release will be to vertical methods. All vertical methods should now work with files with vertical axes that are either consistent or vary spatially. Before some methods only worked with z-levels, i.e. files with fixed vertical levels.
This change will result in a requirement that vertical_mean
, vertical_interp
and vertical_integration
need users to specify whether the vertical levels are fixed spatially, using the fixed
arg. As a result, calls to these methods without this argument will throw an error.
v0.7.6
This is a minor release that significantly simplifies basic arithmetic and logical operations.
Simple methods such as +
, -
etc. can now use standard python syntax.
For example, if you wanted to add 2 to a dataset you can now do the following:
ds.add(2)
as this instead
ds+2
The same goes for logical operators. You can do the following to identify if the values in a datset are below 2:
ds<2
whereas you previously had to do this:
`ds.compare("<2")
Note: because nctoolkit methods only modify datasets and do not return datasets, the following will not work:
ds1+ds2+2
Instead, you would need to do:
ds1+ds2
ds1+2
v0.7.5
This release smoothes out issues caused by xarray being unable to read files. This caused some issues in methods where xarray is used as a backend. open_data
will no longer through an error in when xarray cannot open the file (xarray is used to parse times), and check
will provide a meaningful check.
No other changes have been made in this version and it is fully compatible with the previous release.
v0.7.4
Fast release that pins the matplotlib version. Fixes an issue that meant an nctoolkit dependency did not import, which broke nctoolkit.
Also features a couple of under-the-hood improvements to methods.
v0.7.3
This is a quick release that fixes an issue (caused by a dependency update) that results in multi-variable datasets not plotting on occasion.
v0.7.2
This is a quick release. It fixes a bug where global settings could not be set for all possible options.
v0.7.1
This is a major release with some breaking changes.
The deprecated select
method has now been removed. Users should now use the subset
method.
A progress bar will now display when processing large datasets. This will only show when nctoolkit thinks something will take a while. If you want to always show a progress bar for multi-file datasets, you can do this: nc.options(progress = 'on')
.