Skip to main content

Differentiable Dynamics for Global Atmospheric Modeling 🦖

Project description

Dinosaur: Differentiable Dynamics for Global Atmospheric Modeling 🦖

Authors: Jamie A. Smith, Dmitrii Kochkov, Peter Norgaard, Janni Yuval, Stephan Hoyer

Dinosaur is an old-fashioned (some might say prehistoric) dynamical core for global atmospheric modeling, re-written in JAX to meet the needs of modern AI weather/climate models:

  • Dynamics: Dinosaur uses spectral methods to solve the shallow water equations and the primitive equations (moist and dry) on sigma coordinates.
  • Auto-diff: Dinosaur supports both forward- and backward-mode automatic differentiation in JAX. This enables "online training" of hybrid AI/physics models.
  • Acceleration: Dinosaur is designed to run efficiently on modern accelerator hardware (GPU/TPU), including parallelization across multiple devices.

For more details, see our paper Neural General Circulation Models for Weather and Climate.

Usage instructions

Dinosaur is an experimental research project that we are still working on documenting.

We currently have three notebooks illustrating how to use Dinosaur:

We recommend running them using Google Colab with a GPU runtime. You can also install Dinosaur locally: pip install dinosaur

See also

If you like Dinosaur, you might also like SpeedyWeather.jl, which solves similar equations in Julia.

Contributing

See CONTRIBUTING.md for details. We are open to user contributions, but please reach out (either on GitHub or by email) to coordinate before starting significant work.

License

Apache 2.0; see LICENSE for details.

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

dinosaur-1.3.5.tar.gz (144.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dinosaur-1.3.5-py3-none-any.whl (175.0 kB view details)

Uploaded Python 3

File details

Details for the file dinosaur-1.3.5.tar.gz.

File metadata

  • Download URL: dinosaur-1.3.5.tar.gz
  • Upload date:
  • Size: 144.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dinosaur-1.3.5.tar.gz
Algorithm Hash digest
SHA256 aa3830f66a7ceb5cb900689d9b0717100eea74ae4d04f206a9fa20408cee3dc9
MD5 ba3fae7dc7e662080e35af1e3baf38fb
BLAKE2b-256 f36cd7bc6c36fd499710d9cc9d984cc2b577fe77b87a663c47ec429af2c95981

See more details on using hashes here.

File details

Details for the file dinosaur-1.3.5-py3-none-any.whl.

File metadata

  • Download URL: dinosaur-1.3.5-py3-none-any.whl
  • Upload date:
  • Size: 175.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dinosaur-1.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fd75996d62104d5c602a4f2643a1154268e6cd6ed9fd1c295aab679c6fba60b3
MD5 44672e82976474cf0f89c4ba09763588
BLAKE2b-256 09afd5c69736a704bfa4422f1a030f4e367696761c3bcbb602545b725d1dc2a5

See more details on using hashes here.

Supported by

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