Cset

Latest version: v24.8.0

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

Scan your dependencies

Page 1 of 2

24.8.0

This release contains a large number of bug fixes and small improvements, and sets the stage for the major cycling improvement (750) coming in the next release in a few days.

What's Changed
* Parse recipe variables as python literals by jfrost-mo in https://github.com/MetOffice/CSET/pull/683
* Fixed metplus config issue by dasha-shchep in https://github.com/MetOffice/CSET/pull/693
* Clarify error message on missing files by jfrost-mo in https://github.com/MetOffice/CSET/pull/663
* Update testing.rst by Sylviabohnenstengel in https://github.com/MetOffice/CSET/pull/696
* Correct rst syntax added in 696 by jfrost-mo in https://github.com/MetOffice/CSET/pull/700
* Suggest descriptive PR titles instead of changelog entry by jfrost-mo in https://github.com/MetOffice/CSET/pull/701
* Improve PR title documentation in developer's guide by jfrost-mo in https://github.com/MetOffice/CSET/pull/707
* Remove Fixes placeholder in PR template by jfrost-mo in https://github.com/MetOffice/CSET/pull/705
* Update section header to match PR checklist item by jfrost-mo in https://github.com/MetOffice/CSET/pull/704
* Minor wording tweak in marking PR as ready to review docs by jfrost-mo in https://github.com/MetOffice/CSET/pull/702
* Add canonical URL links to documentation by jfrost-mo in https://github.com/MetOffice/CSET/pull/650
* Clarify running specific tests by jfrost-mo in https://github.com/MetOffice/CSET/pull/703
* Fix SET_SUBAREA being required to run some LFRIC recipes by dasha-shchep in https://github.com/MetOffice/CSET/pull/717
* Remove deprecated postage stamp contour plot operator by jfrost-mo in https://github.com/MetOffice/CSET/pull/710
* Remove unneeded fallback code for old recipe step keys by jfrost-mo in https://github.com/MetOffice/CSET/pull/711
* Test vertical plotting with a filename specified by jfrost-mo in https://github.com/MetOffice/CSET/pull/712
* Test running recipes with no collate steps and running with a specified style file by jfrost-mo in https://github.com/MetOffice/CSET/pull/713
* Test handling of masked arrays in convection operators, and load convection test files with fixtures by jfrost-mo in https://github.com/MetOffice/CSET/pull/714
* Ignore cartopy DownloadWarning in pytest by jfrost-mo in https://github.com/MetOffice/CSET/pull/716
* LFRic extension to vertical profile by Sylviabohnenstengel in https://github.com/MetOffice/CSET/pull/638
* Remove unneeded rose edit setting by jfrost-mo in https://github.com/MetOffice/CSET/pull/722
* Test higher dimentional orography handling in convection operators by jfrost-mo in https://github.com/MetOffice/CSET/pull/715
* Support STASH codes in generate_var_constraint by jfrost-mo in https://github.com/MetOffice/CSET/pull/723
* Add cross-section transect functionality by jwarner8 in https://github.com/MetOffice/CSET/pull/531
* Extend UM vertical plotting to model level by Sylviabohnenstengel in https://github.com/MetOffice/CSET/pull/697
* UM spatial plot on model levels by Sylviabohnenstengel in https://github.com/MetOffice/CSET/pull/699
* Enable spatial fields on full and half levels by Sylviabohnenstengel in https://github.com/MetOffice/CSET/pull/695
* Fix bug in transect operator by jwarner8 in https://github.com/MetOffice/CSET/pull/731
* Unquote double quoted shell values by jfrost-mo in https://github.com/MetOffice/CSET/pull/729
* Remove invalid rose meta trigger for removed variable by jfrost-mo in https://github.com/MetOffice/CSET/pull/733
* Add _utils operators to internal function documentation by jfrost-mo in https://github.com/MetOffice/CSET/pull/735
* Don't check documentation hyperlinks in commit CI by jfrost-mo in https://github.com/MetOffice/CSET/pull/749
* Generate Histograms for 2D field by Sylviabohnenstengel in https://github.com/MetOffice/CSET/pull/594
* Tidy up documentation around recipes and cset bake command, introducing examples by Sylviabohnenstengel in https://github.com/MetOffice/CSET/pull/641
* Create operator to combine Cubes/CubeList into single CubeList by jwarner8 in https://github.com/MetOffice/CSET/pull/738
* Update copyright attribution per legal advice by jfrost-mo in https://github.com/MetOffice/CSET/pull/753
* Regrid to take CubeList and Cubes by jwarner8 in https://github.com/MetOffice/CSET/pull/734
* Enhance level filter operator to return all vertical levels by jwarner8 in https://github.com/MetOffice/CSET/pull/728
* Mass retrieval fix by jwarner8 in https://github.com/MetOffice/CSET/pull/759
* Copy source files from any named folder when installing locally by jfrost-mo in https://github.com/MetOffice/CSET/pull/472
* Add missing brackets to TemporaryDirectory call when installing local CSET by jfrost-mo in https://github.com/MetOffice/CSET/pull/760
* Move all website files under the workflow shared directory by jfrost-mo in https://github.com/MetOffice/CSET/pull/764
* Fix overwriting when using transect on multiple variables by jwarner8 in https://github.com/MetOffice/CSET/pull/766
* Add Q-Q plot functionality by daflack in https://github.com/MetOffice/CSET/pull/642
* Add nc-time-axis to dependencies by jwarner8 in https://github.com/MetOffice/CSET/pull/767
* Fix plot frames jumping around by jwarner8 in https://github.com/MetOffice/CSET/pull/772
* Surface field histogram by Sylviabohnenstengel in https://github.com/MetOffice/CSET/pull/640
* Preload plot images on web page by jfrost-mo in https://github.com/MetOffice/CSET/pull/781
* Extract single point data by JKPShonk in https://github.com/MetOffice/CSET/pull/577
* Filter irrelevant warning raised by regrid test by jfrost-mo in https://github.com/MetOffice/CSET/pull/796
* Merge and concatinate cubes on load by jfrost-mo in https://github.com/MetOffice/CSET/pull/790
* Allow Point cell methods for empty constraint, making it possible to unify UM and LFRic recipes by jfrost-mo in https://github.com/MetOffice/CSET/pull/778
* Merge install_local_cset into build_conda so environment is setup in a single cylc task by jfrost-mo in https://github.com/MetOffice/CSET/pull/791
* Convert time AuxCoord to DimCoord for LFRic data by jfrost-mo in https://github.com/MetOffice/CSET/pull/789
* Cancel running PR checks if new commit is pushed by jfrost-mo in https://github.com/MetOffice/CSET/pull/793
* Stop ruff warning about ignore-init-module-imports by jfrost-mo in https://github.com/MetOffice/CSET/pull/800
* Parsing of float in workflow by jwarner8 in https://github.com/MetOffice/CSET/pull/802
* Configurable plotting resolution by jfrost-mo in https://github.com/MetOffice/CSET/pull/803
* General small plot improvements and website organisation by jwarner8 in https://github.com/MetOffice/CSET/pull/801
* Set figsize to consistent 8 by 8 inches, and reduce resolution to 100 dpi by jfrost-mo in https://github.com/MetOffice/CSET/pull/786
* Remove LFRic specific recipes now recipes can handle both UM and LFRic data by jfrost-mo in https://github.com/MetOffice/CSET/pull/805
* Move workflow utility code into unstable module within CSET package by jfrost-mo in https://github.com/MetOffice/CSET/pull/792
* Add pcolormesh plotting operator by jfrost-mo in https://github.com/MetOffice/CSET/pull/787
* Use pcolormesh for Quicklook surface spatial plots by jfrost-mo in https://github.com/MetOffice/CSET/pull/788
* Create the plot index in finish_website to avoid a data race between concurrent index writers by jfrost-mo in https://github.com/MetOffice/CSET/pull/794
* Add release notes for CSET v24.8.0 by jfrost-mo in https://github.com/MetOffice/CSET/pull/816

