repurpose


Namerepurpose JSON
Version 0.13 PyPI version JSON
download
home_pagehttps://repurpose.readthedocs.io/en/latest/
SummaryPackage for image to timeseries to image conversion
upload_time2024-10-25 15:24:55
maintainerNone
docs_urlNone
authorTU Wien
requires_python>=3.8
licensemit
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =========
repurpose
=========

|ci| |cov| |pip| |doc|

.. |ci| image:: https://github.com/TUW-GEO/repurpose/actions/workflows/build.yml/badge.svg?branch=master
   :target: https://github.com/TUW-GEO/repurpose/actions

.. |cov| image:: https://coveralls.io/repos/github/TUW-GEO/repurpose/badge.svg?branch=master
   :target: https://coveralls.io/github/TUW-GEO/repurpose?branch=master

.. |pip| image:: https://badge.fury.io/py/repurpose.svg
    :target: http://badge.fury.io/py/repurpose

.. |doc| image:: https://readthedocs.org/projects/repurpose/badge/?version=latest
   :target: http://repurpose.readthedocs.org/


This package provides routines for the conversion of image formats to time
series and vice versa. It works best with the readers and writers
supported by `pynetcf <https://github.com/TUW-GEO/pynetcf>`_.
The main use case is for data that is sampled irregularly in
space or time. If you have data that is sampled in regular intervals then there
are alternatives to this package which might be better for your use case. See
`Alternatives`_ for more detail.

The readers and writers have to conform to the API specifications of the base
classes defined in `pygeobase <https://github.com/TUW-GEO/pygeobase>`_ to work
without adpation.

Installation
============

This package requires `python>=3.9` and depends on the following libraries that
should be installed with `conda <https://conda.io/projects/conda/en/latest/user-guide/getting-started.html>`_
or `mamba <https://github.com/conda-forge/miniforge>`_

.. code::

    conda install -c conda-forge numpy netCDF4 pyresample

Afterwards you can install this package and all remaining dependencies via:

.. code::

    pip install repurpose


On macOS if you get `ImportError: Pykdtree failed to import its C extension`,
then it might be necessary to install the pykdtree package from conda-forge

.. code::

    conda install -c conda-forge pykdtree

Optional Dependencies
---------------------
Some packages are only needed to run unit tests and build docs of this package.
They can be installed via ``pip install repurpose[testing]`` and/or
``pip install repurpose[docs]``.

Citation
========

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.593577.svg
   :target: https://doi.org/10.5281/zenodo.593577

If you use the software in a publication then please cite it using the Zenodo DOI.
Be aware that this badge links to the latest package version.

Modules
=======

It includes the main modules:

- ``img2ts`` for image/swath to time series conversion, including support for
  spatial resampling.
- ``ts2img`` for time series to image conversion, including support for temporal
  resampling.
- ``resample`` for spatial resampling of (regular or irregular) gridded data to different resolutions.
- ``process`` contains a framework for parallel processing, error handling and logging based on `joblib <https://github.com/joblib/joblib>`_

Alternatives
============

If you have data that can be represented as a 3D datacube then these projects
might be better suited to your needs.

- `Climate Data Operators (CDO)
  <https://code.zmaw.de/projects/cdo/embedded/index.html>`_ can work with
  several input formats, stack them and change the chunking to allow time series
  optimized access. It assumes regular sampling in space and time as far as we
  know.
- `netCDF Operators (NCO) <http://nco.sourceforge.net/#Definition>`_ are similar
  to CDO with a stronger focus on netCDF.
- `xarray <https://docs.xarray.dev/en/stable/>`_ can read, restructure, write
  netcdf data as datacubes and apply functions across dimensions.

Contribute
==========

We are happy if you want to contribute. Please raise an issue explaining what
is missing or if you find a bug. We will also gladly accept pull requests
against our master branch for new features or bug fixes.

Guidelines
----------

If you want to contribute please follow these steps:

- Fork the repurpose repository to your account
- make a new feature branch from the repurpose master branch
- Add your feature
- Please include tests for your contributions in one of the test directories.
  We use py.test so a simple function called test_my_feature is enough
- submit a pull request to our master branch

            

