Settings reference#

Keys of a source section#

Every data source reads the section named after it ([ostia], [modis_a], …), on top of [default]. These keys have the same meaning in every section; a source uses those that apply to its provider.

Key

Meaning

datadir

Where downloaded files are cached (for local sources: where the files are; may contain {year}, {month:02}, {timetype}, …).

dtm_min, dtm_max

First and last date. "today" and relative dates such as "-720D" are allowed, for rolling archives.

latency

How long after acquisition data are published ("60D"); the range ends that long before today.

time_ranges

Per time type, where it differs: { monthly = ["2002-07-01", "2026-04-30"] }.

timetypes

Native time types (daily, monthly, hourly, climatology, static, …). Coarser ones are averaged from finer files.

data_vars, resolutions

What the source offers.

grid

A named grid ("nasa_l3_4km"), a regular grid ({ dlat = 0.25, lat_range = [...], lon_range = [...] }), a pyresample area, or a table of these per resolution. Without it the grid is read from a file.

variants

Sub-tables ([ostia.variants.nrt]) of keys that replace the section’s keys for get_source(name, variant="nrt").

host, remotedir, filename

URL and file-name templates of HTTP and Earthdata sources ({year}, {month:02}, {day_of_year:03}, {yyyymmdd}, {dtm:%Y%m%d}, {timetype}, {data_var}).

archive

HTTP sources: a ZIP on the server holding filename (extracted into datadir).

short_name

Earthdata sources: the CMR collection, used to check that a file exists.

sensor

NASA OB.DAAC sources: MODIS, VIIRS, NOAA20, SeaWiFS, OLCI, OLCIB, …

dataset_id, dataset_version

Copernicus Marine dataset. May be a table per time type: { daily = "..._P1D-m", monthly = "..._P1M-m" }.

filestamp, filestamp_format, file_filter

Copernicus local file name, its date format, and the server-side filter (may contain *, e.g. for run dates). The last two may be tables per time type.

method, depth_bounds, coordinates_selection_method

Copernicus: "files" (original files) or "subset" (one Zarr store per step, limited to data_vars and depth_bounds).

product, variables

Model sources (glorys, ecco2, scrippsgog): the product path on the server, and per variable [key in the remote name or URL, name in the file].

velocity_vars, tracer_vars

Model sources: what open_dataset(dtm) returns, and what tracers=True adds.

grid_definition, mesh_hgr, mesh_zgr, grid_reference_date, hfac_min, delr_file

Model sources: the cached grid definition (cell metrics, kmt) in datadir, and what it is built from.

chunks, opendap_timeout, compute_retries

OPeNDAP model sources: Dask chunks of the remote read, (connect, read) timeout in seconds, and retries of a dropped transfer.

retries, retry_wait

Model sources: how often download_range retries a failed day, and the seconds between tries.

username, password

Credentials, only in a .secrets.toml. Copernicus sources also read the 2.x section names ([cmems-globgc]) for these.

version, url, mirror

longhurst: "2007" (the grid file, no server known: url empty) or "1995" (variant: the WFS query for the polygons as GeoJSON, and the zipped shapefile used if it fails).

geodir

Where landmask and distance_from_land are stored. Default <datadir>/geo (for local sources <basedatadir>/geo/<source>).

doi, ref-url

Shown by seagrid describe.

seagrid config check lists keys in your files that no source knows (misspelt or retired); list your own keys in extra_keys to silence it.

The template#

The full commented template, as written by seagrid init:

# seagrid settings, written by seagrid.config.init().
#
# Where seagrid looks for settings, in order.  A later file wins for each key
# it sets, and missing files are skipped:
#
#   0. <package>/settings_template.toml     this file: the defaults (always read)
#   1. /etc/seagrid/seagrid.toml            machine-wide, for every user
#   2. ~/.config/seagrid/seagrid.toml       your own defaults, for every project
#   3. ./seagrid.toml                       this project's settings
#   4. ./sg_*.toml                          per-run files, sorted by name
#   5. $SEAGRID_SETTINGS_FILE_FOR_DYNACONF  if set
#
# Locations 1-3 may also hold a .secrets.toml for credentials.  NEVER put
# usernames, passwords or tokens in a seagrid.toml that is under version
# control.  Example ~/.config/seagrid/.secrets.toml:
#
#   [ostia]
#   username = "my-copernicus-user"
#   password = "..."
#
# Copernicus Marine sources fall back to the credentials stored by
# `copernicusmarine login` when username/password are not set, and NASA
# Earthdata sources use ~/.netrc or EARTHDATA_USERNAME / EARTHDATA_PASSWORD.
# `seagrid credentials` shows which accounts are set up, and
# https://brorfred.github.io/seagrid/getting_started/credentials.html shows
# how to set up each one.  Sources from other providers (OC-CCI included) need
# no account.
#
# Each [section] is a Dynaconf environment.  [default] applies to all of
# them, and each data source reads its own section.  A single key can be
# overridden with an environment variable, e.g. SEAGRID_BASEDATADIR=/data.
# Keep only the keys you change in your own files, and list any keys your own
# scripts read in extra_keys so that seagrid.config.check_settings() does not
# warn about them.

