Coder Social home page Coder Social logo

ece-scm-coupling's Introduction

EC-Earth SCM Tools

This repository contains helpful scripts to run the EC-Earth AOSCM and analyze its output. The assumption is that the AOSCM is compiled on your system, as described in the documentation.

Particularly:

  • the Python wrapper SchwarzCoupling allows to do Schwarz Waveform Relaxation with the AOSCM
  • experiments can be configured and executed directly from Python (using utils/templates.py and the AOSCM class in utils/helpers.py, respectively)
  • user_context.py contains your local environment, in order to find executables, input data and output files

Requirements

The scripts use Python 3.9 as a basis. The following external packages are required:

For configuring/running the AOSCM:

For plotting:

Usage

Tutorials:

  1. Configure and run a single experiment
  2. Change the coupling algorithm (parallel/atmosphere-first/ocean-first)
  3. Run a Schwarz Waveform Relaxation simulation
  4. Generate a valid rstas.nc file for OASIS initialization
  5. Run an ensemble simulation
  6. Visualize output

ece-scm-coupling's People

Contributors

valentinaschueller avatar

Watchers

 avatar

ece-scm-coupling's Issues

Use a more robust structure than dictionaries for experiment setup

At the moment, I use a dictionary to configure experiments. Handling default cases and throwing exceptions if certain parameters are not set is dealt with when rendering config-run.xml.j2.
However, it would be nicer to have this logic outside of the template.
Ideally, the data structure for experiment configuration knows:

  • which information is required to set up an experiment
  • which information is optional (and what the default case is)

Thus, a user could check whether the configuration for an experiment is complete (and typos in dict keys could be avoided) directly when configuring the experiment and before calling render_template()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.