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.6.tar.gz (163.5 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.6-py3-none-any.whl (195.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dinosaur-1.3.6.tar.gz
Algorithm Hash digest
SHA256 e53decd28b0f19bb5a3bf2a024409726727f07a772bee6dbb08eaf34dd6ac5c7
MD5 c7326d60a040680e352ffc2cb00c7cb1
BLAKE2b-256 0eb5b224e6c8c336e1ebd6b4f0ab7a32c8bce5d221594676b0e6fc00a6069fa7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dinosaur-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d66053a4846379ec83aab12db88800c500a064ed4e3186a218dbba247da00b41
MD5 8b974c17f0d4bed6cde13597e36c0d27
BLAKE2b-256 723dcf1013b35e798d79a1c20065a07d4d0b43b49708abeae0597fbcd9b361e4

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