Skip to main content

adi-notebook

About adi-notebook

Introducing adi_runner: A Comprehensive Python Package for Seamless Integration with PCM and ADI Systems.

adi_runner is a versatile Python package designed to offer an intuitive API that simplifies interactions with PCM (Processing Configuration Manager) and ADI (ARM Data Integrator) technologies. This powerful tool empowers users to navigate ARM (Advanced RISC Machine) data, implement the VAPs (Value-added products) algorithm, and develop comprehensive VAPs workflows with ease.

Whether you're operating directly from the command line, embedding adi_runner within scripts, or leveraging it in an interactive development environment like Jupyter Notebook, this package is engineered to enhance your productivity and streamline your projects. adi_runner is especially beneficial for scientists and developers alike:

For Scientists: Integrate the results from PCM configurations and ADI algorithms seamlessly into your familiar research environments. adi_runner makes it easier to incorporate advanced computational techniques into your experimental analysis, fostering innovation and discovery.

For Developers: Transition scientific code into production-ready VAPs ADI pipelines effortlessly. adi_runner bridges the gap between research and real-world application, allowing for the smooth transfer of valuable insights into operational systems.

With adi_runner, both scientists and developers can unlock the full potential of their data and algorithms, paving the way for groundbreaking advancements in their respective fields. Welcome to a world of enhanced efficiency, precision, and versatility in PCM and ADI interactions.

Install

Requires-python >=3.8. Using pip.

pip install adi-notebook

NOTE: The package is still in active development, when required, please include the version number for reproducibility.

Explore the package

The adi-notebook package provides intuitive APIs to run adi workflow in Jupyter Notebook environment interactively. In order to run the notebook and explore the features we recommend you explore in a conda environment. Follow the steps to create a reproducible conda environment.

NOTE: If you have mamba installed, replace the "conda" command with "mamba" to increase the speed.

  1. Clone this repo

    git clone https://code.arm.gov/kefeimo/adi-notebook.git
    
  2. (Navigate to the repo path) Create a conda environment from file, with

    conda env create -f environment.yml
    

    or

    conda env create -f environment.yml --solver=libmamba
    

    Note: mamba solver is much faster than conda, and it is preferable. For jade, use --solver=libmamba sub-command to enable mamba solver.

  3. (After the environment is properly installed, which might take a while) activate the environment with the following command.

    conda activate adi_notebook
    
  4. Verify the installation by running the command line utility "pcm-overview".

    The "pcm-overview" utility takes a valid process name as argument and review its retrieval rule dataset(s), coordinate(s), variable(s) and output datastream(s). You can find its usage with "-h" (or "--help") command option.

    (adi_notebook) [kefeimo@dev-proc2 adi-notebook]$ pcm-overview -h
    usage: pcm-overview [-h] process_name
    
    Overview Processing Configuration Manager (PCM). EXAMPLE: pcm-overview <process_name>
    
    positional arguments:
    process_name  <process_name>
    
    options:
    -h, --help    show this help message and exit
    

    Here is an example using the "adi_demo_0" process.

    (adi_notebook) [kefeimo@dev-proc2 adi-notebook]$ pcm-overview adi_demo_0
    ╒══════════════════════╤═════════════════════╤═════════════════╤═══════════════════════╕
    │ retrieval_rule_set   │ coordinate_system   │ variable        │ output_datastream     │
    ╞══════════════════════╪═════════════════════╪═════════════════╪═══════════════════════╡
    │ met_b1               │ half_min_grid       │ alt             │ ['adiregulargrid.c1'] │
    │ met_b1               │ half_min_grid       │ lat             │ ['adiregulargrid.c1'] │
    │ met_b1               │ half_min_grid       │ lon             │ ['adiregulargrid.c1'] │
    │ met_b1               │ half_min_grid       │ met_temperature │ ['adiregulargrid.c1'] │
    ╘══════════════════════╧═════════════════════╧═════════════════╧═══════════════════════╛
    
  5. (Optional) Start a Jupyter Notebook server and explore the library in notebooks.

    jupyter notebook
    

    After running the command, open a browser with the url and navigate to the path that stores the notebook. For people new to adi-notebook, we recommend you start with the notebook Introducing_AdiRunner_1_quick-start.ipynb.

Metadata

Release files for adi-notebook 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for adi-notebook 0.3.3
File Interpreter ABI Platform Actions
adi_notebook-0.3.3-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details for adi_notebook-0.3.3-py3-none-manylinux1_x86_64.whl

Release files / adi_notebook-0.3.3-py3-none-manylinux1_x86_64.whl

Download URL adi_notebook-0.3.3-py3-none-manylinux1_x86_64.whl
Size 21.1 kB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
435959a8571f8bc87d7ae87e16d941629aaf831c731511df47857179d5eae56b
BLAKE2b-256 checksum
How to use checksums
79f2d2cc30c970bb512b6949d925c89b52c82fd6700df22648427021afad5869
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.8

Security for adi-notebook 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page