Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Data Sources

This package supports six S3-hosted data sources from the NOAA National Bathymetric Source (NBS) project that can be fetched by name.

S3 sources

These sources are fetched from NOAA’s public S3 bucket. Pass the source key as the data_source argument.

SourceFormatBandsMin GDALRATDescription
bluetopoGeoTIFFElevation, Uncertainty, Contributor3.4YesNational bathymetric compilation (public)
modelingGeoTIFFElevation, Uncertainty, Contributor3.4YesBathymetric compilation for modeling (low water datum)
bagBAG (.bag)Elevation, Uncertainty3.4NoBathymetric Attributed Grid
s102v21S-102 HDF5 (.h5)Elevation, Uncertainty3.9NoIHO S-102 v2.1 bathymetric surface
s102v22S-102 HDF5 (.h5)Elevation, Uncertainty + QualityOfSurvey3.9YesIHO S-102 v2.2 with quality subdataset
s102v30S-102 HDF5 (.h5)Elevation, Uncertainty + QualityOfBathymetryCoverage3.9YesIHO S-102 v3.0 with quality subdataset

BlueTopo

BlueTopo is a compilation of the best available public bathymetric data of U.S. waters. Created by NOAA Office of Coast Survey’s National Bathymetric Source project, it provides depth information nationwide with the vertical uncertainty tied to that depth estimate as well as information on the survey source.

It is the default and most commonly used data source.

Source key: bluetopo

File slots:

SlotGeopackage fieldFile type
geotiffGeoTIFF_Link.tiff
ratRAT_Link.tiff.aux.xml

Bands: Elevation, Uncertainty, Contributor

RAT fields (on band 3 — Contributor):

FieldTypeDescription
valueintContributor class value
countintPixel count for this class
data_assessmentintData quality assessment code
feature_least_depthfloatLeast depth of feature
significant_featuresfloatSignificant feature indicator
feature_sizefloatFeature size
coverageintCoverage flag
bathy_coverageintBathymetric coverage flag
horizontal_uncert_fixedfloatFixed horizontal uncertainty
horizontal_uncert_varfloatVariable horizontal uncertainty
vertical_uncert_fixedfloatFixed vertical uncertainty
vertical_uncert_varfloatVariable vertical uncertainty
license_namestrSource data license name
license_urlstrSource data license URL
source_survey_idstrSource survey identifier
source_institutionstrSource institution name
survey_date_startstrSurvey start date
survey_date_endstrSurvey end date

Modeling

Test-and-evaluation bathymetric compilation for coastal and ocean modeling. Uses the same file structure as BlueTopo, but data is on a low water datum instead of NAVD88/mean sea level.

Source key: modeling

File slots: Same as BlueTopo (GeoTIFF + RAT auxiliary file)

Bands: Elevation, Uncertainty, Contributor

RAT fields: Same as BlueTopo


BAG

Bathymetric Attributed Grid — a single-file format with elevation and uncertainty bands.

Source key: bag

Required GDAL drivers: BAG

File slots:

SlotGeopackage fieldFile type
fileBAG.bag

Bands: Elevation, Uncertainty

RAT: None

Note: BAG files require GDAL built with HDF5 support. Install libgdal-hdf5 via conda if the BAG driver is not available.


Note: The S-102 data available through this package are for test and evaluation and should not be used for navigation. For official S-102 data, see the data available from Precision Marine Navigation.

S102 v2.1

IHO S-102 bathymetric surface, version 2.1. Single-file HDF5 format with two bands.

Source key: s102v21

Required GDAL drivers: S102

Min GDAL version: 3.9

File slots:

SlotGeopackage fieldFile type
fileS102V21.h5

Bands: Elevation, Uncertainty

RAT: None

Requires a CATALOG.XML file downloaded from S3 (handled automatically by fetch_tiles).


S102 v2.2

IHO S-102 v2.2 with dual subdatasets: bathymetry coverage and a quality-of-survey layer. The mosaic build produces separate subdataset VRTs plus a combined VRT.

Source key: s102v22

Required GDAL drivers: S102

Min GDAL version: 3.9

File slots:

SlotGeopackage fieldFile type
fileS102V22.h5

Subdatasets:

SubdatasetBandsVRT suffix
BathymetryCoverageElevation, Uncertainty_BathymetryCoverage
QualityOfSurveyQualityOfSurvey_QualityOfSurvey

A combined VRT is also created with all three bands (Elevation, Uncertainty, QualityOfSurvey).

RAT fields (on band 3 of the combined VRT):

FieldTypeDescription
valueintQuality class value
data_assessmentintData quality assessment code
feature_least_depthfloatLeast depth of feature
significant_featuresfloatSignificant feature indicator
feature_sizefloatFeature size
feature_size_varintFeature size variance (set to 0 in mosaic)
coverageintCoverage flag
bathy_coverageintBathymetric coverage flag
horizontal_uncert_fixedfloatFixed horizontal uncertainty
horizontal_uncert_varfloatVariable horizontal uncertainty
survey_date_startstrSurvey start date
survey_date_endstrSurvey end date
source_survey_idstrSource survey identifier
source_institutionstrSource institution name
bathymetric_uncertainty_typeintUncertainty type classification (set to 0 in mosaic)

Note: feature_size_var and bathymetric_uncertainty_type are unsupported fields and are set to 0 in mosaics.


S102 v3.0

IHO S-102 v3.0 — similar to v2.2, but with a renamed quality subdataset.

Source key: s102v30

Required GDAL drivers: S102

Min GDAL version: 3.9

File slots:

SlotGeopackage fieldFile type
fileS102V30.h5

Subdatasets:

SubdatasetBandsVRT suffix
BathymetryCoverageElevation, Uncertainty_BathymetryCoverage
QualityOfBathymetryCoverageQualityOfBathymetryCoverage_QualityOfBathymetryCoverage

A combined VRT is also created with all three bands.

RAT fields (on band 3 of the combined VRT):

FieldTypeDescription
valueintQuality class value
data_assessmentintData quality assessment code
feature_least_depthfloatLeast depth of feature
significant_featuresfloatSignificant feature indicator
feature_sizefloatFeature size
feature_size_varintFeature size variance (set to 0 in mosaic)
coverageintCoverage flag
bathy_coverageintBathymetric coverage flag
horizontal_uncert_fixedfloatFixed horizontal uncertainty
horizontal_uncert_varfloatVariable horizontal uncertainty
survey_date_startstrSurvey start date
survey_date_endstrSurvey end date
source_survey_idstrSource survey identifier
source_institutionstrSource institution name
type_of_bathymetric_estimation_uncertaintyintUncertainty type classification (set to 0 in mosaic)

Note: feature_size_var and type_of_bathymetric_estimation_uncertainty are unsupported fields and are set to 0 in mosaics.