Iceberg Locations

Antarctic large iceberg positions derived from ASCAT and OSCAT-2.
https://github.com/Joel-hanson/Iceberg-locations

Category: Cryosphere
Sub Category: Glacier and Ice Sheets

Keywords

beautifulsoup4 climate-change git-scraping iceberg python scraping

Keywords from Contributors

routing language-model

Last synced: about 7 hours ago
JSON representation

Repository metadata

Current Antarctic large iceberg positions derived from ASCAT and OSCAT-2

README.md

Antarctic Iceberg Tracker

A Python tool for tracking large icebergs in Antarctic waters using satellite data from NASA's Scatterometer Climate Record Pathfinder (SCP).

Features

  • Real-time Data: Scrapes latest iceberg positions from NASA SCP website
  • Location Tracking: Precise latitude/longitude coordinates with DMS conversion
  • Interactive Map: Generate beautiful web-based visualizations with movement animations
  • GitHub Pages Deployment: Automatically deploy to a live website
  • Data Analysis: Summary statistics and iceberg movement tracking
  • JSON Export: Save data in structured format for further analysis
  • Simple CLI: Easy-to-use command-line interface

Live Demo

🌐 View the live Antarctic Iceberg Tracker: https://joel-hanson.github.io/Iceberg-locations/

The live site is automatically updated daily with the latest iceberg data and includes interactive features.

Quick Start

Installation

# Clone the repository
git clone https://github.com/Joel-hanson/Iceberg-locations.git
cd Iceberg-locations

# Install dependencies
pip install -r requirement.txt

Usage

# Collect latest iceberg data
python main.py scrape

# Show data summary
python main.py info

# Generate interactive map
python main.py map

# View iceberg movement animations
python main.py animations

Commands

scrape - Collect Data

Fetches the latest iceberg position data from NASA SCP website and saves it to iceberg_location.json.

python main.py scrape

info - Data Summary

Displays statistics about the collected iceberg data including number of icebergs, observation dates, and data coverage.

python main.py info

Example output:

Antarctic Iceberg Data Summary:
   • 37 observation dates
   • 53 current icebergs
   • 97 unique icebergs tracked
   • 1,832 total records
   • Latest data: 11/11/21

map - Interactive Visualization

Generates an interactive HTML map showing iceberg positions with clickable markers.

python main.py map

Opens output/iceberg_map.html in your browser with:

  • Interactive Antarctica-focused map
  • Clickable iceberg markers with details
  • Movement animation links in each popup
  • Real-time statistics display

animations - Movement Animations

Shows URLs to animated GIF files demonstrating historical iceberg movement patterns.

python main.py animations

Example output:

Iceberg Movement Animations:
Data from: 07/02/25
Note: Animations show historical movement patterns from NASA SCP

  A23A     | N/A, 39 7'W          | https://ftp.scp.byu.edu/data/misc/iceberg_animations/a23a_movie.gif
  C18B     | N/A, 78 17'E         | https://ftp.scp.byu.edu/data/misc/iceberg_animations/c18b_movie.gif

Copy the URLs to view GIF animations showing iceberg drift patterns over time.

Project Structure

Iceberg-locations/
├── main.py                 # Main entry point
├── src/                    # Source code
│   ├── __init__.py         # Package initialization
│   ├── iceberg.py          # Core scraper script
│   ├── cli.py              # Command-line interface
│   ├── config.py           # Configuration settings
│   └── tests.py            # Test suite
├── data/                   # Data storage
│   └── iceberg_location.json  # Scraped data (generated)
├── output/                 # Generated outputs
│   └── iceberg_map.html    # Interactive map (generated)
├── docs/                   # Documentation
├── assets/                 # Static assets
├── requirement.txt         # Python dependencies
├── README.md               # This file
├── LICENSE                 # MIT License
├── .github/workflows/      # GitHub Actions
├── Dockerfile              # Docker container setup
├── Makefile                # Build automation
└── setup.py                # Package installation

Data Source

Data is collected from the NASA Scatterometer Climate Record Pathfinder (SCP) database:

Current Data: https://www.scp.byu.edu/data/ice_tracking/antarctic.html
Movement Animations: https://ftp.scp.byu.edu/data/misc/iceberg_animations/

The animation files show historical movement patterns of icebergs over time, providing valuable insights into iceberg drift patterns in Antarctic waters.

Data Format

{
  "11/11/21": [
    {
      "iceberg": "a23a",
      "latitude": -75.42,
      "longitude": -39.83,
      "dms_latitude": "75°25'S",
      "dms_longitude": "39°50'W",
      "recent_observation": "11/11/21"
    }
  ]
}

Development

Local Development Server

# Navigate to your project root
cd /path/to/Iceberg-locations

# Generate the map first
python main.py map

# Start a simple HTTP server
python -m http.server 8000

# Visit: http://localhost:8000/output/iceberg_map.html

License

MIT License - see LICENSE file for details.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 240
Total Committers: 2
Avg Commits per committer: 120.0
Development Distribution Score (DDS): 0.375

Commits in past year: 154
Committers in past year: 2
Avg Commits per committer in past year: 77.0
Development Distribution Score (DDS) in past year: 0.026

Name Email Commits
GitHub Action a****n@g****m 150
github-actions[bot] j****5@g****m 90

Committer domains:


Issue and Pull Request metadata

Last synced: 4 months ago

Total issues: 0
Total pull requests: 1
Average time to close issues: N/A
Average time to close pull requests: less than a minute
Total issue authors: 0
Total pull request authors: 1
Average comments per issue: 0
Average comments per pull request: 0.0
Merged pull request: 1
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/Joel-hanson/Iceberg-locations

Top Issue Authors

Top Pull Request Authors

  • Joel-hanson (3)

Top Issue Labels

Top Pull Request Labels


Dependencies

requirement.txt pypi
  • beautifulsoup4 ==4.9.3
  • lxml ==4.6.2
.github/workflows/deploy-pages.yml actions
  • actions/checkout v4 composite
  • actions/configure-pages v4 composite
  • actions/deploy-pages v4 composite
  • actions/setup-python v4 composite
  • actions/upload-pages-artifact v3 composite
.github/workflows/iceberg-tracker.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v4 composite
Dockerfile docker
  • python 3.12-slim build
setup.py pypi

Score: 2.4849066497880004