[default]
# Root directory for downloaded and cached data.  Each source stores its files
# below this, in the directory given by its own datadir key.
basedatadir = "@format {env[HOME]}/.seagrid"
# Bounding box applied by sources that subset on open.
latmin = -90
latmax = 90
lonmin = -180
lonmax = 180
projmap = "glob"
verbose = false
# Show progress bars for downloads.
progress = false
# Seconds to wait for a server to respond.
timeout = 60
# extra_keys = ["my_project_key"]

# --- Ocean colour -------------------------------------------------------------

[oc_cci]
dtm_min = "1998-01-01"
dtm_max = "2020-12-31"
thredds_host = "https://www.oceancolour.org"
thredds_path = "/thredds/dodsC/cci/v{version}-release/geographic/{timetype}/{data_var}/{year}/"
data_vars = []
resolutions = ["4km"]
timetypes = ["daily", "monthly"]
version = "6.0"
datadir = "@format {this.basedatadir}/OC_CCI"
grid = "nasa_l3_4km"

# NASA OB.DAAC Level-3 mapped products (Earthdata login in ~/.netrc).
# Archive extents checked in CMR on 2026-11-20.

[modis_a]
# MODIS-Aqua R2022.  The daily record ends on 2026-05-30.
dtm_min = "2002-07-04"
dtm_max = "2026-05-30"
# First and last date per time type, where they differ from dtm_min/dtm_max.
time_ranges = { 8day = ["2002-07-04", "2026-05-17"], monthly = ["2002-07-01", "2026-04-30"] }
data_vars = ["chlor_a", "kd_490", "par", "ipar", "sst"]
resolutions = ["4km", "9km"]
timetypes = ["daily", "8day", "monthly"]
datadir = "@format {this.basedatadir}/MODIS"
sensor = "MODIS"
grid = { 4km = "nasa_l3_4km", 9km = "nasa_l3_9km" }

[viirs]
# VIIRS on Suomi-NPP; published about seven weeks after acquisition.
dtm_min = "2012-01-02"
dtm_max = "today"
latency = "60D"
time_ranges = { monthly = ["2012-01-01", "-110D"] }
data_vars = ["chlor_a", "kd_490", "par", "ipar", "sst"]
resolutions = ["4km", "9km"]
timetypes = ["daily", "8day", "monthly"]
datadir = "@format {this.basedatadir}/VIIRS"
sensor = "VIIRS"
grid = { 4km = "nasa_l3_4km", 9km = "nasa_l3_9km" }

[viirs.variants.noaa20]
# VIIRS on NOAA-20 (JPSS-1).
sensor = "NOAA20"
dtm_min = "2017-12-13"
time_ranges = { monthly = ["2017-12-01", "-110D"] }
datadir = "@format {this.basedatadir}/VIIRS_NOAA20"

[seawifs]
dtm_min = "1997-09-04"
dtm_max = "2010-12-11"
time_ranges = { monthly = ["1997-09-01", "2010-12-31"] }
data_vars = ["chlor_a", "kd_490", "par", "poc", "pic"]
resolutions = ["9km"]
timetypes = ["daily", "8day", "monthly"]
datadir = "@format {this.basedatadir}/SeaWiFS"
sensor = "SeaWiFS"
grid = "nasa_l3_9km"

