Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/esnb/core/CaseExperiment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import warnings

import yaml

try:
Expand Down Expand Up @@ -28,6 +30,11 @@ def __init__(
self.source = source
self.catalog = catalog

warnings.warn(
"`CaseExperiment` is deprecated and will be REMOVED on 18-Aug-25. Use `CaseExperiment2` instead",
DeprecationWarning,
)

# TODO - make conformant to MDTF keys where possible
if source == "dora":
if verbose:
Expand Down
6 changes: 6 additions & 0 deletions src/esnb/core/CaseGroup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import tempfile
import warnings

import xarray as xr

Expand All @@ -20,6 +21,11 @@ def __init__(
source="dora",
verbose=True,
):
warnings.warn(
"`CaseGroup` is deprecated and will be REMOVED on 18-Aug-25. Use `CaseGroup2` instead",
DeprecationWarning,
)

self.locations = [locations] if not isinstance(locations, list) else locations
if len(self.locations) > 1:
assert concat_dim is not None, (
Expand Down