-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #203 from tobac-project/RC_v1.4.0
Merging `RC_v1.4.0` into `main`
- Loading branch information
Showing
64 changed files
with
5,320 additions
and
612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[run] | ||
source=tobac | ||
omit = tobac/tests/* | ||
omit = | ||
tobac/tests/* | ||
setup.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
__pycache__ | ||
.vscode | ||
htmlcov | ||
.coverage | ||
.coverage | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 2 | ||
formats: all | ||
python: | ||
version: 3 | ||
install: | ||
- requirements: doc/requirements.txt | ||
system_packages: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
{ | ||
"title": "tobac - Tracking and Object-based Analysis of Clouds", | ||
"description": "tobac is a Python package to identify, track and analyze clouds in different types of gridded datasets, such as 3D model output from cloud-resolving model simulations or 2D data from satellite retrievals.", | ||
"creators": [ | ||
{ | ||
"name": "tobac Community" | ||
}, | ||
{ | ||
"name": "Heikenfeld, Max", | ||
"affiliation": "University of Oxford", | ||
"orcid": "0000-0001-8124-8048" | ||
}, | ||
{ | ||
"name": "Marinescu, Peter J.", | ||
"affiliation": "Colorado State University", | ||
"orcid": "0000-0002-5842-969X" | ||
}, | ||
{ | ||
"name": "Freeman, Sean W.", | ||
"affiliation": "Colorado State University", | ||
"orcid": "0000-0002-7398-1597" | ||
}, | ||
{ | ||
"name": "Kukulies, Julia", | ||
"affiliation": "University of Gothenburg (Sweden)", | ||
"orcid": "0000-0001-6084-0069" | ||
}, | ||
{ | ||
"name": "Jones, William K.", | ||
"affiliation": "University of Oxford", | ||
"orcid": "0000-0001-9786-3723" | ||
}, | ||
{ | ||
"name": "Senf, Fabian", | ||
"affiliation": "Leibniz Institute for Tropospheric Research, Leipzig (Germany)", | ||
"orcid": "0000-0003-1685-2657" | ||
}, | ||
{ | ||
"name": "Bruning, Eric", | ||
"affiliation": "Texas Tech University", | ||
"orcid": "0000-0003-1959-442X" | ||
}, | ||
{ | ||
"name": "Brunner, Kelcy", | ||
"affiliation": "Texas Tech University", | ||
"orcid": "0000-0003-3938-0963" | ||
}, | ||
{ | ||
"name": "Collis, Scott M.", | ||
"affiliation": "Argonne National Laboratory", | ||
"orcid": "0000-0002-2303-687X" | ||
}, | ||
{ | ||
"name": "Pfeifer, Nils", | ||
"affiliation": "Leibniz Institute for Tropospheric Research, Leipzig (Germany)", | ||
"orcid": "0000-0002-5350-1445" | ||
}, | ||
{ | ||
"name": "Raut, Bhupendra A.", | ||
"affiliation": "Northwestern-Argonne Institute of Science and Engineering, Argonne National Laboratory", | ||
"orcid": "0000-0001-5598-1393" | ||
}, | ||
{ | ||
"name": "Stier, Philip", | ||
"affiliation": "University of Oxford", | ||
"orcid": "0000-0002-1191-0128" | ||
}, | ||
{ | ||
"name": "van den Heever, Sue C.", | ||
"affiliation": "Colorado State University", | ||
"orcid": "0000-0001-9843-3864" | ||
}, | ||
{ | ||
"name": "Zhang, Xin", | ||
"affiliation": "Nanjing University of Information Science & Technology (China)", | ||
"orcid": "0000-0002-1756-6620" | ||
} | ||
], | ||
"license": "BSD-3-Clause", | ||
"keywords": [ | ||
"cloud tracking" | ||
], | ||
"access_right": "open", | ||
"upload_type": "software" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Codecov.io settings | ||
|
||
coverage: | ||
status: | ||
project: | ||
default: | ||
# basic settings | ||
# auto target means look at deltas from previous | ||
target: auto | ||
# Threshold we can drop coverage before failing CI | ||
threshold: 1% | ||
base: auto | ||
flags: | ||
- unit | ||
paths: | ||
- "tobac" | ||
|
||
# what folders and files to ignore | ||
ignore: | ||
- "tobac/tests/.*" | ||
- "setup.py" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* from https://github.com/readthedocs/sphinx_rtd_theme/issues/117#issuecomment-41506687 */ | ||
/* with augmentations from https://github.com/readthedocs/sphinx_rtd_theme/issues/117#issuecomment-153083280 */ | ||
/* override table width restrictions */ | ||
@media screen and (min-width: 767px) { | ||
|
||
.wy-table-responsive table td { | ||
/* !important prevents the common CSS stylesheets from | ||
overriding this as on RTD they are loaded after this stylesheet */ | ||
white-space: normal !important; | ||
} | ||
|
||
.wy-table-responsive { | ||
max-width: 100%; | ||
overflow: visible !important; | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.. | ||
Documentation of analysis functions | ||
TODO: include descriptions of the analysis functions and examples | ||
Analysis | ||
======= | ||
tobac provides several analysis functions that allow for the calculation of important quantities based on the tracking results. This includes the calculation of important properties of the tracked objects such as cloud lifetimes, cloud areas/volumes, but also allows for a convenient calculation of statistics for arbitratry fields of the same shape as as the input data used for the tracking analysis. | ||
|
||
========= | ||
tobac provides several analysis functions that allow for the calculation of important quantities based on the tracking results. This includes the calculation of properties such as feature lifetimes and feature areas/volumes, but also allows for a convenient calculation of statistics for arbitrary fields of the same shape as as the input data used for the tracking analysis. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Handling Large Datasets | ||
------------------------------------- | ||
|
||
Often, one desires to use *tobac* to identify and track features in large datasets ("big data"). This documentation strives to suggest various methods for doing so efficiently. Current versions of *tobac* do not allow for out-of-memory computation, meaning that these strategies may need to be employed for both computational and memory reasons. | ||
|
||
.. _Split Feature Detection: | ||
======================= | ||
Split Feature Detection | ||
======================= | ||
Current versions of threshold feature detection (see :doc:`feature_detection_overview`) are time independent, meaning that one can parallelize feature detection across all times (although not across space). *tobac* provides the :py:meth:`tobac.utils.combine_tobac_feats` function to combine a list of dataframes produced by a parallelization method (such as :code:`jug` or :code:`multiprocessing.pool`) into a single combined dataframe suitable to perform tracking with. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
'''This file is used to configure the Sphinx build of our documentation. | ||
The documentation on setting this up is here: https://www.sphinx-doc.org/en/master/usage/configuration.html | ||
''' | ||
|
||
# This is the standard readthedocs theme. | ||
import sphinx_rtd_theme | ||
import sys, os | ||
|
||
sys.path.insert(0, os.path.abspath('extensions')) | ||
|
||
# What Sphinx extensions do we need | ||
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', | ||
'sphinx.ext.coverage', 'sphinx.ext.imgmath', 'sphinx.ext.ifconfig', | ||
'sphinx_rtd_theme','sphinx.ext.napoleon', 'nbsphinx'] | ||
|
||
|
||
html_theme = "sphinx_rtd_theme" | ||
|
||
html_static_path = ['_static'] | ||
|
||
|
||
project = u'tobac' | ||
|
||
master_doc = 'index' | ||
|
||
# allow dropdowns | ||
collapse_navigation = False | ||
|
||
# Include our custom CSS (currently for special table config) | ||
def setup(app): | ||
app.add_css_file("theme_overrides.css") | ||
|
||
# This should include all modules used in tobac. These are dummy imports, | ||
# but should include both required and optional dependencies. | ||
autodoc_mock_imports = ['numpy', 'scipy', 'scikit-image', 'pandas', 'pytables', 'matplotlib', 'iris', | ||
'cf-units', 'xarray', 'cartopy', 'trackpy', 'numba'] | ||
|
||
sys.path.insert(0, os.path.abspath("../")) | ||
|
||
# Napoleon settings for configuring the Napoleon extension | ||
# See documentation here: | ||
# https://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html | ||
napoleon_google_docstring = True | ||
napoleon_numpy_docstring = True | ||
napoleon_include_init_with_doc = False | ||
napoleon_include_private_with_doc = False | ||
napoleon_include_special_with_doc = True | ||
napoleon_use_admonition_for_examples = False | ||
napoleon_use_admonition_for_notes = False | ||
napoleon_use_admonition_for_references = False | ||
napoleon_use_ivar = False | ||
napoleon_use_param = True | ||
napoleon_use_rtype = True | ||
napoleon_preprocess_types = False | ||
napoleon_type_aliases = None | ||
napoleon_attr_annotations = True |
Oops, something went wrong.