[olci]
# Sentinel-3A OLCI reduced resolution (ERR), L3 mapped by OB.DAAC.
dtm_min = "2016-04-25"
dtm_max = "today"
latency = "60D"
time_ranges = { monthly = ["2016-04-01", "-140D"] }
data_vars = ["chlor_a", "kd_490"]
resolutions = ["4km", "9km"]
timetypes = ["daily", "8day", "monthly"]
datadir = "@format {this.basedatadir}/OLCI"
sensor = "OLCI"
grid = { 4km = "nasa_l3_4km", 9km = "nasa_l3_9km" }

[olci.variants.s3b]
# Sentinel-3B OLCI.
sensor = "OLCIB"
dtm_min = "2018-05-15"
time_ranges = { 8day = ["2018-05-17", "today"], monthly = ["2018-05-01", "-140D"] }
datadir = "@format {this.basedatadir}/OLCI_S3B"

[globcolour]
dataset_id = "cmems_obs-oc_glo_bgc-plankton_nrt_l3-olci-300m_P1D"
method = "copernicus-cli"
dtm_min = "1998-01-01"
dtm_max = "2020-12-31"
dtm_freq = "1D"
data_vars = ["sst"]
datadir = "@format {this.basedatadir}/GHRSST/OSTIA"
filestamp = "CMEMS_ostia"
timetypes = ["daily", "monthly"]

# --- Sea surface temperature ----------------------------------------------------

[ostia]
dataset_id = "METOFFICE-GLO-SST-L4-REP-OBS-SST"
dtm_min = "1998-01-01"
dtm_max = "2020-12-31"
dtm_freq = "1D"
data_vars = ["sst"]
datadir = "@format {this.basedatadir}/GHRSST/OSTIA"
filestamp = "{dtm}120000-UKMO-L4_GHRSST-SSTfnd-OSTIA-GLOB_REP-v02.0-fv02.0.nc"
timetypes = ["daily"]
doi = "10.48670/moi-00168"
grid = { dlat = 0.05 }

# Near-real-time OSTIA: seagrid.get_source("ostia", variant="nrt")
[ostia.variants.nrt]
dataset_id = "METOFFICE-GLO-SST-L4-NRT-OBS-SST-V2"
# A rolling archive of the last two years.
dtm_min = "-720D"
dtm_max = "today"
latency = "2D"
datadir = "@format {this.basedatadir}/GHRSST/OSTIA/NRT"
filestamp = "{dtm}120000-UKMO-L4_GHRSST-SSTfnd-OSTIA-GLOB-v02.0-fv02.0.nc"


[acspo]
dtm_min = "2000-02-24"
dtm_max = "today"
# The reanalysis is published about two months behind real time.
latency = "70D"
dtm_freq = "1D"
data_vars = ["sst"]
timetypes = ["daily"]
datadir = "@format {this.basedatadir}/GHRSST/ACSPO"
protocol = "http"
host = "https://coastwatch.noaa.gov"
remotedir = "/pub/socd2/coastwatch/sst/ran/l3s/leo/daily/{year}/{day_of_year:03}"
filename = "{year}{month:02}{day:02}120000-STAR-L3S_GHRSST-SSTsubskin-LEO_Daily-ACSPO_V2.81-v02.0-fv01.0.nc"
ref-url = "https://coastwatch.noaa.gov/cwn/products/acspo-global-002o-gridded-super-collated-sst-and-thermal-fronts-low-earth-orbiting.html"
ref-doi = "10.1117/12.2620103"
grid = { dlat = 0.02 }

# Near-real-time ACSPO: seagrid.get_source("acspo", variant="nrt")
[acspo.variants.nrt]
# A rolling archive of the last year.
dtm_min = "-355D"
latency = "2D"
remotedir = "/pub/socd2/coastwatch/sst/nrt/l3s/leo/daily/{year}/{day_of_year:03}"


# --- Models -------------------------------------------------------------------

[avhrr]
# NOAA daily OISST v2.1 (AVHRR only), GHRSST L4 from NASA PO.DAAC.
# Earthdata login (~/.netrc).  Checked in CMR on 2026-11-20.
short_name = "AVHRR_OI-NCEI-L4-GLOB-v2.1"
host = "https://archive.podaac.earthdata.nasa.gov/podaac-ops-cumulus-protected"
remotedir = "AVHRR_OI-NCEI-L4-GLOB-v2.1"
filename = "{yyyymmdd}120000-NCEI-L4_GHRSST-SSTblend-AVHRR_OI-GLOB-v02.0-fv02.1.nc"
dtm_min = "2016-01-01"
dtm_max = "today"
latency = "3D"
data_vars = ["sst"]
timetypes = ["daily"]
datadir = "@format {this.basedatadir}/GHRSST/AVHRR_OI"
grid = { dlat = 0.25 }
doi = "10.5067/GHAAO-4BC21"

