Skip to main content

Code for the Virtual Ship Classroom, where Marine Scientists can combine Copernicus Marine Data with an OceanParcels ship to go on a virtual expedition.

Project description

VirtualShipParcels logo'

Anaconda-release PyPI - Python Version DOI unit-tests codecov


Project Owner Emma Daniels (e.e.daniels1@uu.nl)
Development status Alpha

VirtualShipParcels is a command line simulator allowing students to plan and conduct a virtual research expedition, receiving measurements as if they were coming from actual oceanographic instruments including:

  • ADCP (currents)
  • CTD (conductivity and temperature)
  • XBT (temperature)
  • underwater measurements (salinity and temperature)
  • surface drifters
  • argo float deployments

Installation

For a normal installation do:

conda create -n ship -c conda-forge virtualship
conda activate ship

which creates an environment named ship with the latest version of virtualship. You can replace ship with any name you like.

For a development installation, please follow the instructions detailed in the contributing page.

Usage

$ virtualship --help
Usage: virtualship [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  fetch  Download input data for an expedition.
  init   Initialize a directory for a new expedition, with an example...
  run    Run the expedition.
$ virtualship init --help
Usage: virtualship init [OPTIONS] PATH

  Initialize a directory for a new expedition, with an example schedule and
  ship config files.

Options:
  --help  Show this message and exit.
$ virtualship fetch --help
Usage: virtualship fetch [OPTIONS] PATH

  Download input data for an expedition.

  Entrypoint for the tool to download data based on space-time region provided
  in the schedule file. Data is downloaded from Copernicus Marine, credentials
  for which can be obtained via registration:
  https://data.marine.copernicus.eu/register . Credentials can be provided on
  prompt, via command line arguments, or via a YAML config file. Run
  `virtualship fetch` on a expedition for more info.

Options:
  --username TEXT  Copernicus Marine username.
  --password TEXT  Copernicus Marine password.
  --help           Show this message and exit.
$ virtualship run --help
Usage: virtualship run [OPTIONS] PATH

  Run the expedition.

Options:
  --help  Show this message and exit.

For examples, see the tutorials section of our documentation.

Input data

The scripts are written to work with A-grid ocean data from the Copernicus Marine Service.

Source code

The code for this project is hosted on GitHub.

Contributors

All contributions are welcome! See the contributing page in our documentation to see how to get involved. Image made with contrib.rocks.

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

virtualship-0.1.1.tar.gz (615.4 kB view details)

Uploaded Source

Built Distribution

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

virtualship-0.1.1-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: virtualship-0.1.1.tar.gz
  • Upload date:
  • Size: 615.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for virtualship-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3cc794dc645a65de3f67f9222b82e4575f06280a76a24270cbb205c41370c76f
MD5 23ef81b1d79b700dda05f776ca2f4270
BLAKE2b-256 8c58d914a1ae5633e577747876c2f713ae8c0a73d0b9448acf4a4e59aa9b4187

See more details on using hashes here.

Provenance

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

Publisher: cd.yml on OceanParcels/virtualship

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: virtualship-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 41.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for virtualship-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e850eccc062ac4bab0a215a1ea59a5b33696db3e76f1ecddbcddb77231f5efda
MD5 99eec131cdceb11f58b9158d850736f7
BLAKE2b-256 ee0f668c66c461a59ebd0999b76d60baec37ec8b26fe926b37b76fb27b2ee822

See more details on using hashes here.

Provenance

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

Publisher: cd.yml on OceanParcels/virtualship

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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