GithubHelp home page GithubHelp logo

helionb-mag's Introduction

SpaceML Heliophysics Notebooks: Line-of-Sight Magnetogram (ML) Dataset

Heliophysics notebooks corresponding to the Magnetogram ML Dataset

Notebooks:

  • 01: SoHO/MDI & SDO/HMI Line-of-sight Magnetogram Dataset (2019)
    • In this notebook, we demonstrate the process for interacting with a small sample of the HMI-MDI Magnetogram (ML) dataset. [publication in prep.]

The following notebooks are currently under development:

  • 02: Super-resolution Magnetograms (2019)
    • Under development, based on the FDL 2019 project to super-resolve SoHO/MDI and NSO/GONG Magnetograms to SDO/HMI resolution
  • 03: NSO/GONG & SDO/HMI Line-of-sight Magnetogram Dataset (2019)
    • Under development

Interacting with each notebook:

Each notebook is contained within its own folder:

.
└── notebooks
    └── ##_<project>_<year> # Each project has its own folder named sequentially, with the project name, and year of the project
        ├── README.md
        ├── <project>_colab.ipynb # A Jupyter notebook designed to be executed on Google Colab.
        ├── <project>.ipynb # The corresponding local development version of the colab notebook.
        ├── environment.yml # Conda environment file
        └── requirements.txt # Requirements file

For local development, the necessary environment can be created as follows (under the assumption that an anaconda installation exists).

cd notebooks/<project>
conda env create -f environment.yml
conda activate <environment>
# start the jupyter notebook app
jupyter notebook

Contributions

Contributions are welcome as pull requests to the main branch, and should mirror the stucture of existing projects.

  • A requirements file can be produced with pip freeze > requirements.txt, however, to minimize the nunmber of redundant packages in that list, first create a virtual environment, and pip install packages there (Anaconda is popular among scientists).

    conda create --name <name>
    conda activate <name>
    conda list #this should be empty
    
  • Formatting with Black (https://black.readthedocs.io/en/stable/) is preferred; see https://github.com/drillan/jupyter-black for the Jupyter notebook integration:

    pip install black
    jupyter nbextension install https://github.com/drillan/jupyter-black/archive/master.zip --user
    jupyter nbextension enable jupyter-black-master/jupyter-black
    

helionb-mag's People

Contributors

dependabot[bot] avatar pauljwright avatar

Stargazers

 avatar  avatar

Watchers

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