[avhrr.variants."v2.0"]
# Version 2.0, the complete record from 1981 (ended 2020-04-04).
short_name = "AVHRR_OI-NCEI-L4-GLOB-v2.0"
remotedir = "AVHRR_OI-NCEI-L4-GLOB-v2.0/{year}/{day_of_year:03}"
filename = "{yyyymmdd}120000-NCEI-L4_GHRSST-SSTblend-AVHRR_OI-GLOB-v02.0-fv02.0.nc"
dtm_min = "1981-09-01"
dtm_max = "2020-04-04"
latency = ""
doi = "10.5067/GHAAO-4BC02"

[mur25]
# JPL MUR SST v4.2 on a 1/4 degree grid, GHRSST L4 from NASA PO.DAAC.
short_name = "MUR25-JPL-L4-GLOB-v04.2"
host = "https://archive.podaac.earthdata.nasa.gov/podaac-ops-cumulus-protected"
remotedir = "MUR25-JPL-L4-GLOB-v04.2"
filename = "{yyyymmdd}090000-JPL-L4_GHRSST-SSTfnd-MUR25-GLOB-v02.0-fv04.2.nc"
dtm_min = "2002-09-01"
dtm_max = "today"
latency = "3D"
data_vars = ["sst"]
timetypes = ["daily"]
datadir = "@format {this.basedatadir}/GHRSST/MUR25"
grid = { dlat = 0.25 }
doi = "10.5067/GHM25-4FJ42"

[smoc]
# Hourly surface currents, analysis and forecast.  Recent files carry a
# run date (SMOC_<date>_R<run>.nc); the newest run is kept under filestamp.
dataset_id = "cmems_mod_glo_phy_anfc_merged-uv_PT1H-i"
dtm_min = "2022-05-01"
dtm_max = "today"
data_vars = ["uvel", "vvel"]
datadir = "@format {this.basedatadir}/CMEMS/SMOC"
filestamp = "SMOC_{dtm}_R{dtm}.nc"
file_filter = "SMOC_%Y%m%d_R*"
timetypes = ["hourly", "daily"]
doi = "10.48670/moi-00016"

[cmems_globgc]
# Global biogeochemistry multi-year reanalysis (+ interim), 1/4 degree.
# 2.x sections [cmems-globgc] and [cmems-globgc-monthly] are still read for
# credentials.
dataset_id = { daily = "cmems_mod_glo_bgc_my_0.25deg_P1D-m", monthly = "cmems_mod_glo_bgc_my_0.25deg_P1M-m" }
filestamp = "mercatorfreebiorys2v4_global_mean_{dtm}.nc"
filestamp_format = { daily = "%Y%m%d", monthly = "%Y%m" }
# Include the file prefix: a bare "%Y%m" would also match dataset-version
# directories such as ..._202406/.
file_filter = { daily = "global_mean_%Y%m%d.", monthly = "global_mean_%Y%m." }
dtm_min = "1993-01-01"
dtm_max = "today"
latency = "60D"
time_ranges = { monthly = ["1993-01-01", "-90D"] }
data_vars = ["chl", "no3", "nppv", "o2", "po4", "si"]
datadir = "@format {this.basedatadir}/cmems/globgc"
grid = { dlat = 0.25, lat_range = [-80.125, 90.125], lon_range = [-180.125, 179.875] }
timetypes = ["daily", "monthly"]
doi = "10.48670/moi-00019"

[glorys_carb]
# Global ocean carbonate system, analysis and forecast, 1/4 degree.
dataset_id = "cmems_mod_glo_bgc-car_anfc_0.25deg_P1D-m"
filestamp = "mercatorbiomer4v2r1_global_mean_car_{dtm}.nc"
file_filter = "global_mean_car_%Y%m%d."
dtm_min = "2022-01-01"
dtm_max = "today"
data_vars = ["dissic", "ph", "talk"]
datadir = "@format {this.basedatadir}/CMEMS/GLORYS_CARB"
grid = { dlat = 0.25, lat_range = [-80.125, 90.125], lon_range = [-180.125, 179.875] }
timetypes = ["daily"]
# "files" downloads the original files; "subset" writes one Zarr store per
# day with data_vars, limited to depth_bounds (e.g. [0.49, 5728.0]; empty
# for all depths) and selected with coordinates_selection_method.
method = "files"
depth_bounds = []
coordinates_selection_method = "inside"

