Skip to content

Updates to the tutorial documentation #158

Description

@alasdair-roy

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 tofrom ants.io.load import load_cube

This could possibly be combined with issue #125

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions