ANTS aims to help you produce ancillary files. ANTS will help you when you want to do any of the following:
- Produce ancillary files on a new model domain.
- Produce a new set of ancillaries from new source data.
- Derive a completely new set of ancillary fields for a new parametrisation scheme.
We have made ANTS available in a Singularity container. It is available for download and is also installed on ARCHER2 and JASMIN. It is not available on Monsoon2 as the OS is too old to use Singularity.
The latest ANTS version is v0.15. Documentation on ANTS is here: https://code.metoffice.gov.uk/doc/ancil/ants/0.15/index.html
The container consists of the full ANTS anaconda environment.
The container uses Singularity.
Locate or obtain container
Else obtain container from Singularity Cloud. Note: Singularity v3.5+ required:
singularity pull library://simonwncas/default/ants:latest export ANTS_CONTAINER=/path/to/container/ants_latest.sif
The UM Ancillaries are required to run ANTS.
On ARCHER these are in
On JASMIN these are in
You will need to apply to access the
To use the container:
singularity shell [-B /gws/nopw/j04/rdf_migrate_vol1] $ANTS_CONTAINER
Will start an interactive shell inside the container. The ANTS python environment and tools are then used as usual.
-B /gws/nopw/j04/rdf_migrate_vol1 is required on JASMIN to access the UM ancil directory.
singularity exec [-B /gws/nopw/j04/rdf_migrate_vol1] $ANTS_CONTAINER ancil_general_regrid.py
will run an ANTS application directly. This command can be aliased to replace the application call in a script. eg.
alias ancil_general_regrid.py='singularity exec [-B /gws/nopw/j04/rdf_migrate_vol1] $ANTS_CONTAINER ancil_general_regrid.py'
To start the ANTS enabled python directly
singularity exec [-B /gws/nopw/j04/rdf_migrate_vol1] $ANTS_CONTAINER python
The contrib tools are under
/opt/ants_contrib in the container.