Coder Social home page Coder Social logo

alperaltuntas / cheyenne-stats-mom6-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gustavo-marques/gaea-stats-mom6-examples

0.0 2.0 0.0 794 KB

A repository for managing regression answers for MOM6 on the GFDL's HPC platform

Shell 3.15% Gnuplot 96.85%

cheyenne-stats-mom6-examples's Introduction

This is a demonstration of a possible repository structure for managing MOM6 regression answers.

Basics (rules)

  1. This repository contains GFDL's regression answers for their c3 platform only. Other platforms should have their own repository.
  2. This repository need not be visible to anyone who does not have access to the same platform (i.e. it could be private).
  3. Commits are only made when the regression answers change.
  4. MOM6-examples is a sub-module of this repository. When regression answers change the new commit of the sub-module must be added with the changed answers.
  5. Regression answers have a suffix which is a label usually referring to a compiler name. These labels are listed in labels.json.

Workflow for when regression answers change

  1. Copy regression answers generated by MOM6 into the corresponding directory under regressions.
  2. Stage any changed regressions and also add the MOM6-examples sub-module commit.
  3. Commit.
  4. Push (if sharing with other developers)

For example:

# Copy files
foreach compiler (gnu intel pgi)
  foreach file (`cd MOM6-examples ; find * -name ocean.stats.$compiler -o -name seaice.stats.$compiler`)
    mkdir -p regressions/$file:h
    \cp MOM6-examples/$file regressions/$file
  end
end

git add regressions
git add MOM6-examples
git commit

Comments

  1. Ideally, MOM6 would write the regression answers directly to the regressions directory but a simple script (like the one above) is most likely to be needed.
  2. The commits in this repository make up a much smaller list than for MOM6-examples because regression answers do not change often.
  3. The labels.json file is not mandatory but could have sufficient information in it for automated systems to interpret.

To create a similar repository for a new platform

git init
git add labels.json
git add README.md

git clone [email protected]:NOAA-GFDL/MOM6-examples
git submodule init
git submodule add ./MOM6-examples
git add regressions
git commit -m 'First regression answers on this platform'

cheyenne-stats-mom6-examples's People

Contributors

adcroft avatar hallberg-noaa avatar jkrasting avatar nichannah avatar nikizadehgfdl avatar stephengriffies avatar

Watchers

 avatar  avatar

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.