Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

GLORYS

Homepage Download location: Copernicus Marine Data Store

Download procedure: Copernicus Marine Toolbox

An example of the python approach to downloading daily GLORYS data for the North Atlantic is given below:

import copernicusmarine

copernicusmarine.subset(
  dataset_id="cmems_mod_glo_phy_my_0.083deg_P1D-m",
  variables=["mlotst"],
  minimum_longitude=-100,
  maximum_longitude=20,
  minimum_latitude=0,
  maximum_latitude=80,
  start_datetime="1993-01-01T00:00:00",
  end_datetime="2021-06-30T00:00:00",
  minimum_depth=0.49402499198913574,
  maximum_depth=0.49402499198913574,
  file_format='zarr'
)

By default, the tool downloads .nc files, but these can get large and unwieldy. For large datasets, downloading as zarr store helps with data IO. Other useful options for the subset command are to issue your Copernicus username and password directly, and to specify an output_directory.