> ## Documentation Index
> Fetch the complete documentation index at: https://docs-v2.ard.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Crystal

> Frontend for ModMS data to view data maps and charts

## Overview

Crystal is a frontend application for ModMS data that provides visualization of weather model data through maps and charts.

## Repository

**Repository:** [https://git.wthr.ws/weathertech/old-crystal](https://git.wthr.ws/weathertech/old-crystal)

Clone the repository:

```bash theme={null}
git clone https://git.wthr.ws/weathertech/old-crystal
cd old-crystal
```

## Access

**URL:** [http://crystal.arabiaweather.com/](http://crystal.arabiaweather.com/)

**Location Profile:** [http://crystal.arabiaweather.com/location\_profile.html](http://crystal.arabiaweather.com/location_profile.html)

**Authentication:**

* **Username:** `crystal`
* **Password:** `CLandSky`

<Note>
  Crystal uses HTTP Basic Authentication to access the application.
</Note>

## Purpose

Crystal provides a web interface to:

* View weather model data on maps
* Display charts and visualizations
* Access location profiles and data

## Data Storage

Crystal uses **MongoDB** to store layer definitions. Each layer definition includes:

* **Query expression**: ModMS query syntax (e.g., `GFS.GND2M.TMP-273.15`)
* **Style parameters**: Map styling (colormap, min/max values, contours, vectors, etc.)

**Access layer definitions:**

```bash theme={null}
curl -u crystal:CLandSky http://crystal.arabiaweather.com/layers
```

For MongoDB deployment details, see [MongoDB Infrastructure](/infrastructure/databases/mongodb).

For information on creating map images, see the [ModMS Map Drawing Guide](/data-ai/modms/map-drawing).

## Deployment

Crystal is deployed via **Portainer** on Docker Swarm.

### Deployment Location

**Portainer Stack:** [wt-crystal](https://portainer.devops.arabiaweather.com/#!/2/docker/stacks/wt-crystal?id=275\&type=1\&regular=true\&orphaned=false\&orphanedRunning=false)

<Warning>
  Crystal has **no CI/CD pipeline**. All deployments must be done manually through Portainer.
</Warning>
