MARIS companion package and tutorials
Project description
marisco
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:
- Encode harvested datasets as
NetCDF
or.csv
formats - Interact with the IAEA Open Data platform soon available
- 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 including:
cdl.toml
: MARIS NetCDF4 CDL (Common Data Language.configs.toml
: contains several configurable constants, default paths, …lut/
: directory containing several MARIS DB nomenclature filesmaris-template.nc
: MARIS NetCDF4 template generated from thecdl
and use to encode MARIS datasets
Notes: conda/mamba
installer will be also 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 MARIS dataset as NetCDF using Jupyter Notebook handlers
Positional arguments:
data
: Path to dataset to encodenb_in
: Path to Jupyter noteboook (NetCDF handler) to executenc_out
: Path to generated NetCDF4
Example:
maris_netcdfy _data/xls/tepco/coastal_water.xlsx nbs/handlers/tepco.ipynb _data/output/tepco.nc
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file marisco-0.1.1.tar.gz
.
File metadata
- Download URL: marisco-0.1.1.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9492bde0e22429fb59b51eefd5a932499d30602d6db0911a1fd9543920504bf |
|
MD5 | 48514cf806dfb7522a598014bb59b40e |
|
BLAKE2b-256 | 95952c04cc4e5c7ab36cc88d4a0be7b100a2b8227e13283099c3192c9cc6ee6b |
File details
Details for the file marisco-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: marisco-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb6d7fcc06f695d726274df3edc627512e412b4915a92f596e558c642a6a0ada |
|
MD5 | 1764c51a2cb1d1fc323a200fb55a66e0 |
|
BLAKE2b-256 | e7ba21231433bfa73fd9a10deb09e98561b3f33104c0c0edaef93ba17109970d |