source: lmdz_wrf/trunk/tools/documentation/intro.html @ 1531

Last change on this file since 1531 was 1465, checked in by lfita, 8 years ago

Adding:

  • `draw_2D_shad_2cont': plotting three fields, one with shading and the other two with contour lines
  • `draw_ptZvals': Function to plot a given list of points by their Z value and a colorbar
  • `draw_vectors': Function to plot wind vectors
File size: 4.4 KB
RevLine 
[1205]1<HTML>
2  <HEAD>
3    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"/>
4    <LINK REL="stylesheet" TYPE="text/css" HREF="PyNCplot.css"/>
5  </HEAD>
6
[1210]7  <!--BODY STYLE="color:rgb(240,240,240);font-size:1em;"-->
8  <BODY CLASS="genintro"> 
[1243]9    <A CLASS="la" HREF="https://www.python.org" TARGET="_blank">Python</A> scripts (2.x) to manage netCDF<HREF CLASS="la" A="http://www.unidata.ucar.edu/software/netcdf" TARGET="_blank">files and to plot different kinds of figures using data kept in netCDF files.<BR>
[1210]10    <BR>
11    Scripts use python's <A CLASS="la" HREF="http://matplotlib.org" TARGET="_blank">matplotlib</A> and <A CLASS="la" HREF="https://pypi.python.org/pypi/netCDF4" TARGET="_blank">netCDF4</A> libraries. Additionally some functions use some specific Fortran based libraries developed on purpose for the case. <BR>
12    <BR>
[1243]13    Climate Data Operators (<A CLASS="la" HREF="https://code.zmaw.de/projects/cdo" TARGET="_blank">CDO</A>) are very powerful tools but it only properly works if files are <A CLASS="la" HREF="http://cfconventions.org" TARGET="_blank">CF-compilant</A>. netCDF Operator (<A CLASS="la" HREF="http://nco.sourceforge.net" TARGET="la">NCO</A>) are also very versatile and powerful, but they can not do everything. Thus, one faces sometimes to process netCDF files via a sort of mixing of both tools and it is almost impossible to add new capabilities to them. <A CLASS="la" HREF="http://www.ferret.noaa.gov/Ferret" TARGET="_blank">Ferret</A> is quite a useful tool, but its quick characteristics limit the output which at the same time it is in a low quality and <A CLASS="la" HREF="http://www.gnuplot.info/" TARGET="_blank">GNUplot</A> does not read netCDF. When one is working with multiple models highly appreciates a single tool to work with their output.
[1231]14    PyNCplot attempts to facilitate the research throughout two main goals:
[1210]15    <OL CLASS="roman">
16      <LI>Manage all day-base needs for netCDF files from an unique platform, in this case, python based</LI>
17      <LI>Obtain an 'easy' to use tool to plot figures, in this case, python based</LI>
18    </OL>
19    It encompass different capabilities for different tasks:
20    <UL>
[1248]21      <LI>Manage of netCDF files (<A CLASS="la" HREF="ncmanage/ncmanage.html" TARGET="hmenu">netCDF manage</A>)</LI>
[1214]22      <LI>Plot figures (<A CLASS="la" HREF="plotting/plotting.html" TARGET="hmenu">plotting</A>)</LI>
[1223]23      <LI>General all purposes tools (<A CLASS="la" HREF="generic/generic.html" TARGET="hmenu">generic</A>)</LI>
[1216]24      <LI>Compute diagnostics (<!--A CLASS="la" HREF="other/other.html" TARGET="hmenu"-->other<!--/A-->)</LI>
25      <LI>NetCDF creation from ASCII observation files (<A CLASS="la" HREF="other/other.html" TARGET="hmenu">other</A>)</LI>
26      <LI>Perform files/figures for model inter-comparison (<!--A CLASS="la" HREF="other/other.html" TARGET="hmenu"-->other<!--/A-->)</LI>
[1465]27      <LI>Creation of case study figures from GRIB files(<!--A CLASS="la" HREF="other/case_studies.html" TARGET="hmenu"-->case studies<!--/A-->)</LI>
[1216]28      <LI>Creation of multi-figure panels (<!--A CLASS="la" HREF="other/other.html" TARGET="hmenu"-->other<!--/A-->)</LI>
29      <LI>netCDF transformation of Time-Series ASCII WRF output (<!--A CLASS="la" HREF="other/other.html" TARGET="hmenu"-->other<!--/A-->)</LI>
30      <LI>Checking of WRF namelist using compiled version of code (<!--A CLASS="la" HREF="other/other.html" TARGET="hmenu"-->other<!--/A-->)</LI>
[1210]31    </UL>
[1214]32    All scripts are available from a repository hosted by <I>`Laboratoire de M&eacute;t&eacute;orologie Dynamique'</I> (<A CLASS="la" HREF="http://www.lmd.jussieu.fr/" TARGET="_blank">LMD</A>):
33    <PRE><CODE>
34     $ svn co http://svn.lmd.jussieu.fr/LMDZ_WRF/trunk/tools PyNCplot
35    </CODE></PRE>
[1243]36    Do not forget to keep updated via sub-version
37    <PRE><CODE>
38     $ svn up http://svn.lmd.jussieu.fr/LMDZ_WRF/trunk/tools PyNCplot
39    </CODE></PRE>
[1231]40    There are several python tutorials, just to add more basic ones: <A CLASS="la" HREF="http://www.xn--llusfb-5va.cat/python/ShanCourse/PythonCourse.html" TARGET="_blank">Shan's python course</A>, <A CLASS="la" HREF="https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Train#BOOTCAMPIPSL" TARGET="_blank">IPSL Boot Camp</A>
41    This web page will be always `underconstuction' as far as there are still some new operations/graphics to add, or to finish to document all the existing ones
42    <P STYLE="text-align:right">Llu&iacute;s, October 2016</P>
[1205]43  </BODY>
44</HTML>
45
Note: See TracBrowser for help on using the repository browser.