Skip to content

Commit

Permalink
-m
Browse files Browse the repository at this point in the history
  • Loading branch information
ox5324 committed Jun 22, 2023
1 parent 4fcdab8 commit a059009
Show file tree
Hide file tree
Showing 15 changed files with 1,852 additions and 191 deletions.
15 changes: 9 additions & 6 deletions .ipynb_checkpoints/readme-checkpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,24 @@

## Documentation

See https://github.com/joshdorrington/domino/blob/master/docbuild/domino-composite.pdf
See our API reference here: https://github.com/joshdorrington/domino/blob/master/docbuild/domino-composite.pdf

## Examples

A basic introduction to using the package out of the box, with three example applications:
See our Jupyter notebook examples for more detailed discussion of how to apply Domino to different use cases.

https://github.com/joshdorrington/domino/blob/master/examples/basic_usage.ipynb
Our [basic](https://github.com/joshdorrington/domino/blob/master/examples/basic_compositing.ipynb) and [advanced](https://github.com/joshdorrington/domino/blob/master/examples/advanced_compositing.ipynb) compositing guides cover the use of Domino's flexible LaggedAnalyser class to easily compute time-lagged composites and apply bootstrap significance tests to them.

A more in-depth discussion of how to customise the behaviour of the LaggedAnalyser class:
Producing filtered precursor patterns from composites, and computing precursor activity indices from those is covered in our [IndexGenerator](https://github.com/joshdorrington/domino/blob/master/examples/precursor_index_computation.ipynb) guide.

https://github.com/joshdorrington/domino/blob/master/examples/advanced_usage.ipynb

## Install

domino can be installed using pip:
```
python -m pip install "domino-composite==0.14"
python -m pip install "domino-composite==0.272"
```
If you want to run the worked examples in the Jupyter notebooks you will need:
```
TO BE DECIDED
```
2 changes: 1 addition & 1 deletion .ipynb_checkpoints/setup-checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='domino-composite',
version='0.272',
version='0.273',
author='Josh Dorrington',
author_email='joshua.dorrington@kit.edu',
description='A package for compositing atmospheric datasets',
Expand Down
Binary file added dist/domino-composite-0.273.tar.gz
Binary file not shown.
Binary file added dist/domino_composite-0.273-py3-none-any.whl
Binary file not shown.
2 changes: 1 addition & 1 deletion domino/.ipynb_checkpoints/filtering-checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_area_regions(grid,area_thresh,area):
connected_da=xr.DataArray(connected,coords=area.coords)
ix_areas=np.array([area.where(connected_da==i).sum().values\
for i in ix])

print(ix_areas)
for m in ix[ix_areas<area_thresh]:
connected[connected==m]=0
return connected>0
Expand Down
2 changes: 1 addition & 1 deletion domino/filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_area_regions(grid,area_thresh,area):
connected_da=xr.DataArray(connected,coords=area.coords)
ix_areas=np.array([area.where(connected_da==i).sum().values\
for i in ix])

print(ix_areas)
for m in ix[ix_areas<area_thresh]:
connected[connected==m]=0
return connected>0
Expand Down
17 changes: 10 additions & 7 deletions domino_composite.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: domino-composite
Version: 0.272
Version: 0.273
Summary: A package for compositing atmospheric datasets
Home-page: https://github.com/joshdorrington/domino
Author: Josh Dorrington
Expand All @@ -13,21 +13,24 @@ Description-Content-Type: text/markdown

## Documentation

See https://github.com/joshdorrington/domino/blob/master/docbuild/domino-composite.pdf
See our API reference here: https://github.com/joshdorrington/domino/blob/master/docbuild/domino-composite.pdf

## Examples

A basic introduction to using the package out of the box, with three example applications:
See our Jupyter notebook examples for more detailed discussion of how to apply Domino to different use cases.

https://github.com/joshdorrington/domino/blob/master/examples/basic_usage.ipynb
Our [basic](https://github.com/joshdorrington/domino/blob/master/examples/basic_compositing.ipynb) and [advanced](https://github.com/joshdorrington/domino/blob/master/examples/advanced_compositing.ipynb) compositing guides cover the use of Domino's flexible LaggedAnalyser class to easily compute time-lagged composites and apply bootstrap significance tests to them.

A more in-depth discussion of how to customise the behaviour of the LaggedAnalyser class:
Producing filtered precursor patterns from composites, and computing precursor activity indices from those is covered in our [IndexGenerator](https://github.com/joshdorrington/domino/blob/master/examples/precursor_index_computation.ipynb) guide.

https://github.com/joshdorrington/domino/blob/master/examples/advanced_usage.ipynb

## Install

domino can be installed using pip:
```
python -m pip install "domino-composite==0.14"
python -m pip install "domino-composite==0.272"
```
If you want to run the worked examples in the Jupyter notebooks you will need:
```
TO BE DECIDED
```
440 changes: 356 additions & 84 deletions examples/.ipynb_checkpoints/precursor_index_computation-checkpoint.ipynb

Large diffs are not rendered by default.

1,548 changes: 1,464 additions & 84 deletions examples/precursor_index_computation.ipynb

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,24 @@

## Documentation

See https://github.com/joshdorrington/domino/blob/master/docbuild/domino-composite.pdf
See our API reference here: https://github.com/joshdorrington/domino/blob/master/docbuild/domino-composite.pdf

## Examples

A basic introduction to using the package out of the box, with three example applications:
See our Jupyter notebook examples for more detailed discussion of how to apply Domino to different use cases.

https://github.com/joshdorrington/domino/blob/master/examples/basic_usage.ipynb
Our [basic](https://github.com/joshdorrington/domino/blob/master/examples/basic_compositing.ipynb) and [advanced](https://github.com/joshdorrington/domino/blob/master/examples/advanced_compositing.ipynb) compositing guides cover the use of Domino's flexible LaggedAnalyser class to easily compute time-lagged composites and apply bootstrap significance tests to them.

A more in-depth discussion of how to customise the behaviour of the LaggedAnalyser class:
Producing filtered precursor patterns from composites, and computing precursor activity indices from those is covered in our [IndexGenerator](https://github.com/joshdorrington/domino/blob/master/examples/precursor_index_computation.ipynb) guide.

https://github.com/joshdorrington/domino/blob/master/examples/advanced_usage.ipynb

## Install

domino can be installed using pip:
```
python -m pip install "domino-composite==0.14"
python -m pip install "domino-composite==0.272"
```
If you want to run the worked examples in the Jupyter notebooks you will need:
```
TO BE DECIDED
```
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='domino-composite',
version='0.272',
version='0.273',
author='Josh Dorrington',
author_email='joshua.dorrington@kit.edu',
description='A package for compositing atmospheric datasets',
Expand Down

0 comments on commit a059009

Please sign in to comment.