Giter Club home page Giter Club logo

coffeajerc's Introduction

CoffeaJERC

Jet energy resolution and corrections with NANAOD and columnar analysis based on Coffea.

Set up a coffea-enabled environment at FNAL

Below, change <username> to your user name, <your_directory> to your scratch directory.

Log into cmslpc:

ssh -L localhost:8888:localhost:8888  <username>@cmslpc-sl7.fnal.gov

Get a voms ticket:

voms proxy init -voms cms

Next set cache directory for singularity, go to that directory, and get the docker container for coffea-dask:

export SINGULARITY_CACHEDIR=/uscms_data/d2/<your_directory>/singularity/.singularity
cd /uscms_data/d2/<your_directory>/singularity
singularity shell -B ${PWD}:/work /cvmfs/unpacked.cern.ch/registry.hub.docker.com/coffeateam/coffea-dask:latest

From within the container, set the jupyter paths and start a server:

export JUPYTER_PATH=/work/.jupyter
export JUPYTER_RUNTIME_DIR=/work/.local/share/jupyter/runtime
export JUPYTER_DATA_DIR=/work/.local/share/jupyter
export IPYTHONDIR=/work/.ipython
jupyter notebook --ip 0.0.0.0 --no-browser --notebook-dir /work

Execute notebook

Go to localhost to open the jupyter interface.

Get the exercises

Open the terminal via "New -> Terminal"

Then

git clone https://github.com/cms-jet/CoffeaJERC.git

The example notebook is genL2L3.ipynb.

coffeajerc's People

Contributors

7quantumphysics avatar kirschen avatar laurenhay avatar rappoccio avatar

Watchers

 avatar  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.