tsgettoolbox-modis 27.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ version = 1
2
+
3
+ [[analyzers]]
4
+ enabled = true
5
+ name = "python"
6
+
7
+ [analyzers.meta]
8
+ runtime_version = "3.8.x"
@@ -0,0 +1,87 @@
1
+ ---
2
+ # See https://pre-commit.com for more information
3
+ # See https://pre-commit.com/hooks.html for more hooks
4
+
5
+ exclude: |
6
+ (?x)^(
7
+ .*\.dods|
8
+ .*\.dmr|
9
+ .*\.dmd|
10
+ .*\.wdm|
11
+ .*\.hbn
12
+ )$
13
+
14
+ repos:
15
+ - repo: https://github.com/pre-commit/pre-commit-hooks
16
+ rev: v6.0.0
17
+ hooks:
18
+ - id: check-case-conflict
19
+ - id: check-docstring-first
20
+ - id: check-executables-have-shebangs
21
+ - id: check-json
22
+ - id: check-merge-conflict
23
+ - id: check-shebang-scripts-are-executable
24
+ - id: check-toml
25
+ - id: check-xml
26
+ - id: end-of-file-fixer
27
+ exclude: notebooks/tstoolbox_plot_bash.sh
28
+ - id: mixed-line-ending
29
+ - id: trailing-whitespace
30
+ exclude: notebooks/tstoolbox_plot_bash.sh
31
+
32
+ - repo: https://github.com/astral-sh/ruff-pre-commit
33
+ # Ruff version.
34
+ rev: v0.16.9
35
+ hooks:
36
+ # Run the linter.
37
+ - id: ruff
38
+ types_or: [python, pyi, jupyter]
39
+ args: [--fix]
40
+ # Run the formatter.
41
+ - id: ruff-format
42
+ types_or: [python, pyi, jupyter]
43
+
44
+ - repo: https://github.com/pappasam/toml-sort
45
+ rev: v0.25.0
46
+ hooks:
47
+ - id: toml-sort-fix
48
+ args: [--in-place, --spaces-indent-inline-array, '4']
49
+
50
+ - repo: https://github.com/adrienverge/yamllint.git
51
+ rev: v1.38.0
52
+ hooks:
53
+ - id: yamllint
54
+ args: [--format, parsable, --strict]
55
+
56
+ - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
57
+ rev: 0.2.3
58
+ hooks:
59
+ - id: yamlfmt
60
+
61
+ - repo: https://github.com/jumanjihouse/pre-commit-hooks
62
+ rev: 3.0.0
63
+ hooks:
64
+ - id: shellcheck
65
+ args: [-s, bash]
66
+
67
+ - repo: https://github.com/lovesegfault/beautysh
68
+ rev: v6.4.3
69
+ hooks:
70
+ - id: beautysh
71
+ args: [--indent-size, '4']
72
+
73
+ - repo: https://github.com/asottile/blacken-docs
74
+ rev: 1.20.0
75
+ hooks:
76
+ - id: blacken-docs
77
+
78
+ - repo: https://github.com/asottile/pyupgrade
79
+ rev: v3.21.2
80
+ hooks:
81
+ - id: pyupgrade
82
+
83
+ - repo: https://github.com/commitizen-tools/commitizen
84
+ rev: v4.19.0
85
+ hooks:
86
+ - id: commitizen
87
+ stages: [commit-msg]
@@ -0,0 +1,77 @@
1
+ ---
2
+ # 🪄 This is your project's Sourcery configuration file.
3
+
4
+ # You can use it to get Sourcery working in the way you want, such as
5
+ # ignoring specific refactorings, skipping directories in your project,
6
+ # or writing custom rules.
7
+
8
+ # 📚 For a complete reference to this file, see the documentation at
9
+ # https://docs.sourcery.ai/Configuration/Project-Settings/
10
+
11
+ # This file was auto-generated by Sourcery on 2023-11-19 at 01:27.
12
+
13
+ version: '1' # The schema version of this config file
14
+
15
+ ignore: # A list of paths or files which Sourcery will ignore.
16
+ - .git
17
+ - venv
18
+ - .venv
19
+ - env
20
+ - .env
21
+ - .tox
22
+ - node_modules
23
+ - vendor
24
+
25
+ rule_settings:
26
+ enable:
27
+ - default
28
+ disable: [] # A list of rule IDs Sourcery will never suggest.
29
+ rule_types:
30
+ - refactoring
31
+ - suggestion
32
+ - comment
33
+ # A string specifying the lowest Python version your project supports.
34
+ # Sourcery will not suggest refactorings requiring a higher Python version.
35
+ python_version: '3.8'
36
+
37
+ # rules: # A list of custom rules Sourcery will include in its analysis.
38
+ # - id: no-print-statements
39
+ # description: Do not use print statements in the test directory.
40
+ # pattern: print(...)
41
+ # language: python
42
+ # replacement:
43
+ # condition:
44
+ # explanation:
45
+ # paths:
46
+ # include:
47
+ # - test
48
+ # exclude:
49
+ # - conftest.py
50
+ # tests: []
51
+ # tags: []
52
+
53
+ # rule_tags: {} # Additional rule tags.
54
+
55
+ # metrics:
56
+ # quality_threshold: 25.0
57
+
58
+ # github:
59
+ # labels: []
60
+ # ignore_labels:
61
+ # - sourcery-ignore
62
+ # request_review: author
63
+ # sourcery_branch: sourcery/{base_branch}
64
+
65
+ # clone_detection:
66
+ # min_lines: 3
67
+ # min_duplicates: 2
68
+ # identical_clones_only: false
69
+
70
+ # proxy:
71
+ # url:
72
+ # ssl_certs_file:
73
+ # no_ssl_verify: false
74
+
75
+ # coding_assistant:
76
+ # project_description: ''
77
+ # enabled:
@@ -0,0 +1,4 @@
1
+
2
+ Authors
3
+ =======
4
+ Tim Cera, P.E.
@@ -0,0 +1,19 @@
1
+ .. image:: https://img.shields.io/coveralls/github/timcera/tsgettoolbox
2
+ :alt: Test Coverage
3
+ :target: https://coveralls.io/r/timcera/tsgettoolbox?branch=master
4
+ :height: 20
5
+
6
+ .. image:: https://img.shields.io/pypi/v/tsgettoolbox.svg
7
+ :alt: Latest release
8
+ :target: https://pypi.python.org/pypi/tsgettoolbox/
9
+ :height: 20
10
+
11
+ .. image:: https://img.shields.io/pypi/l/tsgettoolbox.svg
12
+ :alt: BSD-3 clause license
13
+ :target: https://pypi.python.org/pypi/tsgettoolbox/
14
+ :height: 20
15
+
16
+ .. image:: https://img.shields.io/pypi/pyversions/tsgettoolbox
17
+ :alt: PyPI - Python Version
18
+ :target: https://pypi.org/project/tsgettoolbox/
19
+ :height: 20
File without changes
@@ -0,0 +1,30 @@
1
+ # This CITATION.cff file was generated with cffinit.
2
+ # Visit https://bit.ly/cffinit to generate yours today!
3
+
4
+ cff-version: 1.2.0
5
+ title: tsgettoolbox
6
+ message: >-
7
+ If you use this software, please cite it using the
8
+ metadata from this file.
9
+ type: software
10
+ authors:
11
+ - given-names: Timothy
12
+ family-names: Cera
13
+ email: tim@cerazone.net
14
+ orcid: 'https://orcid.org/0000-0003-4613-7697'
15
+ repository-code: 'https://github.com/timcera/tsgettoolbox'
16
+ url: 'https://timcera.bitbucket.io'
17
+ repository: 'https://bitbucket.org/timcera/tsgettoolbox'
18
+ repository-artifact: 'https://pypi.org/project/tsgettoolbox/'
19
+ abstract: >-
20
+ tsgettoolbox is a small Python library for downloading and
21
+ reformatting hydrologic and meteorologic time-series data
22
+ from various internet sources.
23
+ keywords:
24
+ - time-series
25
+ - uri
26
+ - url
27
+ - hydrology
28
+ - meteorology
29
+ - rest
30
+ license: BSD-3-Clause
@@ -0,0 +1,115 @@
1
+ ============
2
+ Contributing
3
+ ============
4
+ Contributions are welcome, and they are greatly appreciated! Every
5
+ little bit helps, and credit will always be given.
6
+
7
+ You can contribute in many ways:
8
+
9
+ Types of Contributions
10
+ ----------------------
11
+
12
+ Report Bugs
13
+ ~~~~~~~~~~~
14
+ Report bugs at https://github.com/timcera/tsgettoolbox_modis
15
+
16
+ If you are reporting a bug, please include:
17
+
18
+ * Your operating system name and version.
19
+ * Any details about your local setup that might be helpful in troubleshooting.
20
+ * Detailed steps to reproduce the bug.
21
+
22
+ Fix Bugs
23
+ ~~~~~~~~
24
+ Look through the github issues for bugs. Anything tagged with "bug" is open to
25
+ whoever wants to implement it.
26
+
27
+ Implement Features
28
+ ~~~~~~~~~~~~~~~~~~
29
+ Look through the github issues for features. Anything tagged with "feature" is
30
+ open to whoever wants to implement it.
31
+
32
+ Write Documentation
33
+ ~~~~~~~~~~~~~~~~~~~
34
+ tsgettoolbox_modis could always use more documentation, whether as part of the
35
+ official tsgettoolbox_modis docs or in docstrings.
36
+
37
+ Submit Feedback
38
+ ~~~~~~~~~~~~~~~
39
+ The best way to send feedback is to file an issue at
40
+ https://github.com/timcera/tsgettoolbox_modis
41
+
42
+ If you are proposing a feature:
43
+
44
+ * Explain in detail how it would work.
45
+ * Keep the scope as narrow as possible, to make it easier to implement.
46
+ * Remember that this is a volunteer-driven project, and that contributions
47
+ are welcome :)
48
+
49
+ Get Started!
50
+ ------------
51
+ Ready to contribute? Here's how to set up `tsgettoolbox_modis` for local development.
52
+
53
+ 1. Fork the `tsgettoolbox_modis` repo at
54
+ https://github.com/timcera/tsgettoolbox_modis
55
+
56
+ 2. Clone your fork locally::
57
+
58
+ $ git clone git@github.com:your_github_login/tsgettoolbox_modis.git
59
+
60
+ 3. Create a virtual python environment with `pip` or `conda` (whatever you
61
+ prefer) and activate it, and install `tsgettoolbox_modis` in development
62
+ mode::
63
+
64
+ # Using conda would be something like this:
65
+ $ conda create -n tsgettoolbox_modis python=3.11
66
+ $ conda activate tsgettoolbox_modis
67
+ $ cd tsgettoolbox_modis/
68
+
69
+ # The following command will list all the dependencies that will be
70
+ # installed, but not actually install them.
71
+ $ python -m pip install --dry-run -e .
72
+
73
+ # Use conda to install the dependencies listed above, excluding
74
+ # tsgettoolbox_modis itself. For example:
75
+ $ conda install -c conda-forge numpy pandas
76
+
77
+ # Now install tsgettoolbox_modis in development mode.
78
+ $ python -m pip install -e .
79
+
80
+ 4. For linting, reformatting, and testing you also need to install ruff and
81
+ pytest::
82
+
83
+ $ conda install -c conda-forge ruff pytest
84
+
85
+ 5. Create a branch for local development::
86
+
87
+ $ git checkout -b name-of-your-bugfix-or-feature
88
+
89
+ Now you can make your changes locally.
90
+
91
+ 6. When you're done making changes, check that your changes pass pytest, the
92
+ ruff linter and ruff formatter.::
93
+
94
+ $ ruff check -f --select "I" .
95
+ $ ruff format .
96
+ $ pytest
97
+
98
+ 7. Commit your changes and push your branch to github::
99
+
100
+ $ git add . # or choose the specific files you want to add
101
+ $ git commit -m "Your detailed description of your changes."
102
+ $ git push origin name-of-your-bugfix-or-feature
103
+
104
+ 8. Submit a pull request through the github website.
105
+
106
+ Pull Request Guidelines
107
+ -----------------------
108
+
109
+ Before you submit a pull request, check that it meets these guidelines:
110
+
111
+ 1. The pull request should include tests.
112
+ 2. If the pull request adds functionality, the docs should be updated. Put
113
+ your new functionality into a function with a docstring, and add the
114
+ feature to the list in README.rst.
115
+ 3. The pull request should work for Python 3.10 and above.
@@ -0,0 +1,24 @@
1
+ Copyright (c) 2013, Tim Cera
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+ * Redistributions of source code must retain the above copyright notice,
7
+ this list of conditions and the following disclaimer.
8
+ * Redistributions in binary form must reproduce the above copyright notice,
9
+ this list of conditions and the following disclaimer in the documentation
10
+ and/or other materials provided with the distribution.
11
+ * Neither the name tsgettoolbox nor the names of its contributors may be
12
+ used to endorse or promote products derived from this software without
13
+ specific prior written permission.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
19
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,50 @@
1
+ include *.cff
2
+ include *.in
3
+ include *.md
4
+ include *.rst
5
+ include *.toml
6
+ include *.txt
7
+ include *.yaml
8
+ include .gitmodules
9
+ recursive-include docs *.bat
10
+ recursive-include docs *.png
11
+ recursive-include docs *.py
12
+ recursive-include docs *.rst
13
+ recursive-include docs Makefile
14
+ recursive-include notebooks *.csv
15
+ recursive-include notebooks *.ipynb
16
+ recursive-include notebooks *.png
17
+ recursive-include notebooks *.py
18
+ recursive-include notebooks *.sh
19
+ recursive-include src *.bat
20
+ recursive-include src *.csv
21
+ recursive-include src *.dat
22
+ recursive-include src *.hbn
23
+ recursive-include src *.in
24
+ recursive-include src *.md
25
+ recursive-include src *.plt
26
+ recursive-include src *.rst
27
+ recursive-include src *.sh
28
+ recursive-include src *.toml
29
+ recursive-include src *.txt
30
+ recursive-include src *.wdm
31
+ recursive-include src *.xlsx
32
+ recursive-include src *.yaml
33
+ recursive-include src *.yml
34
+ recursive-include src Makefile
35
+ recursive-include src *.py
36
+
37
+ recursive-exclude tests *.cfm
38
+ recursive-exclude tests *.csv
39
+ recursive-exclude tests *.data
40
+ recursive-exclude tests *.dly
41
+ recursive-exclude tests *.htm
42
+ recursive-exclude tests *.html
43
+ recursive-exclude tests *.img
44
+ recursive-exclude tests *.jp2
45
+ recursive-exclude tests *.json
46
+ recursive-exclude tests *.py
47
+ recursive-exclude tests *.tar
48
+ recursive-exclude tests *.txt
49
+ recursive-exclude tests *.xml
50
+ recursive-exclude tests *.zip
@@ -0,0 +1,140 @@
1
+ Metadata-Version: 2.4
2
+ Name: tsgettoolbox_modis
3
+ Version: 27.0.0
4
+ Summary: Plugin for tsgettoolbox to retrieve MODIS data from the LP DAAC Data Pool.
5
+ Author-email: Tim Cera <tim@cerazone.net>
6
+ License-Expression: BSD-3-Clause
7
+ Project-URL: bitbucket, https://bitbucket.org/timcera/tsgettoolbox_modis/src/main/
8
+ Project-URL: documentation, https://timcera.bitbucket.io/tsgettoolbox/docs/index.html#tsgettoolbox-documentation
9
+ Project-URL: github, https://github.com/timcera/tsgettoolbox_modis
10
+ Keywords: rest,time-series,uri,url,web_services
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: End Users/Desktop
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
25
+ Classifier: Topic :: Scientific/Engineering
26
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
27
+ Requires-Python: >=3.10
28
+ Description-Content-Type: text/x-rst
29
+ License-File: LICENSE.txt
30
+ Requires-Dist: aiodns>3.6.0
31
+ Requires-Dist: async_retriever
32
+ Requires-Dist: numpy
33
+ Requires-Dist: pandas
34
+ Requires-Dist: tsgettoolbox>=27.0.0
35
+ Dynamic: license-file
36
+
37
+ .. image:: https://img.shields.io/coveralls/github/timcera/tsgettoolbox_modis
38
+ :alt: Test Coverage
39
+ :target: https://coveralls.io/r/timcera/tsgettoolbox_modis?branch=master
40
+ :height: 20
41
+
42
+ .. image:: https://img.shields.io/pypi/v/tsgettoolbox_modis
43
+ :alt: Latest release
44
+ :target: https://pypi.python.org/pypi/tsgettoolbox_modis/
45
+ :height: 20
46
+
47
+ .. image:: https://img.shields.io/pypi/l/tsgettoolbox_modis
48
+ :alt: BSD-3 clause license
49
+ :target: https://pypi.python.org/pypi/tsgettoolbox_modis/
50
+ :height: 20
51
+
52
+ .. image:: https://img.shields.io/pypi/pyversions/tsgettoolbox_modis
53
+ :alt: PyPI - Python Version
54
+ :target: https://pypi.org/project/tsgettoolbox_modis/
55
+ :height: 20
56
+
57
+ tsgettoolbox_modis - Quick Guide
58
+ ================================
59
+ The 'tsgettoolbox_modis' is a plugin-in for 'tsgettoolbox' that supplies
60
+ a command line interface and Python library to get time-series data from the
61
+ MODIS. The tsgettoolbox_modis will work with Python 3.10+.
62
+
63
+ Documentation
64
+ -------------
65
+ Reference documentation is at `tsgettoolbox MODIS API`_.
66
+
67
+ Installation
68
+ ------------
69
+ At the command line::
70
+
71
+ $ pip install tsgettoolbox_modis
72
+
73
+ OR
74
+
75
+ $ conda install -c conda-forge tsgettoolbox_modis
76
+
77
+ Usage Summary - Command Line
78
+ ----------------------------
79
+ Just run 'tsgettoolbox --help' to get a list of subcommands. To get detailed
80
+ help for a particular sub-command, for instance 'modis', type 'tsgettoolbox
81
+ modis --help'.
82
+
83
+ +-------------+---------+--------+---------+----------+-----------------------+
84
+ | Sub-command | Spatial | Time | Type | Time | Description |
85
+ | | Extent | Extent | | Interval | |
86
+ +=============+=========+========+=========+==========+=======================+
87
+ | modis | global | 2000- | grid | 4D,8D, | MODIS derived data |
88
+ | | | | 250m, | 16D,A | |
89
+ | | | | 500m, | | |
90
+ | | | | 1000m | | |
91
+ +-------------+---------+--------+---------+----------+-----------------------+
92
+
93
+ +-------------------+-------------+
94
+ | Time Interval | Description |
95
+ | Code | |
96
+ +===================+=============+
97
+ | D | Daily |
98
+ +-------------------+-------------+
99
+ | A | Annual |
100
+ +-------------------+-------------+
101
+
102
+ Usage Summary - Python Library
103
+ ------------------------------
104
+ To use the tsgettoolbox in a project::
105
+
106
+ from tsgettoolbox import tsgettoolbox
107
+ df = tsgettoolbox.modis(
108
+ product="MOD15A2H",
109
+ band="Lai_500m",
110
+ lat=29.75,
111
+ lon=-82.32,
112
+ start_date="3 years ago",
113
+ end_date="2 years ago",
114
+ )
115
+ print(df.head())
116
+
117
+ Refer to the API Documentation at `tsgettoolbox MODIS API`_.
118
+
119
+ Usage Summary - Command Line
120
+ ----------------------------
121
+
122
+ tsgettoolbox modis \
123
+ --product="MOD15A2H" \
124
+ --band="Lai_500m" \
125
+ --lat=29.75 \
126
+ --lon=-82.32 \
127
+ --start_date="3 years ago" \
128
+ --end_date="2 years ago" > output.csv
129
+
130
+ Refer to the command line documentation at `tsgettoolbox MODIS CLI`_.
131
+
132
+ Development
133
+ ~~~~~~~~~~~
134
+ Development is managed on bitbucket or github.
135
+ https://bitbucket.org/timcera/tsgettoolbox_modis/overview.
136
+ https://github.com/timcera/tsgettoolbox_modis
137
+
138
+ .. _tsgettoolbox_documentation: https://timcera.bitbucket.io/linked_pkg_dirs/tsgettoolbox/docs/index.html
139
+ .. _tsgettoolbox MODIS API: https://timcera.bitbucket.io/linked_pkg_dirs/tsgettoolbox/docs/_function_autosummary/tsgettoolbox.modis.html
140
+ .. _tsgettoolbox MODIS CLI: https://timcera.bitbucket.io/linked_pkg_dirs/tsgettoolbox/docs/command_line.html#modis
@@ -0,0 +1,104 @@
1
+ .. image:: https://img.shields.io/coveralls/github/timcera/tsgettoolbox_modis
2
+ :alt: Test Coverage
3
+ :target: https://coveralls.io/r/timcera/tsgettoolbox_modis?branch=master
4
+ :height: 20
5
+
6
+ .. image:: https://img.shields.io/pypi/v/tsgettoolbox_modis
7
+ :alt: Latest release
8
+ :target: https://pypi.python.org/pypi/tsgettoolbox_modis/
9
+ :height: 20
10
+
11
+ .. image:: https://img.shields.io/pypi/l/tsgettoolbox_modis
12
+ :alt: BSD-3 clause license
13
+ :target: https://pypi.python.org/pypi/tsgettoolbox_modis/
14
+ :height: 20
15
+
16
+ .. image:: https://img.shields.io/pypi/pyversions/tsgettoolbox_modis
17
+ :alt: PyPI - Python Version
18
+ :target: https://pypi.org/project/tsgettoolbox_modis/
19
+ :height: 20
20
+
21
+ tsgettoolbox_modis - Quick Guide
22
+ ================================
23
+ The 'tsgettoolbox_modis' is a plugin-in for 'tsgettoolbox' that supplies
24
+ a command line interface and Python library to get time-series data from the
25
+ MODIS. The tsgettoolbox_modis will work with Python 3.10+.
26
+
27
+ Documentation
28
+ -------------
29
+ Reference documentation is at `tsgettoolbox MODIS API`_.
30
+
31
+ Installation
32
+ ------------
33
+ At the command line::
34
+
35
+ $ pip install tsgettoolbox_modis
36
+
37
+ OR
38
+
39
+ $ conda install -c conda-forge tsgettoolbox_modis
40
+
41
+ Usage Summary - Command Line
42
+ ----------------------------
43
+ Just run 'tsgettoolbox --help' to get a list of subcommands. To get detailed
44
+ help for a particular sub-command, for instance 'modis', type 'tsgettoolbox
45
+ modis --help'.
46
+
47
+ +-------------+---------+--------+---------+----------+-----------------------+
48
+ | Sub-command | Spatial | Time | Type | Time | Description |
49
+ | | Extent | Extent | | Interval | |
50
+ +=============+=========+========+=========+==========+=======================+
51
+ | modis | global | 2000- | grid | 4D,8D, | MODIS derived data |
52
+ | | | | 250m, | 16D,A | |
53
+ | | | | 500m, | | |
54
+ | | | | 1000m | | |
55
+ +-------------+---------+--------+---------+----------+-----------------------+
56
+
57
+ +-------------------+-------------+
58
+ | Time Interval | Description |
59
+ | Code | |
60
+ +===================+=============+
61
+ | D | Daily |
62
+ +-------------------+-------------+
63
+ | A | Annual |
64
+ +-------------------+-------------+
65
+
66
+ Usage Summary - Python Library
67
+ ------------------------------
68
+ To use the tsgettoolbox in a project::
69
+
70
+ from tsgettoolbox import tsgettoolbox
71
+ df = tsgettoolbox.modis(
72
+ product="MOD15A2H",
73
+ band="Lai_500m",
74
+ lat=29.75,
75
+ lon=-82.32,
76
+ start_date="3 years ago",
77
+ end_date="2 years ago",
78
+ )
79
+ print(df.head())
80
+
81
+ Refer to the API Documentation at `tsgettoolbox MODIS API`_.
82
+
83
+ Usage Summary - Command Line
84
+ ----------------------------
85
+
86
+ tsgettoolbox modis \
87
+ --product="MOD15A2H" \
88
+ --band="Lai_500m" \
89
+ --lat=29.75 \
90
+ --lon=-82.32 \
91
+ --start_date="3 years ago" \
92
+ --end_date="2 years ago" > output.csv
93
+
94
+ Refer to the command line documentation at `tsgettoolbox MODIS CLI`_.
95
+
96
+ Development
97
+ ~~~~~~~~~~~
98
+ Development is managed on bitbucket or github.
99
+ https://bitbucket.org/timcera/tsgettoolbox_modis/overview.
100
+ https://github.com/timcera/tsgettoolbox_modis
101
+
102
+ .. _tsgettoolbox_documentation: https://timcera.bitbucket.io/linked_pkg_dirs/tsgettoolbox/docs/index.html
103
+ .. _tsgettoolbox MODIS API: https://timcera.bitbucket.io/linked_pkg_dirs/tsgettoolbox/docs/_function_autosummary/tsgettoolbox.modis.html
104
+ .. _tsgettoolbox MODIS CLI: https://timcera.bitbucket.io/linked_pkg_dirs/tsgettoolbox/docs/command_line.html#modis
@@ -0,0 +1 @@
1
+ 27.0.0