Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
reflectivity, rain rate, and 1-hour accumulation (`OPERA`)
- Added support for cumulative variables in ARCO data source
- Added DLESyM-v0-ISCCP-ERA5 climate model
- Added COSMO-REA downscaling diagnostic model (`CosmoDownscaling`) for
regression (mean) and diffusion downscaling of ERA5 to COSMO-REA6 (6 km) and
COSMO-REA2 (2.2 km), with movable sub-domain support via `set_domain`

### Changed

Expand Down
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ def linkcode_resolve(domain, info):
"show_memory": False,
"exclude_implicit_doc": {r"load_model", r"load_default_package"},
"log_level": {"backreference_missing": "warning", "gallery_examples": "debug"},
# COSMO-REA weights are not yet publicly hosted, so this example raises without
# a local $COSMO_REA_PACKAGE. Whitelist it so the full gallery build does not
# fail; remove this entry once the package is hosted (load_default_package).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a TODO so we don't forget this

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done (bab2e90)

"expected_failing_examples": [
"../examples/03_downscaling/04_cosmo_rea_downscaling.py",
],
}

# -- sphinx-badges configuration ----------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions docs/modules/models_dx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ etc.
CBottleTCGuidance
CorrDiffCMIP6
CorrDiffTaiwan
CosmoDownscaling
ClimateNet
DerivedRH
DerivedRHDewpoint
Expand Down
20 changes: 20 additions & 0 deletions docs/userguide/about/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,26 @@ pip install earth2studio[corrdiff]
uv add earth2studio --extra corrdiff
```

:::
::::
:::::
:::::{tab-item} COSMO-REA Downscaling
Notes: Additional dependencies for the `CosmoDownscaling` model.

::::{tab-set}
:::{tab-item} pip

```bash
pip install earth2studio[cosmo]
```

:::
:::{tab-item} uv

```bash
uv add earth2studio --extra cosmo
```

:::
::::
:::::
Expand Down
2 changes: 2 additions & 0 deletions earth2studio/models/dx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
CorrDiffTaiwan,
)
from earth2studio.models.dx.corrdiff_cmip6 import CorrDiffCMIP6
from earth2studio.models.dx.cosmo_downscaling import CosmoDownscaling # noqa

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why # noqa?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove it - not needed.

from earth2studio.models.dx.derived import (
DerivedRH,
DerivedRHDewpoint,
Expand Down Expand Up @@ -54,6 +55,7 @@
"CorrDiff",
"CorrDiffCMIP6",
"CorrDiffTaiwan",
"CosmoDownscaling",
"DLESyMv0_ISCCP_ERA5Precip",
"PrecipitationAFNO",
"PrecipitationAFNOv2",
Expand Down
1,995 changes: 1,995 additions & 0 deletions earth2studio/models/dx/cosmo_downscaling.py

Large diffs are not rendered by default.

Loading