# --- Ocean models on their own grids (read by tracmass) -----------------------
# Velocities, temperature and salinity on the model grid, one Zarr store or
# file per day and variable in <datadir>/<year>/.  Data keep the model's
# layout (z/y/x and staggered C-grid points).  variables maps each seagrid
# name to [the key in the remote file name or URL, the name in the file].
# The cached grid definition (cell metrics) is grid_definition in datadir.

[glorys]
# GLORYS12v1 daily reanalysis on the Mercator THREDDS server (OPeNDAP), NEMO
# ORCA12 grid.  Needs a Mercator Ocean account in ~/.netrc ("machine
# tds.mercator-ocean.fr login ... password ...").  Checked 2026-11-21:
# 12108 days, 1993-01-01 – 2026-02-24.
host = "dap2://tds.mercator-ocean.fr"
product = "glorys12v1"
datadir = "@format {this.basedatadir}/mercator/glorys12v1"
dtm_min = "1993-01-01"
dtm_max = "2026-02-24"
timetypes = ["daily"]
timestep = "1D"
data_vars = ["uvel", "vvel", "wvel", "temp", "salt"]
variables = { uvel = ["U", "vozocrtx"], vvel = ["V", "vomecrty"], wvel = ["W", "vovecrtz"], temp = ["T", "votemper"], salt = ["S", "vosaline"] }
velocity_vars = ["uvel", "vvel", "wvel"]
tracer_vars = ["temp", "salt"]
# NEMO mesh files (in datadir), from Mercator Ocean with the product.
mesh_hgr = "ext-PSY4V3R1_mesh_hgr.nc"
mesh_zgr = "ext-PSY4V3R1_mesh_zgr.nc"
grid_definition = "trm_glorys12v1_grid_def.zarr"
# Dask chunks of the remote read; wvel is on depthw and needs its own key.
chunks = { time_counter = 1, deptht = 10, depthw = 10, y = 1000, x = 1000 }
# (connect, read) seconds for every OPeNDAP request, so a dead server fails
# within about a minute.
opendap_timeout = [10, 60]
retries = 3
retry_wait = 60
account_email = "products@mercator-ocean.fr"
userguide_url = "https://tds.mercator-ocean.fr/userguide/user_guide.html"

[ecco2]
# ECCO2 cube92 daily state estimate on the APDRC GrADS Data Server (OPeNDAP),
# 0.25° regular grid.  The record runs 1992-01-04 – 2025-12-31 (as noted in
# tracmass_jax); on 2026-11-21 the server answered 404 for every page.
host = "https://apdrc.soest.hawaii.edu/dods"
product = "public_data/ECCO/ECCO2/cube92_daily"
datadir = "@format {this.basedatadir}/ecco2/cube92_daily"
dtm_min = "1992-01-04"
dtm_max = "2025-12-31"
timetypes = ["daily"]
timestep = "1D"
data_vars = ["uvel", "vvel", "wvel", "temp", "salt"]
variables = { uvel = ["U", "uvel"], vvel = ["V", "vvel"], wvel = ["W", "wvel"], temp = ["T", "theta"], salt = ["S", "salt"] }
velocity_vars = ["uvel", "vvel"]
tracer_vars = ["temp", "salt"]
grid_definition = "trm_cube92_grid_def.zarr"
# The day whose uvel gives the number of ocean levels (kmt).
grid_reference_date = "2020-01-01"
chunks = { lev = 10, lat = 360, lon = 720 }
opendap_timeout = [10, 60]
# A day is 100-200 MB per variable over a slow link; retry dropped transfers.
compute_retries = 3
retries = 3
retry_wait = 60

[scrippsgog]
# Scripps Gulf of Guinea MITgcm run GG_i001 (1/64°, 11°W–10.5°E, 1–7°N),
# netCDF files over HTTPS.  Checked 2026-11-21: 699 daily velocity files,
# 2024-01-02 – 2025-11-30.
host = "https://sose.ucsd.edu/GoG/DATA"
product = "PRELIM"
run = "i001"
datadir = "@format {this.basedatadir}/scrippsgog/PRELIM"
dtm_min = "2024-01-02"
dtm_max = "2025-11-30"
timetypes = ["daily"]
timestep = "1D"
data_vars = ["uvel", "vvel", "temp", "salt"]
variables = { uvel = ["UVEL_VVEL_top200m", "UVEL"], vvel = ["UVEL_VVEL_top200m", "VVEL"], temp = ["THETA", "THETA"], salt = ["SALT", "SALT"] }
velocity_vars = ["uvel", "vvel"]
tracer_vars = ["temp", "salt"]
grid_definition = "trm_gog_grid_def.zarr"
# MITgcm partial-cell minimum fraction of the run; reproduces the files'
# hFacW/hFacS from Depth (checked when the grid definition is built).
hfac_min = 0.2
delr_file = "delR_v2.bin"
retries = 3
retry_wait = 60

# --- Ocean colour derived products (HTTP) -------------------------------------

[tiho_psd]
# Kostadinov et al. particle size distribution and phytoplankton carbon,
# doi:10.1594/PANGAEA.939863.  About 900 MB per month.
host = "https://download.pangaea.de"
remotedir = "dataset/939863/files"
filename = "ESACCI-OC-L3S-MERGED-1M_MONTHLY_4km_Mapped_PSD_PSC_{year}{month:02}-fv5.0.nc"
dtm_min = "1998-01-01"
dtm_max = "2020-12-31"
timetypes = ["monthly"]
datadir = "@format {this.basedatadir}/BICEP/PSD"
grid = "nasa_l3_4km"
doi = "10.1594/PANGAEA.939863"

[bicep_poc]
# BICEP particulate organic carbon v5.0 (NERC EDS CEDA).
host = "https://dap.ceda.ac.uk"
remotedir = "neodc/bicep/data/particulate_organic_carbon/v5.0/monthly/GEO/{year}"
filename = "BICEP_NCEO_POC_ESA-OC-L3S-MERGED-1M_MONTHLY_4km_GEO_PML_{year}{month:02}-fv5.0.nc"
dtm_min = "1998-01-01"
dtm_max = "2020-12-31"
timetypes = ["monthly"]
datadir = "@format {this.basedatadir}/BICEP/POC"
grid = "nasa_l3_4km"

[bicep_cp]
# BICEP phytoplankton carbon v5.0 (NERC EDS CEDA).
host = "https://dap.ceda.ac.uk"
remotedir = "neodc/bicep/data/phytoplankton_carbon/v5.0/monthly/{year}"
filename = "BICEP_NCEO_PC_ESA-OC-L3S-MERGED-1M_MONTHLY_9km_mapped_{year}{month:02}-fv5.nc"
dtm_min = "1998-01-01"
dtm_max = "2020-12-31"
timetypes = ["monthly"]
datadir = "@format {this.basedatadir}/BICEP/PC"
grid = "nasa_l3_9km"

# --- Primary production ----------------------------------------------------------

[cafe]
# CAFE NPP from MODIS-Aqua R2022, monthly (Oregon State Ocean Productivity).
host = "https://orca.science.oregonstate.edu"
remotedir = "data/1x2/monthly/cafe.modis.r2022/hdf"
filename = "cafe.{year}{day_of_year:03}.nc"
dtm_min = "2002-07-01"
dtm_max = "2024-01-31"
timetypes = ["monthly"]
datadir = "@format {this.basedatadir}/pp/cafe"
grid = "nasa_l3_18km"
doi = "10.1002/2016GB005521"

# --- Static fields and climatologies ---------------------------------------------

[gebco]
# GEBCO 2024 grid (BODC; served from CEDA).  About 7.5 GB.
host = "https://dap.ceda.ac.uk"
remotedir = "bodc/gebco/global/gebco_2024/ice_surface_elevation/netcdf"
# The CF-compliant file (lat, lon, elevation int16 m); GEBCO_2024.nc is not
# on CEDA.  Checked 2026-11-22: 7.47 GB.
filename = "GEBCO_2024_CF.nc"
timetypes = ["static"]
datadir = "@format {this.basedatadir}/GEBCO"
grid = { dlat = 0.004166666666666667 }
doi = "10.5285/1c44ce99-0a0d-5f4f-e063-7086abc0ea0f"

