Skip to main content

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

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

Release files for hspatial 4.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hspatial 4.1.0
File Size Uploaded
hspatial-4.1.0.tar.gz 37.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hspatial 4.1.0
File Interpreter ABI Platform
hspatial-4.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 50.3 kB

Release files / hspatial-4.1.0.tar.gz

Download URL hspatial-4.1.0.tar.gz
Size 37.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4c8c55f56b65d31fe6c0717e3946aa6a9d486745cd8cc6c5c264b23b9886812a
BLAKE2b-256 checksum
How to use checksums
aabc434bf99506d853821230388124974cf4d2f3e8aa86feb3800e43aeafb46a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / hspatial-4.1.0-py2.py3-none-any.whl

Download URL hspatial-4.1.0-py2.py3-none-any.whl
Size 12.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
532e01e8ab5d7c18d3dc6b1065c8c0b6f0a54cacf0451f6f6ef7113c761b1d7b
BLAKE2b-256 checksum
How to use checksums
8b11732fd7df0bc71525a1dd9fb75466d5015788f30b417136a7c4e0b5728866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

4.1.0 This release

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.1.6

2 release files

2.1.5

2 release files

2.1.4

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page