Nctoolkit

Latest version: v1.2.0

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

Scan your dependencies

Page 11 of 12

0.2.3

Plotting improvements

Automatic plotting now relies on the new ncplot package. Plotting is now greatly enhanced and includes automatic coastlines.

Mild enhancements to methods

- Users can now specify the temporary folder to be used by nctoolkit with nctoolkit.options(temp_dir = x)


Deprecations and renaming
- `var` is now called `variance` to be more consistent with python. `var` is deprecated and will be removed early 2021.

bug fixes

- append was not working properly for ensembles. Now fixed

0.2.2

This release has some new methods, a minor bug fix and some enhancements. It is fully compatible with code written for the previous release.
New methods

1. `centre`. This method let's you work out the latitudinal and longitudinal centre.
2. `strip_variable`. This method let's you removed associated variables from variables.
3. `resample_grid`. This method let's you resample grids.
4. `format`. This method let's you change the format of dataset NetCDF files.

Deprecations

`write_nc` has been replaced by `to_nc`. `write_nc` will be replaced in a few months.

Bug fixes

1. `cell_areas` was throwing errors for CDO 1.9.6. This is now fixed.

Enhancements

Improvements have been made to `plot` to improve handling of non-spatial datasets. Plotting development is now separated into a new package ncplot. This will become a dependency in an upcoming version of nctoolkit. Read about it [here](https://github.com/pmlmodelling/ncplot).

0.2.1

New methods

- `annual_sum`: a method for calculating the annual sums
- `daily_mean` etc.: methods for calculating daily statistical values
- `select`: a wraper around existing select methods such as `select_year` and `select_variables`
- `shift_months` and `shift_years`: methods to shift time by months and years
- `shift`: a wrapper around existing shift methods

Deprectations

- `select_season` is now called `select_seasons`. `select_season` has been deprecated and will be removed in a few months.
- `select_timestep` is now called `select_timesteps`. `select_timestep` has been deprecated and will be removed in a few months.

Minor fixes

- `plot` was throwing errors when plotting time series graphs for some types of data. This is now fixed.

0.2.0

macOS support
This release adds support for macOS.

New methods

Meridonial statistics can be calculated using `meridonial_mean` etc.

`open_url` is a version of open_dataset for urls.

`open_thredds` is a version of open_dataset for thredds.

0.1.5

Minor update that is compatible with the prior 0.1.4 release.

Method improvement

`cor_space` and `cor_time` methods for comparing datasets now work for multiple variables.

0.1.4

New methods

You can now shift time forwards or backwards using the shift_hours and shift_days methods.

You can now add new files to existing datasets using the append method.

Bug fixes

Cleanup code fixed to ensure temporary grid files are removed. This only appears to have affected to_latlon.

ensemble_min ignored time when cdo version = 1.9.3. Now fixed to work properly with cdo version 1.9.3.

Page 11 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.