esm-tools / pymorize

A Python based Tool to CMORize NetCDF Data
https://pymorize.readthedocs.io
MIT License
2 stars 1 forks source link

API: Rule #46

Closed pgierz closed 1 month ago

pgierz commented 1 month ago

This is the first in a series of pull requests to clean up the API of the main pymorize objects. Here, Rule objects are better documented.


Copilot Summary

This pull request includes several changes to the Rule class in src/pymorize/rule.py, focusing on encapsulation, documentation, and deprecation warnings. The most important changes include renaming the pipelines attribute to _pipelines and adding getter methods, enhancing method documentation, and adding deprecation warnings for certain methods.

Encapsulation and attribute access:

Documentation improvements:

Deprecation warnings:

Dependency updates: