Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .cspell/ok-unknown-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ autoattribute
autoclass
autodoc
autofunction
autouse
automethod
automodule
basetemp
bnds
booleaness
capfd
Expand Down Expand Up @@ -100,6 +102,7 @@ ierr
ilaflott
indir
infolog
inlinevar
intercomparison
intercomparisons
interp
Expand Down Expand Up @@ -129,6 +132,7 @@ msvs
mymodule
mypackage
mypy
mylog
ncattrs
ncgen
ncrc
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/create_test_conda_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ permissions:
jobs:
conda-test:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
with:
activate-environment: fremorizer
environment-file: environment.yaml
auto-activate-base: false
auto-activate: false
miniforge-version: latest
conda-remove-defaults: true

- name: Configure Conda
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/wcrp_compliance_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
with:
activate-environment: fremorizer-wcrp
environment-file: environment.yaml
auto-activate-base: false
conda-remove-defaults: true
auto-activate: false
miniforge-version: latest
channels: conda-forge,noaa-gfdl

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

* Developers are free to use this repository's `README.md` to familiarize with the CLI and save time from having to install any dependencies, but development within a Conda environment is heavily recommended regardless
* Gain access to the repository with `git clone --recursive git@github.com:ilaflott/fremorizer.git` or your fork's link (recommended) and an SSH RSA key
- Once inside the repository, developers can test local changes by running a `pip install .` inside of the root directory after activating a virtual environment, installing the fremorizer package locally with the newest local changes on top of the installed Conda fremorizer dependencies. the `-e` flag can be used for an editable installtion
- Once inside the repository, developers can test local changes by running a `pip install .` inside of the root directory after activating a virtual environment, installing the fremorizer package locally with the newest local changes on top of the installed Conda fremorizer dependencies. the `-e` flag can be used for an editable installation
- Test as a normal user would use the CLI
* Create a GitHub issue to reflect your contribution's background and reference it with Git commits

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ cd fremorizer

# create an environment and install the local checkout
conda env create -f environment.yaml
conda actiavte fremorizer
conda activate fremorizer
pip install -e .

# Run tests
Expand All @@ -102,7 +102,7 @@ pylint --rcfile pylintrc fremorizer/


### as a command line interface (CLI)
The CLI entry point is `fremor`, currently a suite of (currently) six routines for facillitating data preparation for
The CLI entry point is `fremor`, currently a suite of (currently) six routines for facilitating data preparation for
CMIP7.
```bash
# The full list of subcommands
Expand Down
2 changes: 1 addition & 1 deletion fremorizer/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def _write_exp_configs():

The JSON data lives in this module (_CMIP6_EXP_CONFIG_DATA /
_CMIP7_EXP_CONFIG_DATA) so the on-disk files are no longer tracked by git.
This session-scoped autouse fixture materialises fresh copies before any
This session-scoped autouse fixture materializes fresh copies before any
test that needs them runs, and cleans them up afterwards.
"""
EXP_CONFIG.write_text(json.dumps(_CMIP6_EXP_CONFIG_DATA, indent=4))
Expand Down
2 changes: 1 addition & 1 deletion fremorizer/tests/test_cmor_run_subtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def test_exp_config_cleanup():
Restores the CMIP6 experiment config to its pristine state after tests
that mutate it in-place (e.g. grid / calendar updates).

The config is no longer tracked by git — it is materialised by a
The config is no longer tracked by git — it is materialized by a
session-scoped conftest fixture — so we rewrite it from the canonical
fixture data instead of running ``git restore``.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# cmip7 table repo
CMIP7_TABLE_REPO_PATH = f'{ROOTDIR}/cmip7-cmor-tables'

# experiment config (materialised by conftest._write_exp_configs)
# experiment config (materialized by conftest._write_exp_configs)
EXP_CONFIG_CMIP7 = f'{ROOTDIR}/CMOR_CMIP7_input_example.json'

# determined by cmor_run_subtool
Expand Down
2 changes: 1 addition & 1 deletion fremorizer/tests/test_cmor_run_subtool_further_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# cmip6 table repo
CMIP6_TABLE_REPO_PATH = f'{ROOTDIR}/cmip6-cmor-tables'

# experiment config (materialised by conftest._write_exp_configs)
# experiment config (materialized by conftest._write_exp_configs)
EXP_CONFIG_CMIP6 = f'{ROOTDIR}/CMOR_input_example.json'

# determined by cmor_run_subtool
Expand Down
Loading