hspatial


Namehspatial JSON
Version 4.1.0 PyPI version JSON
download
home_pagehttps://github.com/openmeteo/hspatial
SummaryUtilities for spatial integration of time series
upload_time2024-05-22 18:21:39
maintainerNone
docs_urlNone
authorAntonis Christofides
requires_pythonNone
licenseGNU General Public License v3
keywords hspatial
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            ========
hspatial
========


.. image:: https://img.shields.io/pypi/v/hspatial.svg
        :target: https://pypi.python.org/pypi/hspatial

.. image:: https://img.shields.io/travis/openmeteo/hspatial.svg
        :target: https://travis-ci.org/openmeteo/hspatial

.. image:: https://codecov.io/github/openmeteo/hspatial/coverage.svg
        :target: https://codecov.io/gh/openmeteo/hspatial
        :alt: Coverage

.. image:: https://pyup.io/repos/github/openmeteo/hspatial/shield.svg
         :target: https://pyup.io/repos/github/openmeteo/hspatial/
         :alt: Updates

Utilities for spatial integration of time series.


* Free software: GNU General Public License v3
* Documentation: https://hspatial.readthedocs.io.


=======
History
=======

4.1.0 (2024-05-22)
==================

- extract_point_from_raster() now also accepts a GDALRaster object.

4.0.1 (2024-04-22)
==================

- Updated requirements to be compatible with Django 4 and 5.

4.0.0 (2024-04-14)
==================

- Now works with htimeseries 6 and 7.
- PointTimeseries() has changed in that default_time must be aware.

3.0.0 (2024-04-01)
==================

- Now requires htimeseries 6. This recent htimeseries version works with
  aware time zones, and hspatial, which works with naive, internally
  handles them as UTC.

2.1.6 (2024-04-01)
==================

- Reverted previous change, which had not been properly tested and
  doesn't work; in effect 2.1.6 is the same as 2.1.4.

2.1.5 (2024-03-31)
==================

- Added compatibility with htimeseries 6.

2.1.4 (2021-08-31)
==================

- Added compatibility with gdal 3.

2.1.3 (2021-04-13)
==================

- Updated dependencies (essentially htimeseries).

2.1.2 (2021-04-08)
==================

- Updated requirements to be compatible with Django 3.

2.1.1 (2021-01-05)
==================

- Fixed an error in extract_point_from_raster(). It was sometimes
  picking up a neigbouring pixel instead of the correct one.

2.1.0 (2020-10-02)
==================

- h_integrate() now adds a "UNIT" metadata item to the produced raster
  with the unit of measurement as specified in the input files.
  Conversely, PointTimeseries reads the "UNIT" metadata item from the
  rasters and sets it in the returned HTimeseries object.

2.0.0 (2020-01-05)
==================

- Now uses version 5 of hts file (i.e. different time step notation).

1.3.0 (2019-12-12)
==================

- Added option default_time to PointTimeseries.

1.2.2 (2019-11-24)
==================

- Fixed a bug where extract_point_from_raster() was modifying the point
  passed to it.

1.2.1 (2019-10-23)
==================

- Fixed a bug where hts files were opened in the wrong mode, with
  inconsistent results (this is another occurence of the bug that had
  been fixed in 0.1.2).

1.2.0 (2019-09-11)
==================

- Added test utility setup_test_raster() to make unit testing easier.

1.1.0 (2019-08-23)
==================

- Added option "version" to PointTimeseries.get_cached() so that it can
  save in different file format versions.

1.0.1 (2019-08-22)
==================

- Fixed a bug in extract_point_from_timeseries() where it was sometimes
  raising the wrong exception type (depending on GDAL version).

1.0.0 (2019-08-16)
==================

- The API for extract_point_timeseries_from_rasters() has changed.
  Instead of a function, there's now a PointTimeseries class.
- When extracting a point timeseries from rasters, start_date and
  end_date can now be specified.

0.2.0 (2019-08-13)
==================

- When extracting point time series from a set of rasters, it is now
  possible to provide a prefix as well as a list of files, and it is
  also possible to save the extracted time series to a file, optionally
  only if the file is outdated.
