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.2.tar.gz (146.6 kB view details)

Uploaded Source

Built Distribution

dinosaur-1.3.2-py3-none-any.whl (174.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dinosaur-1.3.2.tar.gz
  • Upload date:
  • Size: 146.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for dinosaur-1.3.2.tar.gz
Algorithm Hash digest
SHA256 15a72192c19ad7c9a2ca0d5e2100b2e1abef2ca5416bb9b09d06bb84613521f0
MD5 c6253862b48104f969dfd094fc556561
BLAKE2b-256 585a0321bac7e87b1d0b207ce34e1b43ddebbd96cc3014247b2d1052806e76a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dinosaur-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 174.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for dinosaur-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba9c6d1127f6e903a5e9b7e5f19adb7124513b8be611153e7a3d85800c71a254
MD5 63ef38dc613905d885e2ad1f1a47ec25
BLAKE2b-256 95270e52f45ab284a2f647597c592266f5ad99466677d1b35e86066b58c251b7

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