-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from ecmwf/develop
Update main for release
- Loading branch information
Showing
43 changed files
with
1,634 additions
and
241 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# CODEOWNERS file | ||
|
||
# Protect workflow files | ||
/.github/ @theissenhelen @jesperdramsch @gmertes @b8raoult @floriankrb | ||
/.pre-commit-config.yaml @theissenhelen @jesperdramsch @gmertes @b8raoult @floriankrb | ||
/pyproject.toml @theissenhelen @jesperdramsch @gmertes @b8raoult @floriankrb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
build: | ||
python: '3.10' | ||
modules: | ||
- ninja | ||
dependencies: | ||
- ecmwf/ecbuild@develop | ||
- ecmwf/eccodes@develop | ||
- ecmwf/eckit@develop | ||
- ecmwf/odc@develop | ||
python_dependencies: | ||
- ecmwf/anemoi-utils@develop | ||
- ecmwf/earthkit-data@develop | ||
- ecmwf/earthkit-meteo@develop | ||
- ecmwf/earthkit-geo@develop | ||
parallel: 64 | ||
|
||
pytest_cmd: | | ||
python -m pytest -vv -m 'not notebook and not no_cache_init' --cov=. --cov-report=xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,6 +120,7 @@ celerybeat.pid | |
*.sage.py | ||
|
||
# Environments | ||
.envrc | ||
.env | ||
.venv | ||
env/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Scale and offset can be passed as a dictionnary... | ||
|
||
ds = open_dataset( | ||
dataset, | ||
rescale={"2t": {"scale": 1.0, "offset": -273.15}}, | ||
) | ||
|
||
# ... a tuple of floating points .... | ||
|
||
ds = open_dataset( | ||
dataset, | ||
rescale={"2t": (1.0, -273.15)}, | ||
) | ||
|
||
# ... or a tuple of strings representing units. | ||
|
||
ds = open_dataset( | ||
dataset, | ||
rescale={"2t": ("K", "degC")}, | ||
) | ||
|
||
# Several variables can be rescaled at once. | ||
|
||
ds = open_dataset( | ||
dataset, | ||
rescale={ | ||
"2t": ("K", "degC"), | ||
"tp": ("m", "mm"), | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.