Skip to main content

MARIS companion package and tutorials

Project description

marisco (WIP)

The IAEA Marine Radioactivity Information System (MARIS) allows free access to users to search and download the results of measurements of radioactivity in seawater, biota, sediment and suspended matter. MARIS is maintained and developed by the IAEA Environmental Laboratories in Monaco.

The present Python package provides command-line utilities to:

  1. Encode harvested datasets as NetCDF or .csv formats
  2. Interact with the IAEA Open Data platform soon available
  3. Provide data preprocessing pipelines for ad-hoc datasets

Prerequisites

We recommend to use the “Mamba” python package manager to create a clean and “deterministic” python environment.

Once installed, a typical Mamba workflow could be:

# Create an isolated env. with your prefered python version
mamba create -n name-of-your-env python=3.9 

# Then
mamba activate name-of-your-env
mamba install your-packages-of-interest
mamba deactivate # To quit your environment

Install & configuration

Now, to install marisco simply run

pip install marisco

Once successfully installed, run the following command:

maris_init

This script will create a .marisco/ directory containing various configuration/configurable files in your /home directory.

Notes: conda/mamba installer available soon.

How to use

Command line utilities

All commands accept a -h argument to get access to its documentation.

maris_init

Create configuration files, MARIS NetCDF CDL (Common Data Language) and donwload required lookup tables (nomenclatures).

maris_create_nc_template

Generate MARIS NetCDF template to be used when encoding datasets

maris_netcdfy

Encode a MARIS dataset as NetCDF4.

usage: maris_netcdfy [-h] n

Encode MARIS dataset as NetCDF using Jupyter Notebook handlers

positional arguments:
  n           Noteboook (NetCDF handler) path to execute

options:
  -h, --help  show this help message and exit
  

Example:

maris_netcdfy name-of-notebook-handlers.ipynb

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

marisco-0.0.4.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

marisco-0.0.4-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file marisco-0.0.4.tar.gz.

File metadata

  • Download URL: marisco-0.0.4.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for marisco-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c857a5aab2491441b61c88123ac38d71f173bb528fd44f793e087d14eba2c85d
MD5 6c7f63fee92f7c5889c57c76d44f089e
BLAKE2b-256 069bd2f462851965219a37dd7e7a42d0ffb6dd2675d6c6c1b91be22ec204c753

See more details on using hashes here.

File details

Details for the file marisco-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: marisco-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for marisco-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e8db724496906e0bd4edd5e2a6ba8835c1f292e74efc66687f79bd8b5be9e022
MD5 1288382acb90c2df741162b3c776f038
BLAKE2b-256 d3a5dc9d0c19afa952360d9f1dfccdcb76c4633a499fc7ca2e4aeea4185ba729

See more details on using hashes here.

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