Skip to content

Commit

Permalink
style(ecmwf-stat): Move description to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Dec 6, 2024
1 parent 960e25f commit f9fd5f4
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions local_archives/nwp/ecmwf/ecmwf_ens_stat_india.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
"""Zarr archive of Summary NWP data from ECMWF's EPS.
EPS is the ECMWF Ensemble Prediction System,
which provides 50 perturbed forecasts of upcoming atmospheric conditions.
This asset contains summary statistics of this data (mean, standard deviation) for India.
Sourced via MARS API from ECMWF (https://apps.ecmwf.int/mars-catalogue).
This asset is updated monthly, and surfaced as a Zarr Directory Store for each month.
It is downloaded using the nwp-consumer docker image
(https://github.com/openclimatefix/nwp-consumer).
"""

import datetime as dt
import os
from typing import Any
Expand All @@ -13,14 +25,7 @@

@dg.asset(
name="zarr_archive",
description="".join((
"Zarr archive of Summary NWP data from ECMWF's EPS. ",
"Sourced via MARS API from ECMWF ",
"(https://apps.ecmwf.int/mars-catalogue/). ",
"This asset is updated monthly, and surfaced as a Zarr Directory Store ",
"for each month. It is downloaded using the nwp-consumer ",
"docker image (https://github.com/openclimatefix/nwp-consumer). ",
)),
description=__doc__,
key_prefix=["nwp", "ecmwf-eps", "india-stat"],
metadata={
"archive_folder": dg.MetadataValue.text(ARCHIVE_FOLDER),
Expand Down

0 comments on commit f9fd5f4

Please sign in to comment.