Skip to main content

Access water observation data

Project description

WatObs: Access Water Observation Data

This Python package gives you convenient access to water observation data with a bring-your-own-api-key concept.

Data overview

Example notebooks

Satellite altimetry data

Altimetry data (water level, significant wave height and wind speed) obtained from satellites are very useful for validation of models as the data are available globally since 1985 and up to 12 hour before now.

DHI has an altimetry portal with an api where you can download the data.

Example

Obtain all altimetry data within 100km from (lon, lat)=(2.9, 55.9) from October 2019.

>>> from watobs import DHIAltimetryRepository
>>> repo = DHIAltimetryRepository(api_key)
>>> data = repo.get_altimetry_data(area="lon=2.9&lat=55.9&radius=100", 
                                   start_time="2019-10-1", 
                                   end_time="2019-11-1")
>>> data.df["longitude","latitude","significant_wave_height"].head()

                         longitude   latitude  significant_wave_height
datetime                                                              
2019-10-01 01:53:30.689   3.780429  55.203699                 1.942423
2019-10-01 01:53:31.633   3.770297  55.260700                 1.892914
2019-10-01 01:53:32.576   3.760148  55.317701                 1.838815
2019-10-01 01:53:33.519   3.749980  55.374701                 1.930273
2019-10-01 01:53:34.463   3.739795  55.431700                 1.952707

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

watobs-0.1.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

watobs-0.1.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file watobs-0.1.1.tar.gz.

File metadata

  • Download URL: watobs-0.1.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for watobs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 626762dc709bd0edef706a96b3c417615e7837ab29cd41fea607c9988feca101
MD5 8c0add1567e96a38beaa358ae4dc6a22
BLAKE2b-256 cb0f79d4f464b230243334b43450945a8174419f57b015719fee73931c657ca5

See more details on using hashes here.

Provenance

The following attestation bundles were made for watobs-0.1.1.tar.gz:

Publisher: python-publish.yml on DHI/watobs

Attestations:

File details

Details for the file watobs-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: watobs-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for watobs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58a28bb0b1b82ae8966775800f4c132cc4e5ff94429fc891158d30cf43a11455
MD5 db058f513c188ca9e512271c0e0c49c2
BLAKE2b-256 c656b1bb07e76684e32b97580f4c62670ce79f5e30badf05f90eeca3f872e0ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for watobs-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on DHI/watobs

Attestations:

Supported by

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