Skip to main content

adi-notebook, use ADI-backboned method in a notebook.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

adi_notebook-0.3.2-py3-none-manylinux1_x86_64.whl (55.8 kB view details)

Uploaded Python 3

File details

Details for the file adi_notebook-0.3.2-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for adi_notebook-0.3.2-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b842247da5ca333e67d42eab15acb898aa9779531c36f544ca892e595da48b55
MD5 f637be723ff85caae2dccc28d0698afc
BLAKE2b-256 2d20d5e6cef17349646c664673ef446d3f48a9f0e99949d3318b0c8c49d943b8

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