Coder Social home page Coder Social logo

pism-gris's Issues

Put the config file in the output directory instead of the current directory

@aaschwanden: Right now this script (see the code below) puts the generated config file in the current directory. Do you think it would make more sense to put it in the output directory specified using the command-line option --o_dir? (I think it would.)

pism_config = 'init_config'
pism_config_nc = abspath("./" + pism_config + ".nc")
cmd = "ncgen -o {output} ../config/{config}.cdl".format(output=pism_config_nc, config=pism_config)
sub.call(shlex.split(cmd))

Improve naming of files containing captured PISM output

Right now they have names like job_1.3251934.pbspl1.nas.nasa.gov.

Adding a few characters identifying a run to the file name would make it a lot easier to re-submit a job that failed. (Something like job_rcp26_id001_1.3251934.pbspl1.nas.nasa.gov would do fine.)

Improve reproducibility of stability experiments

Generated run scripts should include a comment with the command used to generate this script and the version of the Python script that generated it (obtained using git describe).

This will make it easier to reproduce issues discovered when running these scripts.

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.