# GEBCO 2024

## IMPORTANT NOTE

This has been replaced by a multi-year version of the same.

See: [ausantarctic/gebco](https://source.coop/ausantarctic/gebco)

---

## Original docs below

Data originally accessed from the
[GEBCO website](https://www.gebco.net/data_and_products/gridded_bathymetry_data/).

GEBCO’s current gridded bathymetric data set, the GEBCO_2024 Grid, is a global terrain model for ocean and land, providing elevation data, in meters, on a 15 arc-second interval grid. It is accompanied by a Type Identifier (TID) Grid that gives information on the types of source data that the GEBCO_2024 Grid is based on.

This release includes a version of the grid with under-ice topography/bathymetry information for Greenland and Antarctica.

Find out information about [terms of use and attribution here](https://www.gebco.net/data_and_products/gridded_bathymetry_data/#a1).

## Access data

### Stream data

The cloud optimised geotiff can be used directly in QGIS or
other applications using this URL:
`https://data.source.coop/alexgleith/gebco-2024/GEBCO_2024`.

### Example to load as Xarray

```python
from odc.stac import load
from pystac import Item

# Bounding box around Tasmania
bbox = [140.0, -45.0, 150.0, -35.0]

# Get the item as a PySTAC Item
item = Item.from_file(
    "https://data.source.coop/alexgleith/gebco-2024/GEBCO_2024.stac-item.json"
)

# Load using odc.stac.load
data = load(
    [item],
    bbox=bbox,
    chunks={"latitude": 1024, "longitude": 1024},
)

# Plot an interactive map
data.elevation.odc.explore(vmin=-3000, vmax=3000, cmap="terrain")
```

### Downloading

While the idea of cloud native data formats is to not download, you can
download this data using this following URL:
`https://s3.us-west-2.amazonaws.com/us-west-2.opendata.source.coop/alexgleith/gebco-2024/GEBCO_2024.tif`
