esm-tools / pymorize

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

Order data to match the data request #65

Open mandresm opened 1 week ago

mandresm commented 1 week ago

Thank you for contributing! 🎉

Summary of the most important changes

Please summarize the most important changes you have made in this PR.

Usage example in the PR

Please put a small usage example in the PR body so that we can see what you want to do.

You can include python:

from pymorize.cmorizer import CMORizer
cmorizer = CMORizer()
cmorizer.process()

An example with Rules:

>>> # Assume you have a Rule with these attributes:
>>> rule = Rule()
>>> rule.name = "My Rule"
>>> rule.description = "This is my rule"
>>> # Some input data
>>> data = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
>>> # Using my new step in the PR:
>>> data = my_new_step(data, rule)
>>> data
... # Add what the data should look like

These sorts of examples should also be in the docstrings of your code!

Checklist

Copilot Summary

If you have Github Co-Pilot, please include an automatically generated summary.