- extract_point_from_raster (and extract_point_timeseries_from_rasters)
  now supports GeoDjango (GEOS) Point objects besides GDAL Point
  objects.
- Function coordinates2point has been added.

0.1.2 (2019-07-30)
==================

- Fixed a bug where hts files were opened in the wrong mode, with
  inconsistent results.

0.1.1 (2019-07-05)
==================

- Fixed an ugly timezone bug that caused the data to refer to a
  different time than what the timestamp actually said.
- When the timezone was missing from the input files, there was an
  incomprehensible AttributeError. This was fixed and now it provides an
  understandable error message.

0.1.0 (2019-06-21)
==================

- Initial release

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/openmeteo/hspatial",
    "name": "hspatial",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "hspatial",
    "author": "Antonis Christofides",
    "author_email": "antonis@antonischristofides.com",
    "download_url": "https://files.pythonhosted.org/packages/aa/bc/434bf99506d853821230388124974cf4d2f3e8aa86feb3800e43aeafb46a/hspatial-4.1.0.tar.gz",
    "platform": null,
    "description": "========\nhspatial\n========\n\n\n.. image:: https://img.shields.io/pypi/v/hspatial.svg\n        :target: https://pypi.python.org/pypi/hspatial\n\n.. image:: https://img.shields.io/travis/openmeteo/hspatial.svg\n        :target: https://travis-ci.org/openmeteo/hspatial\n\n.. image:: https://codecov.io/github/openmeteo/hspatial/coverage.svg\n        :target: https://codecov.io/gh/openmeteo/hspatial\n        :alt: Coverage\n\n.. image:: https://pyup.io/repos/github/openmeteo/hspatial/shield.svg\n         :target: https://pyup.io/repos/github/openmeteo/hspatial/\n         :alt: Updates\n\nUtilities for spatial integration of time series.\n\n\n* Free software: GNU General Public License v3\n* Documentation: https://hspatial.readthedocs.io.\n\n\n=======\nHistory\n=======\n\n4.1.0 (2024-05-22)\n==================\n\n- extract_point_from_raster() now also accepts a GDALRaster object.\n\n4.0.1 (2024-04-22)\n==================\n\n- Updated requirements to be compatible with Django 4 and 5.\n\n4.0.0 (2024-04-14)\n==================\n\n- Now works with htimeseries 6 and 7.\n- PointTimeseries() has changed in that default_time must be aware.\n\n3.0.0 (2024-04-01)\n==================\n\n- Now requires htimeseries 6. This recent htimeseries version works with\n  aware time zones, and hspatial, which works with naive, internally\n  handles them as UTC.\n\n2.1.6 (2024-04-01)\n==================\n\n- Reverted previous change, which had not been properly tested and\n  doesn't work; in effect 2.1.6 is the same as 2.1.4.\n\n2.1.5 (2024-03-31)\n==================\n\n- Added compatibility with htimeseries 6.\n\n2.1.4 (2021-08-31)\n==================\n\n- Added compatibility with gdal 3.\n\n2.1.3 (2021-04-13)\n==================\n\n- Updated dependencies (essentially htimeseries).\n\n2.1.2 (2021-04-08)\n==================\n\n- Updated requirements to be compatible with Django 3.\n\n2.1.1 (2021-01-05)\n==================\n\n- Fixed an error in extract_point_from_raster(). It was sometimes\n  picking up a neigbouring pixel instead of the correct one.\n\n2.1.0 (2020-10-02)\n==================\n\n- h_integrate() now adds a \"UNIT\" metadata item to the produced raster\n  with the unit of measurement as specified in the input files.\n  Conversely, PointTimeseries reads the \"UNIT\" metadata item from the\n  rasters and sets it in the returned HTimeseries object.\n\n2.0.0 (2020-01-05)\n==================\n\n- Now uses version 5 of hts file (i.e. different time step notation).\n\n1.3.0 (2019-12-12)\n==================\n\n- Added option default_time to PointTimeseries.\n\n1.2.2 (2019-11-24)\n==================\n\n- Fixed a bug where extract_point_from_raster() was modifying the point\n  passed to it.\n\n1.2.1 (2019-10-23)\n==================\n\n- Fixed a bug where hts files were opened in the wrong mode, with\n  inconsistent results (this is another occurence of the bug that had\n  been fixed in 0.1.2).\n\n1.2.0 (2019-09-11)\n==================\n\n- Added test utility setup_test_raster() to make unit testing easier.\n\n1.1.0 (2019-08-23)\n==================\n\n- Added option \"version\" to PointTimeseries.get_cached() so that it can\n  save in different file format versions.\n\n1.0.1 (2019-08-22)\n==================\n\n- Fixed a bug in extract_point_from_timeseries() where it was sometimes\n  raising the wrong exception type (depending on GDAL version).\n\n1.0.0 (2019-08-16)\n==================\n\n- The API for extract_point_timeseries_from_rasters() has changed.\n  Instead of a function, there's now a PointTimeseries class.\n- When extracting a point timeseries from rasters, start_date and\n  end_date can now be specified.\n\n0.2.0 (2019-08-13)\n==================\n\n- When extracting point time series from a set of rasters, it is now\n  possible to provide a prefix as well as a list of files, and it is\n  also possible to save the extracted time series to a file, optionally\n  only if the file is outdated.\n- extract_point_from_raster (and extract_point_timeseries_from_rasters)\n  now supports GeoDjango (GEOS) Point objects besides GDAL Point\n  objects.\n- Function coordinates2point has been added.\n\n0.1.2 (2019-07-30)\n==================\n\n- Fixed a bug where hts files were opened in the wrong mode, with\n  inconsistent results.\n\n0.1.1 (2019-07-05)\n==================\n\n- Fixed an ugly timezone bug that caused the data to refer to a\n  different time than what the timestamp actually said.\n- When the timezone was missing from the input files, there was an\n  incomprehensible AttributeError. This was fixed and now it provides an\n  understandable error message.\n\n0.1.0 (2019-06-21)\n==================\n\n- Initial release\n",
    "bugtrack_url": null,
    "license": "GNU General Public License v3",
    "summary": "Utilities for spatial integration of time series",
    "version": "4.1.0",
    "project_urls": {
        "Homepage": "https://github.com/openmeteo/hspatial"
    },
    "split_keywords": [
        "hspatial"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b11732fd7df0bc71525a1dd9fb75466d5015788f30b417136a7c4e0b5728866",
                "md5": "213f8418fa86fc10038e33ae9b6581ad",
                "sha256": "532e01e8ab5d7c18d3dc6b1065c8c0b6f0a54cacf0451f6f6ef7113c761b1d7b"
            },
            "downloads": -1,
            "filename": "hspatial-4.1.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "213f8418fa86fc10038e33ae9b6581ad",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 12384,
            "upload_time": "2024-05-22T18:21:35",
            "upload_time_iso_8601": "2024-05-22T18:21:35.578474Z",
            "url": "https://files.pythonhosted.org/packages/8b/11/732fd7df0bc71525a1dd9fb75466d5015788f30b417136a7c4e0b5728866/hspatial-4.1.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aabc434bf99506d853821230388124974cf4d2f3e8aa86feb3800e43aeafb46a",
                "md5": "2bd19dcb00c29211553dd4a8847762be",
                "sha256": "4c8c55f56b65d31fe6c0717e3946aa6a9d486745cd8cc6c5c264b23b9886812a"
            },
            "downloads": -1,
            "filename": "hspatial-4.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2bd19dcb00c29211553dd4a8847762be",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 37932,
            "upload_time": "2024-05-22T18:21:39",
            "upload_time_iso_8601": "2024-05-22T18:21:39.762868Z",
            "url": "https://files.pythonhosted.org/packages/aa/bc/434bf99506d853821230388124974cf4d2f3e8aa86feb3800e43aeafb46a/hspatial-4.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-22 18:21:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "openmeteo",
    "github_project": "hspatial",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "hspatial"
}
        
Elapsed time: 0.24589s