- The Virtual Integration of Satellite and In-Situ Observation Networks (VISION) Toolkit is part of the VISION project to enable better integration of models and observations to enhance our confidence in future climate projections.
- This repository is for Version 2 and onwards of the toolkit. For a released earlier version,
please see and use the tool provided in the
VISION-toolkitrepository, and consult the documentation there.
Canonical documentation for the v2 toolkit lives at: https://ncas-vision.github.io/VISION-toolkit-v2-development/build/html/index.html. Please consult this as a first point of reference, else questions or comments can be sent to sadie.bartholomew@ncas.ac.uk.
For context on this toolkit and its scientific and technical background, please consult these slides from a recent talk given by a VISION team member.
The environment needed to install and run VISION v2 toolkit requires the following:
- Python version 3.10 or later;
- cf-python at a version of minimum of 3.17.0, see https://ncas-cms.github.io/cf-python/installation.html for guidance;
- ESMPy at version of minimum 8.7.0, see the 'Optional -> Regridding' sub-section in the installation guidance for cf-python linked above for means to install this (conda/mamba makes it simplest);
and if you want to do any plotting with the toolkit you will also need:
- cf-plot at a version of minimum 3.4.0, see https://ncas-cms.github.io/cf-plot/installation.html for guidance.
Install the toolkit by following these steps:
Note: soon the library will be added to PyPI and will be installable with pip. Until then,
follow these steps.
-
Clone this repository. Use
git clone <HTTPS path to this repo>as below, or you can clone via SSH or the GitHub CLI (for help if required see https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository):$ git clone https://github.com/NCAS-VISION/VISION-toolkit-v2-development.git -
Install locally by changing into the root directory of the repo and running an 'editable'
pipcommand:$ cd VISION-toolkit-v2-development $ pip install -e .
pip install command above and instead try to run the toolkit with
the Python interpreter like a Python script using python visiontoolkit/visiontoolkit.py or similar,
there will be errors due to relative imports using .<module> syntax. With the pip command above
applied successfully, you will be able to call visiontoolkit as a command and therefore run VISION v2
as a proper CLI (or alternatively use the VISION v2 Python API).
The script is packaged so it can be run as a command after installation as per the above instructions. See the available command-line interface from running:
$ visiontoolkit --helpFor example, this repository contains example configuration files for running with both UM and WRF model inputs, though note both assume pre-processing has been done on the input data to ensure correct form and CF Compliance (more information will be added about this here soon):
$ cd visiontoolkit
$ visiontoolkit --config-file="configurations/um-faam-stanco-1.json"or using WRF model input:
$ cd visiontoolkit
$ visiontoolkit --config-file="configurations/wrf-faam-stanco-1.json"The above examples are of flight trajectories. A satellite observation case example is:
$ cd visiontoolkit
$ visiontoolkit --config-file="configurations/um-satellite-1.json"