Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

User Guide

Overview

The Community Fault Model (CFM) Web Interface provides interactive 2D and 3D visualizations of fault traces and surfaces for the Cascadia Subduction Zone. This guide outlines the functionality and usage of the 2D and 3D Fault Viewers, including instructions for interacting with the maps and accessing the data.

Community Fault Model (CFM) Web Interface (Repository)

Visit the CFM-Web interface files and tools repository at github.com/cascadiaquakes/CRESCENT-CFM-WEB.

2D Fault Viewer (Homepage)

The Homepage includes a 2D Fault Viewer as a map-based representation of fault traces and other geospatial datasets. It allows users to explore, filter, and analyze faults in a two-dimensional view.

Key Features

How to Use

  1. Navigate to the 2D Viewer: Open the CFM-Web’s homepage.

  2. Filter Faults: Use the sliders to set minimum and maximum values for latitude, longitude, and depth. The map on the right and the list of displayed faults under the control panel will update dynamically to show/list only the faults within the selected ranges.

  3. Customize Fault Colors: Use the Fault Color dropdown to select how faults are colored. Adjust the numeric range for color mapping if applicable.

  4. Select/Deselect Faults for 3D View: Use the Select All/Deselect All checkbox to quickly toggle all faults. Click individual faults on the map for more information.

  5. Navigate to the 3D Viewer: Click the View 3D button to open the 3D fault viewer and display fault traces and surfaces for the selected faults on the 2D viewer.

3D Fault Viewer

The 3D Fault Viewer provides an immersive, three-dimensional visualization of fault surfaces and traces. It includes additional geospatial features such as earthquake data, satellite imagery with terrain, and boundary lines.

Key Features

How to Use

Data Download

GeoJSON file downloads of the fault models are available on the downloads page. In the 2D viewer, Download (1 km) downloads the selected faults.

General Tips

Development and Branch Support

The CFM Web Interface supports configuration and deployment across multiple branches. By default, the interface uses the main branch. However, for development or testing purposes, the dev branch is also supported. To use the dev branch, access the interface with the following URL:

Using the dev branch allows you to load development-specific configuration files and resources, making it easy to test new features without affecting the main interface.

Local Installation

If you plan to download and install this package locally:

  1. Download the CFM-WEB code from the GitHub repository.

  2. Download and install Docker.

  3. Go to the Cesium site and create an account and get a token.

  4. Go to the downloaded CFM-WEB code directory and create a .env file containing CESIUM_KEYS={"cesium_access_token": "<your token>"}.

  5. In the root directory (directory above app/) build the image: docker build -t cfm_viewer .

  6. Run the package: docker run --env-file .env -p 8080:80 cfm_viewer

  7. On your browser go to the CFM viewer at http://localhost:8080.

References