Skip to main content

Access to AuScope's catalogue of geoscience datasets from sources all over Australia

Project description

Test Status Coverage Status

AuScope Catalogue

Home of 'auscopecat', a Python package that allows access to AuScope's catalogue of geoscience datasets from sources all over Australia

Install

'auscopecat' is available from PyPi https://pypi.org/project/auscopecat/

pip install auscopecat

Jupyter Notebooks

We have created a set of Jupyter notebooks to demonstrate some of 'auscopecat's applications

Documentation

'auscopecat's documentation is available here

Development

To install

  1. Install Python v3.10 or higher (https://www.python.org/)
  2. Install uv (https://docs.astral.sh/uv/getting-started/installation/)
  3. Clone this repository

To create and activate a new Python environment

uv venv
source .venv/bin/activate
uv sync

And to deactivate:

deactivate

ALSO

uv run $SHELL

will run an environment in a new shell

TIP: Use 'uv pip install "auscopecat@."' to install the local auscopecat package

Pre-commit

This project comes with a pre-commit configuration pre-commit install to add it as a git hook.
If you want to let Ruff fix a lot of the problems for you, you can use ruff check . --fix

To search for WFS borehole datasets and download from one of them

$ uv run $SHELL
$ uv pip install "auscopecat@."
$ python3
>>> from auscopecat.api import search, download
>>> from auscopecat.auscopecat_types import ServiceType, DownloadType
>>> first_wfs = search('borehole', ServiceType.WFS)[0]
>>> BBOX = {
... "north": -24.7257367141281, "east": 131.38891993801204,
...  "south": -25.793715746583374, "west": 129.77844446004175
... }
>>> download(first_wfs, DownloadType.CSV, bbox=BBOX)

To run tests

Run

uv run pytest

in the 'AuScope-Cat'root directory

Reference used to cite 'auscopecat'

Please cite 'auscopecat' in your publications if you use it in your research

Fazio, Vincent; Woodman, Stuart; Jiang, Lingbo; Li, Yunlong; Warren, Peter. AuScope AVRE Technical Workshop 2025: auscopecat - A python package to access AuScope's resources and beyond. In: AuScope AVRE Technical Workshop 2025; 13 to end of 13 Jun 2025; Virtual. AuScope Pty Ltd; 2025. 18pp. csiro:EP2025-2482. https://doi.org/10.5281/zenodo.15654067

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

auscopecat-1.0.2.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

auscopecat-1.0.2-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file auscopecat-1.0.2.tar.gz.

File metadata

  • Download URL: auscopecat-1.0.2.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.3

File hashes

Hashes for auscopecat-1.0.2.tar.gz
Algorithm Hash digest
SHA256 46617165beacc0f8a893de79cb34d4cee26bc2c3652051882d7bd9cb90179e51
MD5 3bfa338a64887ca460a6c9dbc4d8d1c0
BLAKE2b-256 16e08af3441dbc19813cc6df004d36045fd9a123f9fb6c96e75823fde78e2641

See more details on using hashes here.

File details

Details for the file auscopecat-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: auscopecat-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.3

File hashes

Hashes for auscopecat-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 49278232e741a2e18789eafcfe02da2420a9090aefa87d31be6c4bde6df15771
MD5 d866a03aba1c5850febbd202a222f69e
BLAKE2b-256 e72d9562f4dc38111de33c10befe5c423b5cc49b1e0191594eed1135ab7ad72c

See more details on using hashes here.

Supported by

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