Skip to main content

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


Metadata

Release files for icenet 0.2.9

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

Source distribution (sdist)

Source distribution for icenet 0.2.9
File Size Uploaded Provenance
icenet-0.2.9.tar.gz 4.7 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for icenet 0.2.9
File Interpreter ABI Platform
icenet-0.2.9-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 4.8 MB

Release files / icenet-0.2.9.tar.gz

Download URL icenet-0.2.9.tar.gz
Size 4.7 MB
Tags Source
SHA-256 checksum
How to use checksums
138b9f9ed96d3aad68130b3dfae1126520b689c8d6bbf2396314e0328cf7d8c0
BLAKE2b-256 checksum
How to use checksums
86774a2f7ef08d27312e5e299c04a5c246e94167c3ac4b0c7662ae190728f66d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / icenet-0.2.9-py2.py3-none-any.whl

Download URL icenet-0.2.9-py2.py3-none-any.whl
Size 140.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a63c0a92a29e0e5e1b03058bbcad09a5fbe7835ff1eb535fd27e5940fef3eb16
BLAKE2b-256 checksum
How to use checksums
576f5b07b3aa7d61688178df0ca7e3cc451edcf7a94e7f7a719c1ed019df194e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Security for icenet 0.2.9

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