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.2.0.tar.gz (5.3 MB view details)

Uploaded Source

Built Distribution

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

virtualship-0.2.0-py3-none-any.whl (60.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: virtualship-0.2.0.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for virtualship-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a3a5f9bef0ea1ada97a19165bf1270df7602d34b0fa0595254ecb943a4e38503
MD5 1ffaee8dc39222239d7faa453a549c5d
BLAKE2b-256 8afc621d710530db0a4c9b85ef6acbf2836e6ea3f69dd46b8f79d19ca6c1f22f

See more details on using hashes here.

Provenance

The following attestation bundles were made for virtualship-0.2.0.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.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for virtualship-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93a6ee5b3c090e96236f06333e39ae3f6d5d6e4931dfe0c2f7fa93d0d4baf1e1
MD5 74ddaa3ec2c7e98b2907fae13db272a0
BLAKE2b-256 1b8c7229f20aa57d63909c2678d2d94021c13d1078ebff65105948e435cbe962

See more details on using hashes here.

Provenance

The following attestation bundles were made for virtualship-0.2.0-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