Skip to content

Better derivation example

1cdfef2
Select commit
Loading
Failed to load commit list.
Open

Expand Dataset.from_files so it works properly with derived variables #2777

Better derivation example
1cdfef2
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jul 16, 2025 in 0s

7 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 4
- Added 7
           

See the complete overview on Codacy

Annotations

Check notice on line 248 in esmvalcore/_recipe/recipe.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

esmvalcore/_recipe/recipe.py#L248

Access to a protected member _derivation_necessary of a client class (protected-access)

Check notice on line 497 in esmvalcore/_recipe/to_datasets.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

esmvalcore/_recipe/to_datasets.py#L497

Access to a protected member _derivation_necessary of a client class (protected-access)

Check warning on line 285 in esmvalcore/dataset.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

esmvalcore/dataset.py#L285

Dataset._get_all_available_datasets is too complex (12) (MC0001)

Check notice on line 310 in esmvalcore/dataset.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

esmvalcore/dataset.py#L310

Too many nested blocks (6/5) (too-many-nested-blocks)

Check warning on line 311 in esmvalcore/dataset.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

esmvalcore/dataset.py#L311

Missing type parameters for generic type "dict". (type-arg)

Check notice on line 383 in esmvalcore/dataset.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

esmvalcore/dataset.py#L383

Access to a protected member _update_timerange of a client class (protected-access)

Check notice on line 458 in esmvalcore/dataset.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

esmvalcore/dataset.py#L458

Access to a protected member _get_all_available_datasets of a client class (protected-access)