Projects #
Tol-colors #
A package which supplies color schemes for lines and maps, all color-blind safe.
They were designed by
Paul Tol, I merely made it available on PyPi to make it easier to install and use.
For example the default scheme (‘bright):
XArray-histogram #
Compute and manipulate histograms from XArray using Boost Histogram at its core. This package is similar to the existing xhistogram but at its core uses instead of Numpy functions. This gives better performance and additional features such as integer bins or periodic bins.
FileFinder #
Find files from their filename structure, with a simple yet powerful syntax. Useful for working with databases with many different files. For example files with different dates and depth:
finder = Finder('/root_folder/', '%(Y)/SST_%(Y)%(m)%(d)_%(depth:fmt=.1f).nc')
files = finder.get_files()
Data-assistant #
GitlabHelp jump-start a data analysis project:
- Obtain your parameters from a configuration file or command line arguments. Validate them against a structured specification that is easy to write, expandable, and which allows to document every parameter.
- Declare datasets in a flexible way to manage varying parameters, multiple files, to read/write the data, etc.
- Setup Dask either on a local machine, or distributed on a cluster (using dask-jobqueue).
Heterogeneity-Index #
A Python library to compute the Heterogeneity Index, as defined in Haëck et al. (2023) and Liu & Levine (2016).
It can be viewed as an example of a complex front detection algorithm implemented in Python but still competitive thanks to Numba. It can run on numpy, dask, or xarray arrays. As such the project could support other front detection methods.
VisibleEarth Homepage #
GithubBecause having as a homepage the latest image from NASA VisibleEarth in full resolution and full-screen, is really nice.
Dateloop #
GithubA simple bash command to create lists of dates. Useful for operations on sets of dates.
$> dateloop 20010227 20010301 -f %Y-%m-%d
2001-02-27 2001-02-28 2001-03-01