other:python:jyp_steps
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:python:jyp_steps [2023/12/15 16:40] – [Using NetCDF files with Python] Rewrote the beginning of the section jypeter | other:python:jyp_steps [2024/03/07 11:15] – Added a Protocol Buffers section to the file formats jypeter | ||
---|---|---|---|
Line 164: | Line 164: | ||
===== Using NetCDF files with Python ===== | ===== Using NetCDF files with Python ===== | ||
- | |||
- | <note tip> | ||
- | * the [[https:// | ||
- | * and the [[https:// | ||
- | </ | ||
Line 178: | Line 173: | ||
* There may be different ways of dealing with NetCDF files, depending on which [[other: | * There may be different ways of dealing with NetCDF files, depending on which [[other: | ||
+ | |||
+ | |||
+ | ==== CliMAF and C-ESM-EP ==== | ||
+ | |||
+ | People using **//CMIPn// and model data on the IPSL servers** can easily search and process NetCDF files using: | ||
+ | |||
+ | * the [[https:// | ||
+ | |||
+ | * and the [[https:// | ||
+ | |||
+ | |||
==== xarray ==== | ==== xarray ==== | ||
- | Summary: | + | [[https:// |
=== Some xarray related resources === | === Some xarray related resources === | ||
Line 193: | Line 199: | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | |||
+ | ==== netCDF4 ==== | ||
+ | |||
+ | [[http:// | ||
==== cdms2 ==== | ==== cdms2 ==== | ||
- | <note important>'' | + | <note important> |
+ | * '' | ||
- | Summary: cdms2 can read/write netCDF files (and read //grads// dat+ctl files) and provides a higher level interface than netCDF4. cdms2 is available in the [[other: | + | * '' |
+ | </ | ||
+ | |||
+ | [[https:// | ||
How to get started: | How to get started: | ||
Line 206: | Line 221: | ||
- you have to replace //cdms// with **cdms2**, and //MV// with **MV2** (sooorry about that, the tutorial was written when CDAT was based on //Numeric// instead of //numpy// to handle array data) | - you have to replace //cdms// with **cdms2**, and //MV// with **MV2** (sooorry about that, the tutorial was written when CDAT was based on //Numeric// instead of //numpy// to handle array data) | ||
- read the [[http:// | - read the [[http:// | ||
- | |||
- | |||
- | ==== netCDF4 ==== | ||
- | |||
- | Summary: //netCDF4 can read/write netCDF files and is available in most python distributions// | ||
- | |||
- | Where: [[http:// | ||
- | |||
- | ===== CDAT-related resources ===== | ||
- | |||
- | Some links, in case they can't be found easily on the [[https:// | ||
- | |||
- | * [[https:// | ||
- | * [[http:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
===== Matplotlib ===== | ===== Matplotlib ===== | ||
Line 462: | Line 461: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | ==== Protocol Buffers ==== | ||
+ | |||
+ | //Protocol Buffers are (Google' | ||
+ | |||
+ | * https:// | ||
+ | * [[https:// | ||
+ | * '' | ||
===== Quick Reference and cheat sheets ===== | ===== Quick Reference and cheat sheets ===== | ||
Line 569: | Line 576: | ||
You can do a lot more with python! But if you have read at least a part of this page, you should be able to find and use the modules you need. Make sure you do not reinvent the wheel! Use existing packages when possible, and make sure to report bugs or errors in the documentations when you find some | You can do a lot more with python! But if you have read at least a part of this page, you should be able to find and use the modules you need. Make sure you do not reinvent the wheel! Use existing packages when possible, and make sure to report bugs or errors in the documentations when you find some | ||
+ | |||
+ | |||
+ | ===== Out-of-date stuff ===== | ||
+ | |||
+ | |||
+ | ==== CDAT-related resources ==== | ||
+ | |||
+ | Some links, in case they can't be found easily on the [[https:// | ||
+ | |||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
/* standard page footer */ | /* standard page footer */ |
other/python/jyp_steps.txt · Last modified: 2025/02/26 11:40 by jypeter