Raw data

            {
    "_id": null,
    "home_page": "https://repurpose.readthedocs.io/en/latest/",
    "name": "repurpose",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "TU Wien",
    "author_email": "remote.sensing@geo.tuwien.ac.at",
    "download_url": "https://files.pythonhosted.org/packages/e4/a5/5c2b40a3bfc8e75dccade0a8057d1163ad5a097d46dfa7bb4d60cd297b0c/repurpose-0.13.tar.gz",
    "platform": "any",
    "description": "=========\nrepurpose\n=========\n\n|ci| |cov| |pip| |doc|\n\n.. |ci| image:: https://github.com/TUW-GEO/repurpose/actions/workflows/build.yml/badge.svg?branch=master\n   :target: https://github.com/TUW-GEO/repurpose/actions\n\n.. |cov| image:: https://coveralls.io/repos/github/TUW-GEO/repurpose/badge.svg?branch=master\n   :target: https://coveralls.io/github/TUW-GEO/repurpose?branch=master\n\n.. |pip| image:: https://badge.fury.io/py/repurpose.svg\n    :target: http://badge.fury.io/py/repurpose\n\n.. |doc| image:: https://readthedocs.org/projects/repurpose/badge/?version=latest\n   :target: http://repurpose.readthedocs.org/\n\n\nThis package provides routines for the conversion of image formats to time\nseries and vice versa. It works best with the readers and writers\nsupported by `pynetcf <https://github.com/TUW-GEO/pynetcf>`_.\nThe main use case is for data that is sampled irregularly in\nspace or time. If you have data that is sampled in regular intervals then there\nare alternatives to this package which might be better for your use case. See\n`Alternatives`_ for more detail.\n\nThe readers and writers have to conform to the API specifications of the base\nclasses defined in `pygeobase <https://github.com/TUW-GEO/pygeobase>`_ to work\nwithout adpation.\n\nInstallation\n============\n\nThis package requires `python>=3.9` and depends on the following libraries that\nshould be installed with `conda <https://conda.io/projects/conda/en/latest/user-guide/getting-started.html>`_\nor `mamba <https://github.com/conda-forge/miniforge>`_\n\n.. code::\n\n    conda install -c conda-forge numpy netCDF4 pyresample\n\nAfterwards you can install this package and all remaining dependencies via:\n\n.. code::\n\n    pip install repurpose\n\n\nOn macOS if you get `ImportError: Pykdtree failed to import its C extension`,\nthen it might be necessary to install the pykdtree package from conda-forge\n\n.. code::\n\n    conda install -c conda-forge pykdtree\n\nOptional Dependencies\n---------------------\nSome packages are only needed to run unit tests and build docs of this package.\nThey can be installed via ``pip install repurpose[testing]`` and/or\n``pip install repurpose[docs]``.\n\nCitation\n========\n\n.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.593577.svg\n   :target: https://doi.org/10.5281/zenodo.593577\n\nIf you use the software in a publication then please cite it using the Zenodo DOI.\nBe aware that this badge links to the latest package version.\n\nModules\n=======\n\nIt includes the main modules:\n\n- ``img2ts`` for image/swath to time series conversion, including support for\n  spatial resampling.\n- ``ts2img`` for time series to image conversion, including support for temporal\n  resampling.\n- ``resample`` for spatial resampling of (regular or irregular) gridded data to different resolutions.\n- ``process`` contains a framework for parallel processing, error handling and logging based on `joblib <https://github.com/joblib/joblib>`_\n\nAlternatives\n============\n\nIf you have data that can be represented as a 3D datacube then these projects\nmight be better suited to your needs.\n\n- `Climate Data Operators (CDO)\n  <https://code.zmaw.de/projects/cdo/embedded/index.html>`_ can work with\n  several input formats, stack them and change the chunking to allow time series\n  optimized access. It assumes regular sampling in space and time as far as we\n  know.\n- `netCDF Operators (NCO) <http://nco.sourceforge.net/#Definition>`_ are similar\n  to CDO with a stronger focus on netCDF.\n- `xarray <https://docs.xarray.dev/en/stable/>`_ can read, restructure, write\n  netcdf data as datacubes and apply functions across dimensions.\n\nContribute\n==========\n\nWe are happy if you want to contribute. Please raise an issue explaining what\nis missing or if you find a bug. We will also gladly accept pull requests\nagainst our master branch for new features or bug fixes.\n\nGuidelines\n----------\n\nIf you want to contribute please follow these steps:\n\n- Fork the repurpose repository to your account\n- make a new feature branch from the repurpose master branch\n- Add your feature\n- Please include tests for your contributions in one of the test directories.\n  We use py.test so a simple function called test_my_feature is enough\n- submit a pull request to our master branch\n",
    "bugtrack_url": null,
    "license": "mit",
    "summary": "Package for image to timeseries to image conversion",
    "version": "0.13",
    "project_urls": {
        "Documentation": "https://repurpose.readthedocs.io/en/latest/",
        "Homepage": "https://repurpose.readthedocs.io/en/latest/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8a985e919b88286431f8fe295e5786d41a57a468382755611754eb682ed696cb",
                "md5": "a9f228825b52f1926a9d405a3af6c243",
                "sha256": "7b296536ae17e5448e5414ce7cb4220e63b0acee232ffa79c96c66cfe2fc1d03"
            },
            "downloads": -1,
            "filename": "repurpose-0.13-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a9f228825b52f1926a9d405a3af6c243",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.8",
            "size": 34362,
            "upload_time": "2024-10-25T15:24:54",
            "upload_time_iso_8601": "2024-10-25T15:24:54.043980Z",
            "url": "https://files.pythonhosted.org/packages/8a/98/5e919b88286431f8fe295e5786d41a57a468382755611754eb682ed696cb/repurpose-0.13-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e4a55c2b40a3bfc8e75dccade0a8057d1163ad5a097d46dfa7bb4d60cd297b0c",
                "md5": "faeb28ca2fcb6333a412b4e8eb6bbd0e",
                "sha256": "f20244ecfae5a4a83881f3414a4e76f9725b4e0d223e7439ed092a908978ddfc"
            },
            "downloads": -1,
            "filename": "repurpose-0.13.tar.gz",
            "has_sig": false,
            "md5_digest": "faeb28ca2fcb6333a412b4e8eb6bbd0e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 285887,
            "upload_time": "2024-10-25T15:24:55",
            "upload_time_iso_8601": "2024-10-25T15:24:55.653008Z",
            "url": "https://files.pythonhosted.org/packages/e4/a5/5c2b40a3bfc8e75dccade0a8057d1163ad5a097d46dfa7bb4d60cd297b0c/repurpose-0.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-25 15:24:55",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "repurpose"
}
        
Elapsed time: 1.75843s