Skip to main content

No project description provided

Project description

Dinosaur: differentiable dynamics for global atmospheric modeling

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

Dinosaur is a spectral dynamical core for global atmospheric modeling written in JAX:

  • Dynamics: Dinosaur solves 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.
  • Acceleration: Dinosaur is designed to run efficiently on modern accelerator hardware (GPU/TPU), including parallelization across multiple devices.

For more details, see our paper on Neural General Circulation Models.

Usage instructions

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

We currently have examples replicating two standard test-cases for dynamical cores:

We recommend running them using Google Colab with a GPU runtime. You can also install Dinosaur locally: pip install git+https://github.com/google-research/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_dycore-1.1.0.tar.gz (135.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_dycore-1.1.0-py3-none-any.whl (164.5 kB view details)

Uploaded Python 3

File details

Details for the file dinosaur_dycore-1.1.0.tar.gz.

File metadata

  • Download URL: dinosaur_dycore-1.1.0.tar.gz
  • Upload date:
  • Size: 135.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.7

File hashes

Hashes for dinosaur_dycore-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e6840735fb865f84f0dbe6a936832fcfac26894d7c0bd9eef190c117608d8e68
MD5 46f0f96934cd2e69d948aa495646f259
BLAKE2b-256 e5b7c2ec94b7a49de1a24e05a31e491e8860c05923ebfe862602de8c058d1944

See more details on using hashes here.

File details

Details for the file dinosaur_dycore-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dinosaur_dycore-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3bd45fc65cba0a3204fec06e944cb05b5b7071935f377049e520d4bbc6653268
MD5 51e0bcdc547c1b2a3f02add912c308e7
BLAKE2b-256 4e9c5a3b2c0243143b65126bdce0da8990bfa46fe60c2cc2684f3ea4ba7ecae6

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