[longhurst]
# Longhurst biogeographical provinces.  Two versions:
# - 2007 (default): 57 provinces of Longhurst (2007) on a 1/6° grid, the file
#   Longhurst_Regions_2007.nc (codes 1-22, 30-37, 50-72, 80-83; 0 and 99 are
#   land).  url is its last known location, which answers 404 since 2026-11;
#   no other source is known: copy the file into datadir, or set url.
# - variant "1995": the 54 initial static boundaries (Longhurst 1995; 1998)
#   as polygons, the Marine Regions v4 (2010) shapefile, from the VLIZ WFS as
#   GeoJSON (4.9 MB), or from the same shapefile at SAERI (mirror).  Checked
#   2026-11-30.  Using it warns: its provinces and numbers differ.
version = "2007"
url = "https://rsg.pml.ac.uk/shared_files/brj/Longhurst_Regions_2007.nc"
host = "https://rsg.pml.ac.uk"
filename = "Longhurst_Regions_2007.nc"
grid = { dlat = 0.16666666666666666 }
timeout = 120
timetypes = ["static"]
datadir = "@format {this.basedatadir}/longhurst"

[longhurst.variants.1995]
version = "1995"
url = "https://geo.vliz.be/geoserver/MarineRegions/wfs?service=WFS&version=2.0.0&request=GetFeature&typeNames=MarineRegions:longhurst&outputFormat=application/json"
mirror = "https://dataportal.saeri.org/dataset/ead85757-c23d-4e71-a7a0-7e42b0c83793/resource/2e68133b-57fe-4e79-bff6-2463dd5ddfe7/download/longhurst_biogeographical_provinces_v4_2010.zip"
filename = "longhurst_v4_2010.geojson"

[mimoc]
# MIMOC v2.2 mixed layer, one file per calendar month inside one ZIP archive.
host = "https://www.pmel.noaa.gov"
remotedir = "mimoc/data"
archive = "MIMOC_ML_v2.2_PT_S.zip"
filename = "MIMOC_ML_v2.2_PT_S_MLP_month{month:02}.nc"
dtm_min = "2000-01-01"
dtm_max = "2000-12-31"
timetypes = ["climatology"]
datadir = "@format {this.basedatadir}/MIMOC"
grid = { dlat = 0.5, lat_range = [-80.25, 90.25], lon_range = [-180.25, 179.75] }
doi = "10.1002/jgrc.20122"

# --- Local files (site-specific; set datadir in your own seagrid.toml) ---------

[oc_cci_local]
datadir = "/data/slow/OC-CCI/oceancolour.org/occci-v6.0/geographic/netcdf/{timetype}/all_products/{year}"
filename = "ESACCI-OC-L3S-OC_PRODUCTS-MERGED-{period}_4km_GEO_PML_OCx_QAA-{date}-fv6.0.nc"
dtm_min = "1998-01-01"
dtm_max = "2022-12-31"
timetypes = ["daily", "monthly"]
resolutions = ["4km"]
grid = "nasa_l3_4km"

[kd_cci]
datadir = "/data/datasets/CCI/v4.2-release/geographic/netcdf/monthly/kd/{year}"
filename = "ESACCI-OC-L3S-K_490-MERGED-1M_MONTHLY_4km_GEO_PML_KD490_Lee-{year}{month:02}-fv4.2.nc"
dtm_min = "1998-01-01"
dtm_max = "2020-12-31"
timetypes = ["monthly"]
grid = "nasa_l3_4km"

[ifado]
datadir = "/data/lazarev2/scratch/projects-nobackup/iFADO/data/{year}/{month:02}"
filename = "{yyyymmdd}.nc"
dtm_min = "1998-01-01"
dtm_max = "2020-12-31"
timetypes = ["daily"]

[psm]
datadir = "/data/datasets/Projects/pp_par/data/9km_output/2021-02-18-fix-gku-mean-pe-cci-v4-2/CEDA"
filename = "BICEP_NCEO_PP_ESA-OC-L3S-MERGED-1M_MONTHLY_9km_mapped_{year}{month:02}-fv4.2.nc"
dtm_min = "1998-01-01"
dtm_max = "2020-12-31"
timetypes = ["monthly"]

[mercator12]
datadir = "/data/seagrid/glorys12/cGrid/{year}"
filename = "ext-PSY4V3R1_1dAV_{yyyymmdd}_*_{group}_*.nc"
dtm_min = "1998-01-01"
dtm_max = "2018-12-31"
timetypes = ["daily"]