Skip to content

Commit

Permalink
test notebook inside handbook
Browse files Browse the repository at this point in the history
  • Loading branch information
capmar00 committed Jul 28, 2024
1 parent 1529a96 commit 8a069ed
Show file tree
Hide file tree
Showing 49 changed files with 292,840 additions and 2,350 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified handbook/_build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified handbook/_build/.doctrees/index.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,38 @@
Explain the objective of the notebook, which is to recognize drought events around the world and over time.


````{tab-set}
```{tab-item} notebook
from ipywidgets import Layout, Dropdown, widgets
from IPython.display import display, clear_output, IFrame
from functools import partial
import datetime
import numpy as np
import modules.n1_utilities as uti
import warnings
warnings.filterwarnings("ignore", category=RuntimeWarning)
```
```{tab-item} utilities
def get_file_path(file_name):
"""
Get the file path for the given file name.
Args:
file_name (str): The name of the file.
Returns:
str: The file path for the given file name.
"""
current_dir = os.path.dirname(__file__)
return os.path.join(current_dir, '..', 'data', file_name)
```
````

## Indicators of interest
We will concentrate on the SPI and SPEI values from our dataset, covering the period from 1940 to the present. The data quality will be assessed, noting any limitations such as missing data or measurement errors that could influence our analysis.

Expand Down
Loading

0 comments on commit 8a069ed

Please sign in to comment.