MetOffice / MetOffice/ANTS

Updates to the tutorial documentation

Open
#158 0 comments 0 reactions 1 assignee View on GitHub

@alasdair-roy is already working on this.

Since Jul 23, 2026.

Dominant language
Python
Stars
7
Forks
10
Avg merge
1d 19h
Merged PRs (30d)
5

Description

The tutorial documentation seems to have some minor issues.

Running the command `python ancil_tutorial.py /path/to/sample_source.nc --target-grid /path/to/sample_target.nc -o output.nc` results in an error with the tutorial when saving to an `ancil` file. This is because ancillary files cannot be saved with a `.nc` extension.

Also the example imports the deprecated function `ants.load_cube`.

## Addition
1. Change `-o output.nc` to `-o output` in the tutorial docs.
2. Change `from ants import load_cube` to`from ants.io.load import load_cube`

This could possibly be combined with issue #125

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.