Giter VIP home page Giter VIP logo

cmorfixer_env's Introduction

Environment for cmor-fixer

  • A tool to create an environment to allow easy use of the cmor-fixer tool

  • cmorfixer_env is a singularity container which comes with preinstalled miniconda3

Prerequisites

You need the singularity program installed. Follow the instructions here, to install singularity on your machine.

https://singularity.lbl.gov/install-linux

To download a prebuilt singularity image:

  • If you'd like to use a prebuilt image, you could download from the link below; if you'd rather build the container yourself, follow the build instructing in the To build section.
  • Link to prebuilt image

To build

sudo singularity build cmorfixerenv.simg Singularity

To initialize container (and optionally mount external filesystems)

  • If you don't have to mount any non-root filesystems, you could start the container like this:
 singularity shell cmorfixerenv.simg
  • If you don't see on the container the filesystem which is accessible on the host machine, you could try this, and once inside the container, you'll be able to see the filesystem mounted on /mnt.
 singularity shell --bind <path to filesystem you want mounted on the container>:/mnt cmorfixerenv.simg
  • Inside the container, do the following
source /etc/bashrc
activateminiconda3
conda activate cmorfixer
  • Execute cmorfixer (present in /opt/cmor_fixer/cmor-fixer/cmor-fixer.py, in the container)
cd /root
script -c '/opt/cmor_fixer/cmor-fixer/cmor-fixer.py --verbose --forceid --olist --npp 1 --dry /mnt/CMIP6/ScenarioMIP/EC-Earth-Consortium/EC-Earth3/ssp126/' scriptout_cmorfix_dryrun

cmorfixer_env's People

Contributors

pchengi2 avatar

Watchers

 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.