Coder Social home page Coder Social logo

adjust_jan_spec's Introduction

Adjusting MPIESM input file T63L47_jan_spec.nc from an existant T31L19 COSMOS Simulation

The script contained in this repository serves the purpose of creating a new T63L47_jan_spec.nc file utilizing output from a COSMOS echam5 T31L19 simulation. Please read the following documentation before you use it.

"Install"

cdo is required. Please make sure to use: cdo -V >= 1.9.0

You don't really need to install this. Just do:

git clone ${adjust_jan_spec_repo} ${my_favorite_location}

ta-da!

Example Usage

Basic usage is exemplified below:

$ ./adjust_jan_spec_from_T31.sh \
   ${file1} \
   ${file2} \
   ${file3} \
   ${file4}

Where:

  • file1: a ${EXPID}_echam5_main_mm_????01.nc file (standard post-processing is assumed!)
  • file2: original T31 orography (e.g. a T31GR30_jan_surf.nc file)
  • file3: target T63 orography file
  • file4: model output with the target vertical resolution to generate a vertical coordinate table.

Running the script without any argumetns will print a help message.

The resulting file T63L47_jan_spec_from_T31L19.nc contains:

  • humidity Q
  • temperature STP abd log surface pressure LSP merged via the export_e5ml command
  • vorticity SVO
  • divergence SD

vertically and laterally interpolated from the simulated values of the T31L19 run.

Testing and Reproducibility

You may use the supplied Makefile to perform a test of PI as well as LGM runs. Prerequisites are an approriately configured .netrc file on mistral. In order to download the prerequisite data and generate all test inputs for the unit.23 files, simply use make in the top level directory.

make

Configuration files for the mkexp program (generator for MPIESM runscripts) are also supplied, you may use these to reproduce the orog_??? tests. Experiment paths will need to be appropriately modified.

Contact

For questions, improvement suggestions, or to report bugs; please make use of the GitHub issue tracker or contact:

Dr. Paul Gierz

Paleoclimate Dynamics

AWI Bremerhaven

email: [email protected]

ORCID iD iconorcid.org/0000-0002-4512-087X

adjust_jan_spec's People

Contributors

pgierz avatar

Watchers

 avatar

adjust_jan_spec's Issues

Tests

I need to set up a few reproducible tests to ensure that this thing functions as expected:

  • use T31 PI to rerun a T63 PI

  • Use T31 LGM to rerun a T63 LGM

  • Lu's transient glacial run (this would test coupling feasibility)

Add `expid` by default

It should be possible to add the experiment ID from the old run to the output file name by default

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.