all_my_code

tools that I've developed over time that form a part of my daily workflow built primarily around xarray. Thought good to share. Won't be making docs for now

https://github.com/lukegre/all_my_code

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

tools that I've developed over time that form a part of my daily workflow built primarily around xarray. Thought good to share. Won't be making docs for now

Basic Info
  • Host: GitHub
  • Owner: lukegre
  • License: other
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 504 KB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 4
  • Open Issues: 3
  • Releases: 2
Created almost 6 years ago · Last pushed over 2 years ago
Metadata Files
Readme Contributing License Citation

README.rst

===============================
all_my_code
===============================

.. image:: https://img.shields.io/badge/License-GPLv3-blue.svg
        :target: https://www.gnu.org/licenses/gpl-3.0


tools that I've developed over time that form a part of my daily workflow. Thought good to share.
Note that I do not test my code, I do not verify the results. So please treat with caution.
Feel free to drop issues and suggest changes. No guarantee that I'll make the changes though.


Installation
------------
To get the latest version: 

.. code-block:: bash

   pip install git+https://github.com/lukegre/all_my_code/


Usage
-----

Just a few examples of functions that might be useful. This is not a complete list. 
The functions themselves are quite well documented. 


**WARNING: these examples are out of date**

.. code-block:: python

   import all_my_code as amc  # will import xarray methods/accessors too
   from cartopy import crs, feature
   from matplotlib import pyplot as plt
   
   xda = xr.open_dataarray('path_to_demo_data.nc')
   
   # Time series stats #############
   xda.time_series.climatology(tile=True)
   xda.time_series.detrend(dim='time', deg=2)
   xda.time_series.deseasonalise()
   
   # PLOTTING ############
   # maps with xarray
   img = xda.isel(time=0).map()
   img.colorbar.set_label('some label')
   

Owner

  • Name: Luke Gregor
  • Login: lukegre
  • Kind: user
  • Location: Zürich, Switzerland
  • Company: ETH Zürich

Oceanography, coding and machine learning

Citation (CITATION.cff)

cff-version: 1.1.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Gregor
    given-names: Luke
    orcid: "https://orcid.org/0000-0001-6071-1857"
title: "lukegre/all_my_code: Freeze repo for Yun et al. (2022)"
version: yun22
date-released: 2022-08-11

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 3
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 2
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lukegre (2)
  • aaronspring (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

setup.py pypi