pmlmodelling/nctoolkit: v0.4.3
Description
This is a release with some new methods, improvements to internals and some bug fixes. Code written for previous 0.4x versions of nctoolkit will be compatible.
This version will be compatible with CDO versions 2.0.5x.
A new function open_geotiff will allow GeoTiff files to be opened. This is a wrapper around rioxarray, which will convert the GeoTiff to NetCDF. It will require rioxarray to be installed.
A new method surface_mask has been added to enable identifying top levels with data in cases when there are missing values in the actual top level.
A new method is_corrupt has been added. This can identify whether NetCDF files are likely to be corrupt. Under-the hood, methods will now suggest running is_corrupt when system errors imply the files are corrupt.
The methods to_xarray and to_dataframe no long accept the cdo_times argument, as this has essentially been redundant for a few nctoolkit versions.
The plot method now lets users send kwargs to hvplot to make customizations, such as log-scales an option. This will require the latest version of ncplot.
The select method now lets user select days of month, using ds.select(day = 1).
The split method now allows splitting by timestep using split("timestep").
Files
pmlmodelling/nctoolkit-v0.4.3.zip
Files
(264.2 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:fec4a6ff533aa6f290db6f2b683199e4
|
264.2 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/pmlmodelling/nctoolkit/tree/v0.4.3 (URL)