GithubHelp home page GithubHelp logo

pauljwright / sdoml Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 66 KB

package for the sdoml dataset

Home Page: https://sdoml.readthedocs.io/en/latest

Python 100.00%
heliophysics machine-learning sun dataloader deep-learning solar-dynamics-observatory atmospheric-imaging-assembly solar-physics

sdoml's Introduction

SDOML dataset

https://codecov.io/gh/PaulJWright/sdoml/branch/develop/graph/badge.svg?token=FUURJWMEEU Documentation Status CICD Status

SDOML is an open-source package for working with the SDOML Dataset (sdoml.org).

⚠️ This package is in development. Currently, it is intended for internal use only. The syntax is subject to change, and the documentation is incomplete. ⚠️

Installation

If you'd like to help develop the SDOML package, or just want to try out the package, you will need to install it from GitHub. The best way to do this is to create a new python virtual environment (either with pipenv or conda). Once you have that virtual environment:

$ git clone https://https://github.com/PaulJWright/sdoml.git
$ cd sdoml
$ pip install -e .

To install the optional extras required for testing, this can be performed with pip as below (for bash, and zsh)

$ pip install -e .[test]
~ pip install -e '.[test]'

pytest and coverage

coverage run -m pytest
coverage html

circleci

You can run circleci locally (https://circleci.com/docs/local-cli/), with brew, for example:

brew install circleci

and validate the file with

circleci config validate

License

This project is Copyright (c) Paul J. Wright and licensed under the terms of the Apache Software License 2.0 license. This package is based upon the Openastronomy packaging guide which is licensed under the BSD 3-clause licence. See the licenses folder for more information.

Contributing

We love contributions! sdoml is open source, built on open source, and we'd love to have you hang out in our community.

Imposter syndrome disclaimer: We want your help. No, really.

There may be a little voice inside your head that is telling you that you're not ready to be an open source contributor; that your skills aren't nearly good enough to contribute. What could you possibly offer a project like this one?

We assure you - the little voice in your head is wrong. If you can write code at all, you can contribute code to open source. Contributing to open source projects is a fantastic way to advance one's coding skills. Writing perfect code isn't the measure of a good developer (that would disqualify all of us!); it's trying to create something, making mistakes, and learning from those mistakes. That's how we all improve, and we are happy to help others learn.

Being an open source contributor doesn't just mean writing code, either. You can help out by writing documentation, tests, or even giving feedback about the project (and yes - that includes giving feedback about the contribution process). Some of these contributions may be the most valuable to the project as a whole, because you're coming to the project with fresh eyes, so you can see the errors and assumptions that seasoned contributors have glossed over.

Note: This disclaimer was originally written by Adrienne Lowe for a PyCon talk, and was adapted by sdoml based on its use in the README file for the MetPy project.

sdoml's People

Contributors

pauljwright avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gjerse

sdoml's Issues

Demonstration NN training

create a new example in the documentations to demonstrate how you go about using sdoml for training/inference of a ML model

tidy up `pd.DataFrame` handling

devise an efficient way to handle building a co-temporal dataframe that can be indexed based on required years/months/days.

Reinstate support for GCS

Support is currently only available for AWS due to a few factors including:

  1. Anonymous access (no need for the CLI and authentication)
  2. Free egress (want people to use this on the cloud, but this is a nice benefit)

Previous approach for loading data in was as follows (but now only requires root/channels:

from sdoml.sources import DataSource
data_to_load = {
   "HMI": {
         "storage_location": "gcs",
         "root": "fdl-sdoml-v2/sdomlv2_hmi_small.zarr/",
         "channels": ["Bx", "By", "Bz"],
   },
   "AIA": {
         "storage_location": "gcs",
         "root": "fdl-sdoml-v2/sdomlv2_small.zarr/",
         "channels": ["94A", "131A"],
   },
   "EVE": {
         "storage_location": "gcs",
         "root": "fdl-sdoml-v2/sdomlv2_eve.zarr/",
         "channels": ["O V", "Fe XI"],
   },
}
datasource_arr = [DataSource(instrument=k, meta=v) for k, v in data_to_load.items()]

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.