File size: 1,843 Bytes
3b42d8f
8d4f01a
 
 
 
3b42d8f
 
8d4f01a
 
3b42d8f
 
8d4f01a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f89b28b
8d4f01a
f89b28b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: CAMS Air Pollution Dashboard
emoji: 🌍
colorFrom: green
colorTo: blue
sdk: docker
pinned: false
license: mit
app_port: 7860
---

# CAMS Air Pollution Dashboard

A comprehensive web application for visualizing atmospheric composition data from the Copernicus Atmosphere Monitoring Service (CAMS).

## Features

- 🌍 Interactive air pollution maps for India
- πŸ“Š Multiple pollutant visualization (PM2.5, PM10, NO2, O3, CO, etc.)
- 🎨 Various color themes for data visualization
- πŸ“ Support for NetCDF file uploads
- 🌐 Direct CAMS data download integration
- πŸ“ˆ Statistical analysis and hover information

## Usage

1. Upload your own NetCDF files or download CAMS data for specific dates
2. Select variables, pressure levels, and time points
3. Generate static or interactive pollution maps
4. Explore air quality data with detailed statistics

## Data Source

This application uses data from the Copernicus Atmosphere Monitoring Service (CAMS), which provides global atmospheric composition forecasts and analyses.

## CDS API Configuration

For downloading CAMS data, you need to set up CDS API credentials:

### For Hugging Face Spaces (Recommended):
1. Create an account at https://cds.climate.copernicus.eu/
2. Go to your user profile and copy your API credentials
3. In your Hugging Face Space settings, add these as **Secrets**:
   - `CDSAPI_URL`: `https://ads.atmosphere.copernicus.eu/api`
   - `CDSAPI_KEY`: Your API key from the CDS website

### For Local Development:
You can create a `.cdsapirc` file in your home directory:
```
url: https://ads.atmosphere.copernicus.eu/api
key: your-api-key-here
```

**Note**: Never commit `.cdsapirc` files to public repositories as they contain sensitive credentials.

You can also upload your own NetCDF files to explore the visualization features without API access.