Skip to main content

Reconstruct incomplete oceanographic dataset

Project description

restoreio is a Python package to Restore Incomplete Oceanographic dataset, with specific focus on ocean surface velocity data. This package can also generate data ensemble and perform statistical analysis, which allows uncertainty qualification of such datasets.


Install with pip


pip install restoreio

Install with conda


conda install -c s-ameli restoreio

Supported Platforms

Successful installation and tests performed on the following operating systems and Python versions:



Python Version

Continuous Integration


















See documentation, including:


An installation of restoreio offers two interfaces: a Python interface and a command-line interface.

1. Python Interface

You can import restoreio in python by import restoreio. This package offers the following functions:

  • restoreio.restore: This is the main function of the package which reconstructs incomplete velocity data, generates data ensemble, and performs statistical analysis. You can import this function by

    from restoreio import restore
  • restoreio.scan: This function performs a pre-scan of your NetCDF dataset and ensures your dataset is compatible as an input to restoreio.restore function. The scan also provides you basic information about the dataset such as the time span, spatial extent of the data. These information could be useful to configure the settings for restoreio.restore function. You can import this function by

    from restoreio import scan

2. Command-Line Interface

Alternatively, you may use restoreio as a standalone application which can be executed in command line. When restoreio is installed, the following executables are available:

  • restore: This executable is equivalent to restoreio.restore function in the Python interface.

  • restore-scan: This executable is equivalent to restoreio.scan function in the Python interface.

To use these executables, make sure the /bin directory of your Python installation is set on your PATH environment variable. For instance, if your Python is installed on /opt/minicinda3/, add this path /opt/miniconda3/bin directory to PATH by

export PATH=/opt/minicinda/bin:$PATH

You may place the above line in ~/.bashrc to make the above change permanently.

Online Web-Based Interface

Alongside restoreio python package, we also offer an online service as a web-based interface for this software. This platform is available at:

This online gateway allows users to efficiently process both local and remote datasets. The computational tasks are executed on the server side, leveraging the parallel processing capabilities of a high-performance computing cluster. Moreover, the web-based interface seamlessly integrates an interactive globe map, empowering sophisticated visualization of the results within the online platform.

How to Contribute

We welcome contributions via GitHub’s pull request. If you do not feel comfortable modifying the code, we also welcome feature requests and bug reports as GitHub issues.

How to Cite

If you publish work that uses restoreio, please consider citing the manuscripts available here.



This project uses a BSD 3-clause license, in hopes that it will be accessible to most projects. If you require a different license, please raise an issue and we will consider a dual license.

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

restoreio-0.10.1.tar.gz (108.9 kB view hashes)

Uploaded Source

Built Distribution

restoreio-0.10.1-py3-none-any.whl (142.0 kB view hashes)

Uploaded Python 3

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