Skip to main content

Utilities for spatial integration of time series

Project description

hspatial

https://img.shields.io/pypi/v/hspatial.svg https://img.shields.io/travis/openmeteo/hspatial.svg Coverage Updates

Utilities for spatial integration of time series.

History

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hspatial-2.0.0.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

hspatial-2.0.0-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hspatial-2.0.0.tar.gz.

File metadata

  • Download URL: hspatial-2.0.0.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for hspatial-2.0.0.tar.gz
Algorithm Hash digest
SHA256 2440ee4c287c6bb10fd93c56ef17cac8e586ab597e26b1a61cf1031a689f8f88
MD5 9164178e8a959a3b676be127054e93d1
BLAKE2b-256 bbd0838f56c3b9bd0a7d7731f0d465f61b120c1e735c08e091e9b19cc3bb3093

See more details on using hashes here.

File details

Details for the file hspatial-2.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: hspatial-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for hspatial-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2339e4fd7a79049b232d9505f13089484ade9501648ca86651e465051430095a
MD5 8acdf3c10a4dc65cd959e6f509e61dbc
BLAKE2b-256 42321bfb36bd4c277346a5e0b922c70344fb059243a3c87bfd961a274f677427

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page