User Tools

Site Tools


other:python:jyp_steps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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/07/10 09:02]
jypeter [json files] Moved json to a new "Data file formats" section, and dded LiPD and BagIt
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 =====
  
other/python/jyp_steps.txt · Last modified: 2024/03/07 10:15 by jypeter