repurpose


Namerepurpose JSON
Version 0.11 PyPI version JSON
download
home_pagehttps://repurpose.readthedocs.io/en/latest/
SummaryPackage for image to timeseries to image conversion
upload_time2024-05-04 19:41:40
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.

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.

Please select your specific version at https://doi.org/10.5281/zenodo.593577 to get the DOI of that version.
You should normally always use the DOI for the specific version of your record in citations.
This is to ensure that other researchers can access the exact research artefact you used for reproducibility.

You can find additional information regarding DOI versioning at http://help.zenodo.org/#versioning

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

This package depends on the following libraries that can be installed via
conda or mamba

.. code::

    conda install -c conda-forge numpy netCDF4 pyresample

Afterwards you can install this package and its pip dependecies via:

.. code::

    pip install repurpose


Modules
=======

It includes two 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.

- `PyReshaper <https://github.com/NCAR/PyReshaper>`_ is a package that works
  with NetCDF input and output and converts time slices into a time series
  representation.
- `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.

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.

Development setup
-----------------

For Development we recommend a ``conda`` environment with all packages listed
in `environment.yml`.

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

Note
====

This project has been set up using PyScaffold 2.4.4. For details and usage
information on PyScaffold see http://pyscaffold.readthedocs.org/.

            

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/f1/93/04e509f28f679b8ceb8e9131532aa2f4b9537523e73da32c4ab7294887e9/repurpose-0.11.tar.gz",
    "platform": "any",
    "description": "=========\r\nrepurpose\r\n=========\r\n\r\n|ci| |cov| |pip| |doc|\r\n\r\n.. |ci| image:: https://github.com/TUW-GEO/repurpose/actions/workflows/build.yml/badge.svg?branch=master\r\n   :target: https://github.com/TUW-GEO/repurpose/actions\r\n\r\n.. |cov| image:: https://coveralls.io/repos/github/TUW-GEO/repurpose/badge.svg?branch=master\r\n   :target: https://coveralls.io/github/TUW-GEO/repurpose?branch=master\r\n\r\n.. |pip| image:: https://badge.fury.io/py/repurpose.svg\r\n    :target: http://badge.fury.io/py/repurpose\r\n\r\n.. |doc| image:: https://readthedocs.org/projects/repurpose/badge/?version=latest\r\n   :target: http://repurpose.readthedocs.org/\r\n\r\n\r\nThis package provides routines for the conversion of image formats to time\r\nseries and vice versa. It works best with the readers and writers\r\nsupported by `pynetcf <https://github.com/TUW-GEO/pynetcf>`_.\r\nThe main use case is for data that is sampled irregularly in\r\nspace or time. If you have data that is sampled in regular intervals then there\r\nare alternatives to this package which might be better for your use case. See\r\n`Alternatives`_ for more detail.\r\n\r\nThe readers and writers have to conform to the API specifications of the base\r\nclasses defined in `pygeobase <https://github.com/TUW-GEO/pygeobase>`_ to work\r\nwithout adpation.\r\n\r\nCitation\r\n========\r\n\r\n.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.593577.svg\r\n   :target: https://doi.org/10.5281/zenodo.593577\r\n\r\nIf you use the software in a publication then please cite it using the Zenodo DOI.\r\nBe aware that this badge links to the latest package version.\r\n\r\nPlease select your specific version at https://doi.org/10.5281/zenodo.593577 to get the DOI of that version.\r\nYou should normally always use the DOI for the specific version of your record in citations.\r\nThis is to ensure that other researchers can access the exact research artefact you used for reproducibility.\r\n\r\nYou can find additional information regarding DOI versioning at http://help.zenodo.org/#versioning\r\n\r\nInstallation\r\n============\r\n\r\nThis package depends on the following libraries that can be installed via\r\nconda or mamba\r\n\r\n.. code::\r\n\r\n    conda install -c conda-forge numpy netCDF4 pyresample\r\n\r\nAfterwards you can install this package and its pip dependecies via:\r\n\r\n.. code::\r\n\r\n    pip install repurpose\r\n\r\n\r\nModules\r\n=======\r\n\r\nIt includes two main modules:\r\n\r\n- ``img2ts`` for image/swath to time series conversion, including support for\r\n  spatial resampling.\r\n- ``ts2img`` for time series to image conversion, including support for temporal\r\n  resampling.\r\n- ``resample`` for spatial resampling of (regular or irregular) gridded data to different resolutions.\r\n- ``process`` contains a framework for parallel processing, error handling and logging based on `joblib <https://github.com/joblib/joblib>`_\r\n\r\nAlternatives\r\n============\r\n\r\nIf you have data that can be represented as a 3D datacube then these projects\r\nmight be better suited to your needs.\r\n\r\n- `PyReshaper <https://github.com/NCAR/PyReshaper>`_ is a package that works\r\n  with NetCDF input and output and converts time slices into a time series\r\n  representation.\r\n- `Climate Data Operators (CDO)\r\n  <https://code.zmaw.de/projects/cdo/embedded/index.html>`_ can work with\r\n  several input formats, stack them and change the chunking to allow time series\r\n  optimized access. It assumes regular sampling in space and time as far as we\r\n  know.\r\n- `netCDF Operators (NCO) <http://nco.sourceforge.net/#Definition>`_ are similar\r\n  to CDO with a stronger focus on netCDF.\r\n\r\nContribute\r\n==========\r\n\r\nWe are happy if you want to contribute. Please raise an issue explaining what\r\nis missing or if you find a bug. We will also gladly accept pull requests\r\nagainst our master branch for new features or bug fixes.\r\n\r\nDevelopment setup\r\n-----------------\r\n\r\nFor Development we recommend a ``conda`` environment with all packages listed\r\nin `environment.yml`.\r\n\r\nGuidelines\r\n----------\r\n\r\nIf you want to contribute please follow these steps:\r\n\r\n- Fork the repurpose repository to your account\r\n- make a new feature branch from the repurpose master branch\r\n- Add your feature\r\n- Please include tests for your contributions in one of the test directories.\r\n  We use py.test so a simple function called test_my_feature is enough\r\n- submit a pull request to our master branch\r\n\r\nNote\r\n====\r\n\r\nThis project has been set up using PyScaffold 2.4.4. For details and usage\r\ninformation on PyScaffold see http://pyscaffold.readthedocs.org/.\r\n",
    "bugtrack_url": null,
    "license": "mit",
    "summary": "Package for image to timeseries to image conversion",
    "version": "0.11",
    "project_urls": {
        "Documentation": "https://repurpose.readthedocs.io/en/latest/",
        "Homepage": "https://repurpose.readthedocs.io/en/latest/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d8aee7cb89ef19421266671ad97ecb0b9e5b5e45be74c2409c808fb26f7171af",
                "md5": "59378fb2d19894834fe2728ceaa0c08a",
                "sha256": "5cac0926e311eb6a0a442af60917b81089e97264cb5aba7184040dbc914f19a6"
            },
            "downloads": -1,
            "filename": "repurpose-0.11-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "59378fb2d19894834fe2728ceaa0c08a",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.8",
            "size": 30191,
            "upload_time": "2024-05-04T19:41:38",
            "upload_time_iso_8601": "2024-05-04T19:41:38.833866Z",
            "url": "https://files.pythonhosted.org/packages/d8/ae/e7cb89ef19421266671ad97ecb0b9e5b5e45be74c2409c808fb26f7171af/repurpose-0.11-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f19304e509f28f679b8ceb8e9131532aa2f4b9537523e73da32c4ab7294887e9",
                "md5": "6a836ee4e545c2ddc1368064caba9464",
                "sha256": "db0ca913d1a38b5bf93392ee6adb384962d980c772287b39d11639d4974f9a85"
            },
            "downloads": -1,
            "filename": "repurpose-0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "6a836ee4e545c2ddc1368064caba9464",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 280055,
            "upload_time": "2024-05-04T19:41:40",
            "upload_time_iso_8601": "2024-05-04T19:41:40.870237Z",
            "url": "https://files.pythonhosted.org/packages/f1/93/04e509f28f679b8ceb8e9131532aa2f4b9537523e73da32c4ab7294887e9/repurpose-0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-04 19:41:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "repurpose"
}
        
Elapsed time: 0.23963s