There is a newer version of the record available.

Published March 10, 2021 | Version v0.3.1

pmlmodelling/nctoolkit: v0.3.1

Authors/Creators

  • 1. Plymouth Marine Laboratory

Description

This is a minor release that includes new methods, under-the-hood improvements, minor bug fixes and the removal of deprecated methods. Code written for non-deprecated methods in v0.3.0 will be compatible with v0.3.1.

New methods

New methods are introduced for identifying the first time step when specific numerical thresholds are first exceeded or fallen below etc: first_above, first_below, last_above and last_below. The thresholds are either single numbers or can come from a gridded dataset for grid-cell specific thresholds.

Methods to compare a dataset with another dataset or netCDF file have been added: gt and lt, which stand for 'greater than' and 'less than'.

Method improvements

Users will now be able to recycle the weights calculated when interpolating data. This can enable much faster interpolation of multiple files with the same grid.

There have been some under-the-hood improvements to improve automatic deletion of temporary files when running in parallel.

Bug fixes

assign threw an error when an internal CDO function was used more than once. This is now fixed.

Method removals post-deprecation

The temporal methods replaced by tmean etc. have now been removed from the package. So all previous temporal averaging methods of the form daily_, monthly_ and annual_ can no longer be used.

Files

pmlmodelling/nctoolkit-v0.3.1.zip

Files (209.7 MB)

Name Size Download all
md5:e00b559776c943c063ed7ed98c5ff7c9
209.7 MB Preview Download

Additional details

Related works