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.1.tar.gz (6.1 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.1-py3-none-any.whl (62.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for virtualship-0.2.1.tar.gz
Algorithm Hash digest
SHA256 745e7713a1bfdbde218a43482705f1419e8abb52c4f5d957d6e429d27455e825
MD5 133c9e80f30bff03434298f90e94c7c7
BLAKE2b-256 b86ccb8c931bdc7985b2e76206adcec917c987dae20c7e7877fb0c712dc101be

See more details on using hashes here.

Provenance

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

Publisher: cd.yml on Parcels-code/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.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for virtualship-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a6c86713525e99af5a1fe27fad6803fb9b1e9ea184a568a5c2bd38157e908b1
MD5 2b82e0bb9105743f274baa9c0f22d34e
BLAKE2b-256 2805dc5f1fd58447c0ee64020805eefde1b036a4c6596262a50c80da1a352f33

See more details on using hashes here.

Provenance

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

Publisher: cd.yml on Parcels-code/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