Skip to main content

Earth Science PRoblems for the Evaluation of Strategies, Solvers and Optimizers

Project description

Espresso

PyPI version build Documentation Status Slack

Related repositories by InLab

Introduction

Earth Science PRoblems for the Evaluation of Strategies, Solvers and Optimizers (Espresso) is a collection of datasets, and associated simulation codes, spanning a wide range of geoscience problems. Together they form a suite of real-world test problems that can be used to support the development, evaluation and benchmarking of a wide range of tools and algorithms for inference, inversion and optimisation. All problems are designed to share a common interface, so that changing from one test problem to another requires changing one line of code.

The Espresso project is a community effort - if you think it sounds useful, please consider contributing an example or two from your own research. The project is currently being coordinated by InLab, with support from the CoFI development team.

For more information, please visit our documentation.

Installation

$ pip install geo-espresso

Check Espresso documentation - installation page for details on dependencies and setting up with virtual environments.

Basic usage

Once installed, each test problem can be imported using the following command:

from espresso import <testproblem>

Replace <testproblem> with an actual problem class in Espresso, such as SimpleRegression and FmWavefrontTracker. See here for a full list of problems Espresso currently includes.

Once a problem is imported, its main functions can be called using the same structure for each problem. For instance:

from espresso import FmWavefrontTracker

problem = FmWavefrontTracker(example_number=1)
model = problem.good_model
data = problem.data
pred = problem.forward(model)
fig_model = problem.plot_model(model)

You can access related metadata programatically:

print(FmWavefrontTracker.metadata["problem_title"])
print(FmWavefrontTracker.metadata["problem_short_description"])
print(FmWavefrontTracker.metadata["author_names"])

Other problem-specific parameters can be accessed through the problem instance. For instance:

print(problem.extent)
print(problem.model_shape)

Which additional values are set is highly problem-specific and we suggest to consult the Espresso Documentation on the problems.

Contributing

Interested in contributing? Please check out our contributor's guide.

Licence

Espresso is a community driven project to create a large suite of forward simulations to enable researchers to get example data without the need to understand each individual problem in detail.

Licensing is done individually by each contributor. If a contributor wants to freely share their code example we recommend the MIT licence or a 2-clause BSD licence. To determine the licence of an existing Espresso problem, please consult the documentation section of that problem.

All the other core functions of Espresso written by InLab Espresso developer team are distributed under a 2-clause BSD licence. A copy of this licence is provided with distributions of the software.

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

geo-espresso-0.3.0.dev0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distributions

geo_espresso-0.3.0.dev0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

geo_espresso-0.3.0.dev0-cp311-cp311-macosx_10_9_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

geo_espresso-0.3.0.dev0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

geo_espresso-0.3.0.dev0-cp310-cp310-macosx_10_9_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

geo_espresso-0.3.0.dev0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

geo_espresso-0.3.0.dev0-cp39-cp39-macosx_10_9_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

geo_espresso-0.3.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

geo_espresso-0.3.0.dev0-cp38-cp38-macosx_10_9_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

geo_espresso-0.3.0.dev0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

geo_espresso-0.3.0.dev0-cp37-cp37m-macosx_10_9_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

Details for the file geo-espresso-0.3.0.dev0.tar.gz.

File metadata

  • Download URL: geo-espresso-0.3.0.dev0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for geo-espresso-0.3.0.dev0.tar.gz
Algorithm Hash digest
SHA256 5d1e770f4a6da58b59c391db4f0732535269f47ac53af9fb7462c3177cfa0aa0
MD5 3acdf89ac79dc8be3ac275b2e1fe0a25
BLAKE2b-256 78bcd0af5e10fa75a87a0cd48f4bf9d0db703f1cb308488a87c9f0fc7624a8cb

See more details on using hashes here.

File details

Details for the file geo_espresso-0.3.0.dev0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for geo_espresso-0.3.0.dev0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48cbe54a985225dd72567f7bb1e35c47b747a69412f960c6d76490c115f12f3f
MD5 4e16f19cd0b617dd299db40fa7c1f173
BLAKE2b-256 3fef525d63436591c0c6f9285cfe702fd0ad6879ee333280d37c8cc546e49bd7

