Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 18, 2024
1 parent d9db621 commit 51cff01
Show file tree
Hide file tree
Showing 18 changed files with 751 additions and 750 deletions.
1 change: 1 addition & 0 deletions fossil/DA_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Adapted form PyDA project: https://github.com/Shady-Ahmed/PyDA
Reference: https://www.mdpi.com/2311-5521/5/4/225
"""

import numpy as np
from numba import jit

Expand Down
80 changes: 40 additions & 40 deletions notebooks/DA_demo_L96.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "markdown",
"id": "a013986b",
"id": "0",
"metadata": {},
"source": [
"# Data Assimilation demo in the Lorenz 96 (L96) two time-scale model\n"
]
},
{
"cell_type": "markdown",
"id": "c33e3435",
"id": "1",
"metadata": {},
"source": [
"## What is DA? Why do we do it?\n",
Expand All @@ -31,7 +31,7 @@
},
{
"cell_type": "markdown",
"id": "208a8f14",
"id": "2",
"metadata": {},
"source": [
"## Design of the data assimilation experiments in L96\n",
Expand All @@ -54,7 +54,7 @@
},
{
"cell_type": "markdown",
"id": "66584b6f",
"id": "3",
"metadata": {},
"source": [
"### 1. Define our \"GCM\" and DA parameters to use throughout notebook"
Expand All @@ -63,7 +63,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9f81b262-6d04-44d8-9a61-ada0ea0c9acb",
"id": "4",
"metadata": {
"tags": []
},
Expand All @@ -83,7 +83,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ebf223e6-ed8a-425a-b808-55b0cc59c69c",
"id": "5",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -121,7 +121,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3d2efdbe",
"id": "6",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -159,7 +159,7 @@
},
{
"cell_type": "markdown",
"id": "6d3052af",
"id": "7",
"metadata": {
"user_expressions": []
},
Expand All @@ -174,7 +174,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e393d1bd-5838-402d-a381-a617c987d1f8",
"id": "8",
"metadata": {
"tags": []
},
Expand All @@ -186,7 +186,7 @@
},
{
"cell_type": "markdown",
"id": "a4696c6b-cfbd-4623-9952-bcf7a3e75783",
"id": "9",
"metadata": {
"user_expressions": []
},
Expand All @@ -197,7 +197,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "18d8e02a-2dec-4724-9175-f5809414533e",
"id": "10",
"metadata": {
"tags": []
},
Expand All @@ -216,7 +216,7 @@
},
{
"cell_type": "markdown",
"id": "a68c402e-e083-4cfe-b678-d4d8cd5e098f",
"id": "11",
"metadata": {
"user_expressions": []
},
Expand All @@ -227,7 +227,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ae0f3b33-7cf7-47ae-9460-f735f8d46627",
"id": "12",
"metadata": {
"tags": []
},
Expand All @@ -238,7 +238,7 @@
},
{
"cell_type": "markdown",
"id": "4916b273-2823-4c6c-b3e4-fd1f3b5ce805",
"id": "13",
"metadata": {
"user_expressions": []
},
Expand All @@ -249,7 +249,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fceac2dd-543e-4688-99ce-a7eb2bcc4e41",
"id": "14",
"metadata": {
"tags": []
},
Expand All @@ -273,7 +273,7 @@
},
{
"cell_type": "markdown",
"id": "c90c0fef-53be-4d0b-9105-9601862f6690",
"id": "15",
"metadata": {
"user_expressions": []
},
Expand All @@ -284,7 +284,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "66ac4faf-ff3f-4152-bfb9-fcdb1f2c2234",
"id": "16",
"metadata": {
"tags": []
},
Expand All @@ -295,7 +295,7 @@
},
{
"cell_type": "markdown",
"id": "61df79fe-b945-43be-b08a-b63b93bca400",
"id": "17",
"metadata": {
"user_expressions": []
},
Expand All @@ -306,7 +306,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1e66be99-a6d1-4134-92a4-e1a2ab8a6916",
"id": "18",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -350,7 +350,7 @@
},
{
"cell_type": "markdown",
"id": "8a17c582-090e-48bf-b26a-adbd66fdbefb",
"id": "19",
"metadata": {
"user_expressions": []
},
Expand All @@ -361,7 +361,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "dd8b5cc7",
"id": "20",
"metadata": {
"tags": []
},
Expand All @@ -375,7 +375,7 @@
},
{
"cell_type": "markdown",
"id": "d3f14f72",
"id": "21",
"metadata": {
"user_expressions": []
},
Expand All @@ -388,7 +388,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e01dbe50-741b-4ce5-88ac-4f583e19d11c",
"id": "22",
"metadata": {
"tags": []
},
Expand All @@ -411,7 +411,7 @@
},
{
"cell_type": "markdown",
"id": "89ee8b4d-0539-4621-8d45-30769452a155",
"id": "23",
"metadata": {
"user_expressions": []
},
Expand All @@ -422,7 +422,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "abc69e52",
"id": "24",
"metadata": {
"tags": []
},
Expand All @@ -435,7 +435,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "34000d8e-bb3c-4ca7-b760-e186ec7c2f80",
"id": "25",
"metadata": {
"tags": []
},
Expand All @@ -454,7 +454,7 @@
},
{
"cell_type": "markdown",
"id": "c72bc6d5",
"id": "26",
"metadata": {
"user_expressions": []
},
Expand All @@ -467,7 +467,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c053ebb0-0e36-41cc-bca5-141ddd15a165",
"id": "27",
"metadata": {
"tags": []
},
Expand All @@ -484,7 +484,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "577e9b3d",
"id": "28",
"metadata": {
"tags": []
},
Expand All @@ -503,7 +503,7 @@
},
{
"cell_type": "markdown",
"id": "760a249a",
"id": "29",
"metadata": {
"user_expressions": []
},
Expand All @@ -524,7 +524,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b7c5c9f4-0ae8-4d07-a458-6d2b1ec4af33",
"id": "30",
"metadata": {
"tags": []
},
Expand All @@ -543,7 +543,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8d49ce4c-2a11-4207-9bd1-05b16607b2fd",
"id": "31",
"metadata": {
"tags": []
},
Expand All @@ -558,7 +558,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "236c576b-be9f-4353-9172-455853f08d2e",
"id": "32",
"metadata": {
"tags": []
},
Expand All @@ -583,7 +583,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "50e95487-435f-4bd4-bfab-6e0cb6893b30",
"id": "33",
"metadata": {
"tags": []
},
Expand All @@ -599,7 +599,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "46ef8b1f",
"id": "34",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -699,7 +699,7 @@
},
{
"cell_type": "markdown",
"id": "5d243a69",
"id": "35",
"metadata": {
"user_expressions": []
},
Expand All @@ -710,7 +710,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f3c37a85-433c-4d2e-a49c-1daf4f6a9ca8",
"id": "36",
"metadata": {
"tags": []
},
Expand All @@ -723,7 +723,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3f6f05d0",
"id": "37",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -879,7 +879,7 @@
},
{
"cell_type": "markdown",
"id": "63475b82-5e45-4a2c-93f5-f0e089320c7b",
"id": "38",
"metadata": {
"user_expressions": []
},
Expand All @@ -890,7 +890,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "65993585",
"id": "39",
"metadata": {},
"outputs": [],
"source": [
Expand Down
1 change: 1 addition & 0 deletions notebooks/DA_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Partly adapted form PyDA project: https://github.com/Shady-Ahmed/PyDA
Reference: https://www.mdpi.com/2311-5521/5/4/225
"""

import numpy as np
from numba import njit

Expand Down
Loading

0 comments on commit 51cff01

Please sign in to comment.