Skip to content

Commit

Permalink
template update
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Feb 5, 2024
1 parent a6c0dad commit 2651e42
Show file tree
Hide file tree
Showing 45 changed files with 731 additions and 729 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/ecmwf-projects/cookiecutter-conda-package",
"commit": "d7af7236036e91f530260569aa5b232ed4ffbdd2",
"commit": "da39a50a54a0800fc192b7236ee5da405dd5a96d",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: blackdoc
additional_dependencies: [black==23.11.0]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
rev: v0.2.0
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand All @@ -37,7 +37,7 @@ repos:
- id: pretty-format-toml
args: [--autofix]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.1
rev: v8.18.2
hooks:
- id: gitleaks
- repo: https://github.com/nbQA-dev/nbQA
Expand Down
46 changes: 23 additions & 23 deletions notebooks/01-Application_Template_Overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "ae8bf7b2",
"id": "0",
"metadata": {},
"source": [
"## APPLICATION TEMPLATE OVERVIEW - GLOBAL DAILY MEAN TEMPERATURE\n",
Expand All @@ -14,7 +14,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "c26d8ff6",
"id": "1",
"metadata": {},
"source": [
"`$HOME/.cdsapirc` is used by default.\\\n",
Expand All @@ -25,7 +25,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "59c89761",
"id": "2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -36,7 +36,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "ad8c340d",
"id": "3",
"metadata": {},
"source": [
"Import libraries"
Expand All @@ -45,7 +45,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e2ad236a",
"id": "4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -60,15 +60,15 @@
},
{
"cell_type": "markdown",
"id": "e5413ab8",
"id": "5",
"metadata": {},
"source": [
"### PROCESSING with Xarray: GLOBAL DAILY MEAN TEMPERATURE 2021-2022"
]
},
{
"cell_type": "markdown",
"id": "e4c6c63a",
"id": "6",
"metadata": {},
"source": [
"APPLICATION SUMMARY:\n",
Expand All @@ -87,7 +87,7 @@
},
{
"cell_type": "markdown",
"id": "cda420f4",
"id": "7",
"metadata": {},
"source": [
"#### REQUEST DEFINITION"
Expand All @@ -96,7 +96,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "29a64fdc",
"id": "8",
"metadata": {},
"source": [
"For request definition we use **`download.update_request_date`**.\n",
Expand All @@ -111,7 +111,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b85e649b",
"id": "9",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -130,7 +130,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9bac51ad",
"id": "10",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -142,7 +142,7 @@
},
{
"cell_type": "markdown",
"id": "a168702f",
"id": "11",
"metadata": {},
"source": [
"#### DOWNLOAD and PROCESSING"
Expand All @@ -151,7 +151,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "df75d54b",
"id": "12",
"metadata": {},
"source": [
"The processing will be perform as follows:\n",
Expand All @@ -175,7 +175,7 @@
},
{
"cell_type": "markdown",
"id": "72a0d2f2",
"id": "13",
"metadata": {},
"source": [
"#### Define `f`"
Expand All @@ -184,7 +184,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "231a6d2e",
"id": "14",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -195,7 +195,7 @@
},
{
"cell_type": "markdown",
"id": "72330a8c",
"id": "15",
"metadata": {},
"source": [
"#### Define `chunks`"
Expand All @@ -204,7 +204,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "df6b9ee6",
"id": "16",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -213,7 +213,7 @@
},
{
"cell_type": "markdown",
"id": "dcf105d9",
"id": "17",
"metadata": {},
"source": [
"#### Perform the download and processing"
Expand All @@ -222,7 +222,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fd4beb63",
"id": "18",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -238,7 +238,7 @@
},
{
"cell_type": "markdown",
"id": "6e7df77a",
"id": "19",
"metadata": {},
"source": [
"#### Plot result"
Expand All @@ -247,7 +247,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "93acfc6a",
"id": "20",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -267,7 +267,7 @@
{
"attachments": {},
"cell_type": "markdown",
"id": "84465449",
"id": "21",
"metadata": {},
"source": [
"#### Save figure"
Expand All @@ -276,7 +276,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7744f417",
"id": "22",
"metadata": {},
"outputs": [],
"source": [
Expand Down
Loading

0 comments on commit 2651e42

Please sign in to comment.