Skip to main content

Library for operational IceNet forecasting

Project description

icenet

GitHub issues GitHub closed issues GitHub GitHub forks GitHub forks

This is the core python library for the IceNet sea-ice forecasting system.

This README will be worked on more, but there's plenty of information around in the icenet-ai organisations repositories, which demonstrate usage of this library.

Table of contents

Installation

We're still working on clear dependency management using pip, Tensorflow is best through pip but obviously you need NVIDIA dependencies for GPU based training. If you're having trouble with system dependencies some advice about environment setup is given by the examples under the pipeline repository.

Please note that icenet has an optional dependency on eccodes which requires a system library and a python wrapper. The system library can be installed via conda.

By default, Tensorflow will be built for CPU only when icenet is installed via pip. So, optionally, Tensorflow can be installed with CUDA support (recommended).

conda install -c conda-forge eccodes

pip install icenet

# To install newer versions of tensorflow (tensorflow>=2.14) with CUDA deps directly via pip:
pip install "tensorflow[and-cuda]<2.16"

Please consult the tensorflow docs for up-to-date info.

Development installation

Please refer to the contribution guidelines for more information.

Implementation

When installed, the library will provide a series of CLI commands. Please use the --help switch for more initial information, or the documentation.

Documentation

The docs/ directory has a Makefile that builds sphinx docs easily enough, once the requirements in that directory are installed.

Usage Pipeline / Examples

Please refer to the icenet-pipeline repository or the icenet-notebook repository for examples of how to use this library.

Contributing to IceNet

Please refer to the contribution guidelines for more information.

Deployment to PyPi

To deploy a new release to PyPI, set up your credentials in ~/.pypirc with your personal access token.

  • Increment the version in icenet/__init__.py and commit change to the branch.
  • git tag vX.Y.Z
  • git push upstream --tags

To test deployment by deploying to test PyPI, run:

  • make dist to build sdist and wheel files.
  • twine check dist/* to check that the files are valid and can be uploaded to PyPI.
  • twine upload --repository testpypi dist/* to deploy to test PyPI.

If all looks good, run:

  • make release to deploy to PyPI.

Credits

License

This is licensed using the MIT 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

icenet-0.2.9.tar.gz (4.7 MB view details)

Uploaded Source

Built Distribution

icenet-0.2.9-py2.py3-none-any.whl (140.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file icenet-0.2.9.tar.gz.

File metadata

  • Download URL: icenet-0.2.9.tar.gz
  • Upload date:
  • Size: 4.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for icenet-0.2.9.tar.gz
Algorithm Hash digest
SHA256 138b9f9ed96d3aad68130b3dfae1126520b689c8d6bbf2396314e0328cf7d8c0
MD5 9af127cae37c9d981cde41fe1a5b067f
BLAKE2b-256 86774a2f7ef08d27312e5e299c04a5c246e94167c3ac4b0c7662ae190728f66d

See more details on using hashes here.

File details

Details for the file icenet-0.2.9-py2.py3-none-any.whl.

File metadata

  • Download URL: icenet-0.2.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 140.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for icenet-0.2.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a63c0a92a29e0e5e1b03058bbcad09a5fbe7835ff1eb535fd27e5940fef3eb16
MD5 08168d012fbe96b378d9611e28fb5804
BLAKE2b-256 576f5b07b3aa7d61688178df0ca7e3cc451edcf7a94e7f7a719c1ed019df194e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page