Skip to main content

CAF.cvt

CAF Status - Beta

Supported Python versions Latest release Conda

Testing Badge Coverage Documentation Status

CAF.cvt is a python model that takes climate and transport data and generates a climate risk assessment for the North's key transport infrastructure.

Table of Contents

Overview

What does it do?

The Common Analytical Framework (CAF) Climate Vulnerability Tool (CVT) is a geospatial python package that translates complex climate and infrastructure data into a set of climate risk assessments for the North of England's key transport networks.

Main Features

  • Data Cleaning - Reads and cleans a wide variety of climate and transport datasets, preprocessing into a standard format in preparation for analysis.

  • Apply Functional Rules - Applies a set of functional rules and spatial overlays to the climate data to translate complex values into distinct hazard categories and grids.

  • Infrastructure Layering - Layers infrastructure on top of hazard grids to assign risk to the transport assets.

Work-in-Progress

There are currently no work-in-progress features.

Who is it for?

  • Target audience: Transport Analysts, Transport Planners, Climate Researchers
  • CAF Analytical Stage: Modelling

CAF Analytical Process Diagram

For more details on CAF Analytical Stages see the description within TfN's GitHub homepage

Where to get it

The latest released version are available at the Python Package Index (PyPI) and on Conda.

conda install -c conda-forge caf.cvt
pip install caf.cvt

Installation from GitHub

The latest, unreleased, version can be installed directly from GitHub using:

pip install "git+https://github.com/transport-for-the-north/caf.cvt"

Usage

CAF.cvt provides and Command-line (CLI) and graphical interface (GUI) to use many of it's features without the need to write any Python code, see the Tool Usage section of the user guide for more details.

Command Line

The tool can be run from command line, with the command:

caf.cvt

Asset risk weighting can be run with:

caf.cvt asset-risk-weighting

Input/output file paths and incident weights for this command are defined in the asset_risk_weighting section of config.yml.

See Command-Line Interface (User Guide) for full explanations of the parameters.

Documentation

The code documentation is hosted at https://cafcvt.readthedocs.io/en/stable/.

What is CAF?

This tool is part of TfN's Common Analytical Framework (CAF). CAF is Transport for the North's structured suite of analytical tools designed to support transport modelling, appraisal, and strategic decision-making.

More information on CAF and details on other CAF tools can be found on TfN's GitHub Homepage.

Contribution

We encourage use of, and contributions to, the repositories within this organisation, licenses are provided within the repositories and the organisation contribution guide provides details for contributions.


Contact Us

For further information about using this tool or CAF tools in your projects and work contact Transport for the North - TfNOffer@transportforthenorth.com


Go to Top

Metadata

Release files for caf.cvt 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for caf.cvt 0.3.0
File Size Uploaded Provenance Actions
caf_cvt-0.3.0.tar.gz 77.2 kB With provenance Details for caf_cvt-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for caf.cvt 0.3.0
File Interpreter ABI Platform Actions
caf_cvt-0.3.0-py3-none-any.whl Python 3 none any Details for caf_cvt-0.3.0-py3-none-any.whl

Total release size: 153.1 kB

Release files / caf_cvt-0.3.0.tar.gz

Download URL caf_cvt-0.3.0.tar.gz
Size 77.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c080013853033140b1012527a527ad00e39ea6b50db919f3e634cbb7876baaa8
BLAKE2b-256 checksum
How to use checksums
b7cc9a99ca6f12451dfd1207c4a1edfab8e03cdc0f85cfd7d4bdf361a935ffa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / caf_cvt-0.3.0-py3-none-any.whl

Download URL caf_cvt-0.3.0-py3-none-any.whl
Size 75.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8070b6af7fa31f54d0e281e0367295a31b654c5748fdfd36f5ae66c5836a5d87
BLAKE2b-256 checksum
How to use checksums
e091a01947b29b78288cc32ca95185e33981d39c210366fc1103fa8efab7f705
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for caf.cvt 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for caf_cvt-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page