MODIS Assimilation and Processing Engine
Project description
MODAPE
=====
The **M**\ ODIS **A**\ ssimilation and **P**\ rocessing **E**\ ngine combines a state-of-the art whittaker smoother, implemented as fast C-extension through Cython and including a V-curve optimization of the smoothing parameter, with a HDF5 based processing chain optimized for MODIS data.
The sub-module ``modape.whittaker`` includes the following variations of the whittaker smoother with 2nd order differences:
- **ws2d**: Whittaker with fixed smoothing parameter (``s``)
- **ws2doptv**: Whittaker with V-curve optimization of the smoothing parameter (``s``)
- **ws2doptvp**: Whittaker with V-curve optimization of the smoothing parameter (``s``) and expectile smoothing using asymmetric weights
The MODIS processing chain consists of the following executables, which can be called through commandline:
- ``modis_download``: Query and download raw MODIS products (requires Earthdata credentials)
- ``modis_collect``: Collect raw MODIS data into daily datacubes stored in an HDF5 file
- ``modis_smooth``: Smooth, gapfill and interpolate raw MODIS data using the implemented whittaker smoother
- ``modis_window``: Extract mosaic(s) of multiple MODIS tiles, or subset(s) of a global/tiled MODIS product and export it as GeoTIFF raster in WGS1984 coordinate system
Additional executables:
- ``csv_smooth``: Smooth timeseries stored within a CSV file
- ``rts_smooth``: Smooth a series of raster files stored in a local directory
- ``modis_info``: Retrieve metadata from created HDF5 files
- ``modis_product_table``: MODIS Version 6.0 product table
Installation
------------
**Dependencies:**
modape depends on these packages:
- numpy
- gdal
- h5py
- beautifulsoup4
- requests
- progress
- pandas
Some of these packages (eg. GDAL) can be difficult to build, especially on windows machines. In the latter case it's advisable to download an unofficial binary wheel from `Christoph Gohlke's Unofficial Windows Binaries for Python Extension Packages <https://www.lfd.uci.edu/~gohlke/pythonlibs/>`_ and install it locally with ``pip install`` before installing modape.
**Installation from github:**
.. code:: bash
$ git clone https://github.com/WFP-VAM/modape
$ cd modape
$ pip install .
**Installation from PyPi:**
.. code:: bash
$ pip install modape
Bugs, typos & feature requests
-----
If you find a bug, see a typo, have some kind of troubles running the module or just simply want to have a feature added, please `submit an issue! <https://github.com/WFP-VAM/modape/issues/new>`_
Usage tutorial
-----
All executables can be called with a ``-h`` flag for detailed usage.
For a more detailed tutorial on how to use the executables, please visit `WFP-VAM.github.io/modape <http://WFP-VAM.github.io/modape>`_.
CHANGES
-----
- v0.1.1:
- minor changes to MANIFEST
- v0.1.0:
- initial release
-----
References:
P. H. C. Eilers, V. Pesendorfer and R. Bonifacio, "Automatic smoothing of remote sensing data," 2017 9th International Workshop on the Analysis of Multitemporal Remote Sensing Images (MultiTemp), Brugge, 2017, pp. 1-3.
doi: 10.1109/Multi-Temp.2017.8076705
URL: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8076705&isnumber=8035194
Core Whittaker function adapted from ``whit2`` function from `R` package `ptw <https://cran.r-project.org/package=ptw>`_:
Bloemberg, T. G. et al. (2010) "Improved Parametric Time Warping for Proteomics", Chemometrics and Intelligent Laboratory Systems, 104 (1), 65-74
Wehrens, R. et al. (2015) "Fast parametric warping of peak lists", Bioinformatics, in press.
-----
Author & maintainer:
Valentin Pesendorfer
valentin.pesendorfer@wfp.org
=====
The **M**\ ODIS **A**\ ssimilation and **P**\ rocessing **E**\ ngine combines a state-of-the art whittaker smoother, implemented as fast C-extension through Cython and including a V-curve optimization of the smoothing parameter, with a HDF5 based processing chain optimized for MODIS data.
The sub-module ``modape.whittaker`` includes the following variations of the whittaker smoother with 2nd order differences:
- **ws2d**: Whittaker with fixed smoothing parameter (``s``)
- **ws2doptv**: Whittaker with V-curve optimization of the smoothing parameter (``s``)
- **ws2doptvp**: Whittaker with V-curve optimization of the smoothing parameter (``s``) and expectile smoothing using asymmetric weights
The MODIS processing chain consists of the following executables, which can be called through commandline:
- ``modis_download``: Query and download raw MODIS products (requires Earthdata credentials)
- ``modis_collect``: Collect raw MODIS data into daily datacubes stored in an HDF5 file
- ``modis_smooth``: Smooth, gapfill and interpolate raw MODIS data using the implemented whittaker smoother
- ``modis_window``: Extract mosaic(s) of multiple MODIS tiles, or subset(s) of a global/tiled MODIS product and export it as GeoTIFF raster in WGS1984 coordinate system
Additional executables:
- ``csv_smooth``: Smooth timeseries stored within a CSV file
- ``rts_smooth``: Smooth a series of raster files stored in a local directory
- ``modis_info``: Retrieve metadata from created HDF5 files
- ``modis_product_table``: MODIS Version 6.0 product table
Installation
------------
**Dependencies:**
modape depends on these packages:
- numpy
- gdal
- h5py
- beautifulsoup4
- requests
- progress
- pandas
Some of these packages (eg. GDAL) can be difficult to build, especially on windows machines. In the latter case it's advisable to download an unofficial binary wheel from `Christoph Gohlke's Unofficial Windows Binaries for Python Extension Packages <https://www.lfd.uci.edu/~gohlke/pythonlibs/>`_ and install it locally with ``pip install`` before installing modape.
**Installation from github:**
.. code:: bash
$ git clone https://github.com/WFP-VAM/modape
$ cd modape
$ pip install .
**Installation from PyPi:**
.. code:: bash
$ pip install modape
Bugs, typos & feature requests
-----
If you find a bug, see a typo, have some kind of troubles running the module or just simply want to have a feature added, please `submit an issue! <https://github.com/WFP-VAM/modape/issues/new>`_
Usage tutorial
-----
All executables can be called with a ``-h`` flag for detailed usage.
For a more detailed tutorial on how to use the executables, please visit `WFP-VAM.github.io/modape <http://WFP-VAM.github.io/modape>`_.
CHANGES
-----
- v0.1.1:
- minor changes to MANIFEST
- v0.1.0:
- initial release
-----
References:
P. H. C. Eilers, V. Pesendorfer and R. Bonifacio, "Automatic smoothing of remote sensing data," 2017 9th International Workshop on the Analysis of Multitemporal Remote Sensing Images (MultiTemp), Brugge, 2017, pp. 1-3.
doi: 10.1109/Multi-Temp.2017.8076705
URL: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8076705&isnumber=8035194
Core Whittaker function adapted from ``whit2`` function from `R` package `ptw <https://cran.r-project.org/package=ptw>`_:
Bloemberg, T. G. et al. (2010) "Improved Parametric Time Warping for Proteomics", Chemometrics and Intelligent Laboratory Systems, 104 (1), 65-74
Wehrens, R. et al. (2015) "Fast parametric warping of peak lists", Bioinformatics, in press.
-----
Author & maintainer:
Valentin Pesendorfer
valentin.pesendorfer@wfp.org
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
modape-0.1.1.tar.gz
(9.2 MB
view hashes)
Built Distributions
Close
Hashes for modape-0.1.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fa56b13508f4882e91968acd75ef9146f1df68b2a056796e6ca59fa394ffb28 |
|
MD5 | 8d2b77231953b2c15fad332937672f5f |
|
BLAKE2b-256 | 8795a7344326656415167c92c6710039b82704fd5bab1a480df4146863fd4ef4 |
Close
Hashes for modape-0.1.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f921313c8bd5a03bfba499d85dcf42d1ebedf4838281907bfb7dc39b28bd53c |
|
MD5 | 58bd974e507b2b576f0a382277183bb3 |
|
BLAKE2b-256 | c9eccc2fcc28c08feb98debe634a67e837f6fbffa817be1eb289dce0572bbc5b |
Close
Hashes for modape-0.1.1-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fae108b2269f4c3d6ece9731570e65a4110f21a569dd0f9ea61d5fc87fd7801 |
|
MD5 | 5efdad76c7433a943631e7e10f04901e |
|
BLAKE2b-256 | 2b4137937106a02ba2eff07cb947d38c7df4b9424ff1328ff9abe6b1d9737a67 |
Close
Hashes for modape-0.1.1-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03ae037d4e96ddf1ac2ff1ba9a39d0719f9ed933d48eab6aaf1b6e26004d4699 |
|
MD5 | bc33f4cc76ff07ff0ebdf853df613cdc |
|
BLAKE2b-256 | bc63e890a5f37c6c664ce1a449701e4542dac4d2e8dc7ba236903a61598ffe37 |