Coder Social home page Coder Social logo

bhilbert4 / nircam_jdox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spacetelescope/nircam_jdox

0.0 2.0 0.0 540 KB

This repository contains code and data used to create figures and tables on NIRCam JDox webpages

Home Page: https://jwst-docs.stsci.edu/display/JTI/Near+Infrared+Camera

License: BSD 3-Clause "New" or "Revised" License

Jupyter Notebook 45.88% Python 54.12%

nircam_jdox's Introduction

nircam_jdox

PyPI - License STScI

The nircam_jdox repository is meant to act as a simple collection of code and ancillary data files that have been used to create tables and figures on the NIRCam JDox webpages.

Installation

Getting nircam_jdox up and running on your own computer requires four steps, detailed below:

  1. Cloning the GitHub repository
  2. Installing the condaenvironment
  3. Installing the python package

Prerequisites

It is highly suggested that contributors have a working installation of anaconda or miniconda for Python 3.6. Downloads and installation instructions are available here:

Requirements for contributing to the nircam_jdox package will be included in the nircam_jdox conda environment, which is included in our installation instructions below.

Clone the nircam_jdox repo

You first need to clone the current version of nircam_jdox. The simplest way to do this is to go to the directory you want your copy of the repository to be in and clone the repository there. Once you are in the directory you can do the following:

git clone https://github.com/spacetelescope/nircam_jdox.git
cd nircam_jdox

or, if you would rather use SSH instead of https, type

git clone [email protected]:spacetelescope/nircam_jdox.git
cd nircam_jdox

instead, and then proceed as stated.

Environment Installation

Following the download of the nircam_jdox repository, contributors can then install the nircam_jdox conda environment via the environment.yml file, which contains all of the dependencies for the project. First, one should ensure that their version of conda is up to date:

conda update conda

Next, one should activate the base environment:

source activate base

Lastly, one can create the nircam_jdox environment via the environment.yml file:

conda env create -f environment.yml

Package Installation

Next, you need to install the nircam_jdox package. While still in the nircam_jdox/ directory, run the following command to set up the package:

python setup.py develop

The package should now appear if you run conda list nircam_jdox.

Software Contributions

Before you begin contributing to the nircam_jdox development please review our suggested git workflow page, which contains an in-depth explanation of the workflow.

The following is a bare-bones example of a best work flow for contributing to the project:

  1. Create a fork off of the spacetelescope nircam_jdox repository.
  2. Make a local clone of your fork.
  3. Ensure your personal fork is pointing upstream properly.
  4. Create a branch on that personal fork.
  5. Make your software changes.
  6. Push that branch to your personal GitHub repository (i.e. origin).
  7. On the spacetelescope nircam_jdox repository, create a pull request that merges the branch into spacetelescope:master.
  8. Assign a reviewer from the team for the pull request.
  9. Iterate with the reviewer over any needed changes until the reviewer accepts and merges your branch.
  10. Delete your local copy of your branch.

Issue Reporting / Feature Requests

Users who wish to report an issue or request a new feature may do so by submitting a new issue on GitHub: https://github.com/spacetelescope/nircam_jdox/issues

Code of Conduct

Users and contributors to the nircam_jdox repository should adhere to the Code of Conduct. Any issues or violations pertaining to the Code of Conduct should be brought to the attention of a nircam_jdox team member.

nircam_jdox's People

Contributors

aliciacanipe avatar bhilbert4 avatar

Watchers

James Cloos 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.