Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
docs: ecml who?
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperDramsch committed Aug 6, 2024
1 parent 2c6fdab commit 541ad3f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 2 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,9 @@
author = "ECMWF"

year = datetime.datetime.now().year
if year == 2024:
years = "2024"
else:
years = "2024-%s" % (year,)
years = "2024" if year == 2024 else f"2024-{year}"

copyright = "%s, ECMWF" % (years,)
copyright = f"{years}, ECMWF"


try:
Expand Down
4 changes: 2 additions & 2 deletions src/anemoi/training/data/datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@


class AnemoiDatasetsDataModule(pl.LightningDataModule):
"""ECML data module for PyTorch Lightning."""
"""Anemoi Datasets data module for PyTorch Lightning."""

def __init__(self, config: DictConfig) -> None:
"""Initialize ECML data module.
"""Initialize Anemoi Datasets data module.
Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion src/anemoi/training/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def per_worker_init(self, n_workers: int, worker_id: int) -> None:
def __iter__(self) -> torch.Tensor:
"""Return an iterator over the dataset.
The datasets are retrieved by ECML Tools from zarr files. This iterator yields
The datasets are retrieved by Anemoi Datasets from zarr files. This iterator yields
chunked batches for DDP and sharded training.
Currently it receives data with an ensemble dimension, which is discarded for
Expand Down

0 comments on commit 541ad3f

Please sign in to comment.