**Full Changelog**: https://github.com/MetOffice/CSET/compare/v24.6.0...v24.8.0

24.6.0

This release contains a quite a number of small improvements, increasing the reliability of CSET significantly, and paving the way for further improvements to come.

* jfrost-mo replaced how the encoding of subprocess output is determined in [PR 604](https://github.com/MetOffice/CSET/pull/604). This adds support for python before 3.11, and more accurately reflects the encoding.
* jwarner8 add intelligent determination of whether to plot country lines in [PR 655](https://github.com/MetOffice/CSET/pull/655)
* daflack fixed inflow properties recipe in [PR 662](https://github.com/MetOffice/CSET/pull/662)
* daflack added science review guidance to the documentation in [PR 649](https://github.com/MetOffice/CSET/pull/649)
* jfrost-mo ensured cartopy data files are included in the GitHub Actions cache in [PR 647](https://github.com/MetOffice/CSET/pull/647)
* jfrost-mo grouped the package install logs in GitHub Actions in [PR 645](https://github.com/MetOffice/CSET/pull/645)
* daflack added an inflow layer properties diagnostic in [PR 353](https://github.com/MetOffice/CSET/pull/353)
* jfrost-mo fixed LFRic cube metadata on load in [PR 627](https://github.com/MetOffice/CSET/pull/627). This means that loading LFRic data no longer requires special steps in the recipe.
* jfrost-mo made the install_restricted_files.sh script non-interactive in [PR 606](https://github.com/MetOffice/CSET/pull/606). This should make it less confusing to use.
* Sylviabohnenstengel added information to rose-meta for colorbar selection and provided path to example JSON file in [PR 632](https://github.com/MetOffice/CSET/pull/632)
* jfrost-mo added a Generative AI policy in [PR 624](https://github.com/MetOffice/CSET/pull/624)
* jfrost-mo linked to the [CSET discussion forum](https://github.com/MetOffice/simulation-systems/discussions/categories/cset-toolkit) in [PR #625](https://github.com/MetOffice/CSET/pull/625)
* jwarner8 use common operator to identify x/y coord names in regrid operator [PR 626](https://github.com/MetOffice/CSET/pull/626)
* jwarner8 added generic cube util for common functions so all operators can use to reduce repetition in [PR 620](https://github.com/MetOffice/CSET/pull/620)
* JorgeBornemann added METPlus GridStat functionality (NIWA) in [PR 629](https://github.com/MetOffice/CSET/pull/629)
* jfrost-mo added a code of conduct in [PR 618](https://github.com/MetOffice/CSET/pull/618)
* jfrost-mo fixed some rose edit metadata so the subarea selectors show up when enabled in [PR 612](https://github.com/MetOffice/CSET/pull/612)
* jfrost-mo removed some old recipes that are now redundant in [PR 512](https://github.com/MetOffice/CSET/pull/512)
* jfrost-mo added a git cheat sheet to the documentation in [PR 598](https://github.com/MetOffice/CSET/pull/598)
* jfrost-mo added a warning when input files don’t exist in [PR 518](https://github.com/MetOffice/CSET/pull/518). This makes it easier to see if configuration mistakes were made.
* jfrost-mo improved the documentation for adding a new diagnostic in [PR 603](https://github.com/MetOffice/CSET/pull/603)
* dasha-shchep added generate_area_constraint operator and added to LFRic recipes in [PR 522](https://github.com/MetOffice/CSET/pull/522). This was their first contribution 🎉
* Sylviabohnenstengel added a vertical line plotting operator that plots vertical profiles using an optional series coordinate and an optional sequence coordinate in [PR 567](https://github.com/MetOffice/CSET/pull/567). The series coordinate is currently tested for pressure and the sequence coordinate allows displaying vertical profiles over time using the time slider functionality. Furthermore added a recipe to plot vertical profiles and test functions for the vertical plot operator.
* jfrost-mo dropped python 3.9 support in [PR 448](https://github.com/MetOffice/CSET/pull/448) The minimum required python is now 3.10.
* jfrost-mo fixed some outdated documentation examples in [PR 546](https://github.com/MetOffice/CSET/pull/546)
* jfrost-mo added setuptools as an explicit dependency of the workflow in [PR 543](https://github.com/MetOffice/CSET/pull/543)
* cjohnson-pi added support for custom plotting styles in [PR 570](https://github.com/MetOffice/CSET/pull/570). This avoids many issues of side-by-side plots having different scales, or extreme values causing plots to saturate. This was their first contribution 🎉
* Sylviabohnenstengel documentation: removed necessity to add new recipe to flow.cylc.
* Ashfinn fixed a typo in the documentation in [PR 573](https://github.com/MetOffice/CSET/pull/573). This was their first contribution 🎉
* jfrost-mo fixed how arguments from the CSET_ADDOPTS environment variable are parsed in [PR 569](https://github.com/MetOffice/CSET/pull/569). This fixes issues with passing lists into recipes.
* jfrost-mo added a dead link checker to the documentation in [PR 556](https://github.com/MetOffice/CSET/pull/556)
* Sylviabohnenstengel documented the common error of operating on a CubeList instead of a Cube in [PR 541](https://github.com/MetOffice/CSET/pull/541)
* Sylviabohnenstengel documented how to update your conda environment in [PR 519](https://github.com/MetOffice/CSET/pull/519)
* Sylviabohnenstengel documented the common error of no cubes being loaded in [PR 513](https://github.com/MetOffice/CSET/pull/513)
* Sylviabohnenstengel and jfrost-mo redid the rose-meta sort orders so that workflow configuration makes more sense in [PR 504](https://github.com/MetOffice/CSET/pull/504)
* jfrost-mo updated the example rose-suite.conf to reflect what a modern version should look like in [PR 508](https://github.com/MetOffice/CSET/pull/508)

24.4.1

This release contains a large generalisation of the CSET workflow, allowing use of templating to use the same recipe for multiple variables. It also adds cycling to the workflow, so a long workflow can be efficiently processed in parallel.

v24.4.0 doesn't exist, I just slipped up on the version numbering when releasing...

What's Changed

jfrost-mo added GitHub Issue and Pull Request templates, and a detailed contribution checklist to the documentation in PR 465
jfrost-mo added a changelog in PR 468
jfrost-mo documented the category recipe key in PR 499
jfrost-mo renamed the steps and post-steps keys to parallel and collate in PR 484. This makes them more meaningful, but is a breaking change.
daflack added some generic arithmetic operators in PR 452
jfrost-mo made the log output of the read operator nicer in PR 461
jfrost-mo added links to share feedback to the output page in PR 442
jfrost-mo documented some common errors in PR 443
jfrost-mo documented the deprecation policy in PR 444
jfrost-mo fixed an iris deprecation warning for save_split_attrs in PR 459
jfrost-mo added LFRic specific recipes in PR 462. This allows CSET to read in structured LFRic data.
jfrost-mo fixed a memory leak when plotting in PR 482
jfrost-mo included the recipe title in the plot title, giving more context to the output. This was PR 462
Sylviabohnenstengel added the capability to loop over model levels in PR 441
Sylviabohnenstengel and jfrost-mo renamed and better linked up the Developer’s Guide in PR 434 and PR 435
jfrost-mo updated the documentation Actions workflow to make it simpler and faster in PR 449
jfrost-mo added a cycling to the cylc workflow so recipes can be run in parallel across multiple nodes. This was PR 395
jfrost-mo added looping inside an include file for generalisation in PR 387
jwarner8 added a basic regridding operator in PR 405
jfrost-mo made conda-lock update PRs use a GitHub App in PR 415
Sylviabohnenstengel retitled code and tooling setup page in PR 433
Sylviabohnenstengel updated git terminology in PR 436
jfrost-mo added sequential plot display with unified postage stamp plots in PR 379
JorgeBornemann fixed IFS in build conda in PR 447
jfrost-mo added a licence header to convection tests in PR 450

New Contributors

* JorgeBornemann made their first contribution in https://github.com/MetOffice/CSET/pull/447

**Full Changelog**: https://github.com/MetOffice/CSET/compare/v24.2.1...v24.4.1

24.2.1

A small bug fix release containing several fixes that ensure portability on Australia's NCI system.

What's Changed
* Graceful error when graphing without xdg-open by jfrost-mo in https://github.com/MetOffice/CSET/pull/394
* Docs update by jfrost-mo in https://github.com/MetOffice/CSET/pull/392
* Update workflow conda lockfiles automatically by jfrost-mo in https://github.com/MetOffice/CSET/pull/410
* Handle LD_LIBRARY_PATH being unset by jfrost-mo in https://github.com/MetOffice/CSET/pull/404


**Full Changelog**: https://github.com/MetOffice/CSET/compare/v24.2.0...v24.2.1

24.2.0

With this release we have switched to [CalVer](https://calver.org/) for our versioning scheme. This makes it easier to know if you are using an out-of-date version,and saves us from always being on version `0.X`. We are using the format `YY.MM.patch`, e.g.: `24.2.0`.

[PyPI](https://pypi.org/project/CSET/24.2.0/) | [conda-forge](https://anaconda.org/conda-forge/cset)

This release open sources the cylc workflow, allowing for much easier running of CSET over large datasets. It also includes support for parametrising recipes to allow a single recipe to work for many cases. Information on how to use both of these things can be found in [the documentation](https://metoffice.github.io/CSET/).

Finally, a bug where the recipes were not being packaged has also been fixed (https://github.com/MetOffice/CSET/commit/9c6f05d91a928d203ad4c7924a4b34a35c94e69c).

Happy pancake day! 🥞

What's Changed

Along with updating dependencies the following PRs are included in this release.

* Open source workflow by jfrost-mo in https://github.com/MetOffice/CSET/pull/247
* CAPE ratio diagnostic by daflack in https://github.com/MetOffice/CSET/pull/325
* CAPE ratio rose edit tweak by daflack in https://github.com/MetOffice/CSET/pull/332
* Minor bug fix to cape ratio documentation by daflack in https://github.com/MetOffice/CSET/pull/336
* Use cached conda environment for CI by jfrost-mo in https://github.com/MetOffice/CSET/pull/351
* Single cube read operator by jfrost-mo in https://github.com/MetOffice/CSET/pull/323
* Hash updated config ensuring unique branch by jfrost-mo in https://github.com/MetOffice/CSET/pull/350
* Add filter_multiple_cubes operator by jfrost-mo in https://github.com/MetOffice/CSET/pull/362
* Test exception for invalid output directory by jfrost-mo in https://github.com/MetOffice/CSET/pull/364
* Test no constraints given to filter_multiple_cubes by jfrost-mo in https://github.com/MetOffice/CSET/pull/363
* Update workflow-installation.rst by Sylviabohnenstengel in https://github.com/MetOffice/CSET/pull/365
* Recipe parametrisation by jfrost-mo in https://github.com/MetOffice/CSET/pull/337
* Fix crash when running recipe from env var by jfrost-mo in https://github.com/MetOffice/CSET/pull/384

**Full Changelog**: https://github.com/MetOffice/CSET/compare/v0.5.0...v0.6.0

0.5.0

Small update featuring some better looking plots (though still a work-in-progress, see 240) and a documentation fix.

What's Changed
* Bump version to 0.5.0 by jfrost-mo in https://github.com/MetOffice/CSET/pull/278
* Improve contour plot by jfrost-mo in https://github.com/MetOffice/CSET/pull/282


**Full Changelog**: https://github.com/MetOffice/CSET/compare/v0.4.0...v0.5.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.