See more details on using hashes here.

File details

Details for the file geo_espresso-0.3.0.dev0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for geo_espresso-0.3.0.dev0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dcdc3506fcf3d8a38382a78dabe96c5a264ee521d8768c2928825fc1287910f2
MD5 c26ba7c844ead8675d8b4e78b780a69e
BLAKE2b-256 5676a0d8661b21837103977fa26be6a6ba0f6b799d3daf6305d3193162870156

See more details on using hashes here.

File details

Details for the file geo_espresso-0.3.0.dev0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for geo_espresso-0.3.0.dev0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8899711d8e37898e711bfebad25d6160da9423843a7098468e55a82a55e38226
MD5 4690146e721aafd6bc73567d90589d9d
BLAKE2b-256 0582c4f44d4edba6dec34a797382d2152505802ac7f63d81b93f02fffb3302ed

See more details on using hashes here.

File details

Details for the file geo_espresso-0.3.0.dev0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for geo_espresso-0.3.0.dev0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 22274d3b24548b53e56e1f7e512d46d999c972df27c38a2fb07f70e7ba96b501
MD5 ef6163df64bb98cf98db28d1995dd74e
BLAKE2b-256 b6425065163ed145dea0947ad91953ca420be60d646225a53993c3052cdcba0b

See more details on using hashes here.

File details

Details for the file geo_espresso-0.3.0.dev0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for geo_espresso-0.3.0.dev0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 28b92cd2298aa29ba88b289754faefda8bf2ca76c19877ef66d6a4b08cffe53d
MD5 d775658cf2e1dc05037da9b0219a051c
BLAKE2b-256 6bbc7af0a279c32e12bdb13562fdffd7f100632777380b96c78b2fa4e104a713

See more details on using hashes here.

File details

Details for the file geo_espresso-0.3.0.dev0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for geo_espresso-0.3.0.dev0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 206243783a7ef26ccaa0155a1f7c05c24f62a284e0c647e478bef69dbcd7f627
MD5 cfeba444d54a1fafb3701a27054f1a5e
BLAKE2b-256 e50b4b4aeebb12f6d2d0c065f9b4d523557b255a5bb237fca143b933be4286ed

See more details on using hashes here.

File details

Details for the file geo_espresso-0.3.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for geo_espresso-0.3.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78f40e1e5ee452bfa1dc6e0d958e2509fe1c79fc7d649d8f986ac135a4d6cc34
MD5 74260b71577fb8e612aa29fb43259a11
BLAKE2b-256 7292ed6d9e581b1b531f0ef10f91c2770fb891f1112bcd02af541c6a1ae884b1

See more details on using hashes here.

File details

Details for the file geo_espresso-0.3.0.dev0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for geo_espresso-0.3.0.dev0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0ee3439cb6d9ff5ae021b5e38c1258364bb47bf1233d02f7101a7c6ce9b33b76
MD5 67108b1b4261e9e3aebc76b81769b28b
BLAKE2b-256 054cfb0f876b452502587490bd40fa5baa05eadb4df1cfe2ca702a6202cf3fd4

See more details on using hashes here.

File details

Details for the file geo_espresso-0.3.0.dev0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for geo_espresso-0.3.0.dev0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bb01f6d30d366bf2ff498afe18fdc62d5ead9615b039d9bbd84556d32a78c29e
MD5 f75bf7bbd73b5e0a64aab7ad1f70e93e
BLAKE2b-256 982a74cab25902fd295ef6c3365b20608da4944745e22221e4762cd9b2424801

See more details on using hashes here.

File details

Details for the file geo_espresso-0.3.0.dev0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for geo_espresso-0.3.0.dev0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 799da6a7d3bfcb5790046e2b1efd97341c537152a7bedc78ce5d8882e388eb82
MD5 81511b21a770ca9410f7fdac8728ebbc
BLAKE2b-256 4b33db7406b423b6f3b6b126974a87b35b1f01915dd038868aebdb8e12057bdd

See more details on using hashes here.

Supported by

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