This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:python:jyp_steps [2018/03/27 12:51] jypeter Added lots of links |
other:python:jyp_steps [2018/08/01 09:27] jypeter [Getting started] Update quickstart link |
||
---|---|---|---|
Line 58: | Line 58: | ||
- [[https://docs.scipy.org/doc/numpy-dev/user/numpy-for-matlab-users.html|Numpy for Matlab users]] | - [[https://docs.scipy.org/doc/numpy-dev/user/numpy-for-matlab-users.html|Numpy for Matlab users]] | ||
- [[http://mathesaurus.sourceforge.net/matlab-numpy.html|NumPy for MATLAB users]] (nice, but does not seem to be maintained any more) | - [[http://mathesaurus.sourceforge.net/matlab-numpy.html|NumPy for MATLAB users]] (nice, but does not seem to be maintained any more) | ||
- | - read the [[https://docs.scipy.org/doc/numpy-dev/user/quickstart.html|Quickstart tutorial]] | + | - read the really nice [[https://docs.scipy.org/doc/numpy/user/quickstart.html|numpy Quickstart tutorial]] |
- have a quick look at the full documentation to know where things are | - have a quick look at the full documentation to know where things are | ||
- Numpy User Guide | - Numpy User Guide | ||
Line 224: | Line 224: | ||
* [[https://stackoverflow.com/questions/26796997/how-to-get-vertical-z-axis-in-3d-surface-plot-of-matplotlib|How to get vertical Z axis in 3D surface plot of Matplotlib?]] | * [[https://stackoverflow.com/questions/26796997/how-to-get-vertical-z-axis-in-3d-surface-plot-of-matplotlib|How to get vertical Z axis in 3D surface plot of Matplotlib?]] | ||
+ | ===== Data file formats ===== | ||
+ | |||
+ | We list here some resources about non-NetCDF data formats that can be useful | ||
+ | |||
+ | ==== json files ==== | ||
+ | |||
+ | More and more applications use //json files// as configuration files or as a mean to use text files to exchange data (through serialization/deserialization ). | ||
+ | |||
+ | //json// files look basically like a **list of (nested) python dictionaries** that would have been dumped to a text file | ||
+ | |||
+ | * [[https://docs.python.org/2/library/json.html|json module]] documentation | ||
+ | * [[https://realpython.com/python-json/|Working With JSON Data in Python]] tutorial | ||
+ | * example script: ''/home/users/jypeter/CDAT/Progs/Devel/beaugendre/nc2json.py'' | ||
+ | * A compact (not easy to read...) //json// file can be pretty-printed with\\ ''cat file.json | python -m json.tool | less'' | ||
+ | |||
+ | ==== LiPD files ==== | ||
+ | |||
+ | Resources for //Linked PaleoData//: | ||
+ | * [[http://linked.earth/projects/lipd/|LiPD]] | ||
+ | * [[https://doi.org/10.5194/cp-12-1093-2016|Technical note: The Linked Paleo Data framework – | ||
+ | a common tongue for paleoclimatology]] @ GMD | ||
+ | * [[https://github.com/nickmckay/LiPD-utilities|LiPD-utilities]] @ github | ||
+ | |||
+ | ==== BagIt files ==== | ||
+ | |||
+ | //BagIt//, a set of hierarchical file layout conventions for storage and transfer of arbitrary digital content. | ||
+ | |||
+ | * [[https://tools.ietf.org/html/draft-kunze-bagit-16|The BagIt File Packaging Format]] | ||
+ | * [[https://github.com/LibraryOfCongress/bagger|Bagger]] (BagIt GUI) | ||
+ | * [[https://github.com/LibraryOfCongress/bagit-python|bagit-python]] | ||
===== Pandas ===== | ===== Pandas ===== | ||