Index: trunk/SRC/Documentation/idldoc_assistant_output/ReadWrite/write_ncdf.html
===================================================================
--- trunk/SRC/Documentation/idldoc_assistant_output/ReadWrite/write_ncdf.html	(revision 338)
+++ trunk/SRC/Documentation/idldoc_assistant_output/ReadWrite/write_ncdf.html	(revision 402)
@@ -82,5 +82,5 @@
       <dd><font size="-1">   SUBROUTINE (3)/(3) :    convertit une structure contenant une liste  chainee en structure classique utilisee par le main prog (utile pour  passer ces structures en argument au sous-prog  writenc_unlimdim_update, i.</font></dd>
       
-      <dt><a href="#_write_ncdf">write_ncdf<i>, var01[, var02], var03, var04, var05, var06, var07, var08, var09, var10, var11, var12, var13, var14, var15, var16, var17, var18, var19, var20, var21, var22, var23, var24, var25, var26, var27, var28, var29, var30</i>[, FILENAME=<i>FILENAME</i>][, GLOBATTR=<i>GLOBATTR</i>], VARNAME=<i>VARNAME</i>, NOT_SDISV=<i>NOT_SDISV</i>, NOT_OUASSALU=<i>NOT_OUASSALU</i>, OKNAN=<i>OKNAN</i></a><dt>
+      <dt><a href="#_write_ncdf">write_ncdf<i>, var01[, var02], var03, var04, var05, var06, var07, var08, var09, var10, var11, var12, var13, var14, var15, var16, var17, var18, var19, var20, var21, var22, var23, var24, var25, var26, var27, var28, var29, var30</i>[, FILENAME=<i>FILENAME</i>][, GLOBATTR=<i>GLOBATTR</i>][, VARNAME=<i>VARNAME</i>], NOT_SDISV=<i>NOT_SDISV</i>, NOT_OUASSALU=<i>NOT_OUASSALU</i>, OKNAN=<i>OKNAN</i></a><dt>
       <dd><font size="-1">     pro write_ncdf, var01,var02,var03,var04,var05,var06,var07,var08,var09,var10               $                  ,var11,var12,var13,var14,var15,var16,var17,var18,var19,var20               $                 ,var21,var22,var23,var24,var25,var26,var27,var28,var29,var30               $                 ,FILENAME=filename                                                         $                  ,GLOBATTR=globattr                                                         $                 ,VARNAME=namevquick   --------------------------------------------------------------------------------------------- </font></dd>
       
@@ -516,5 +516,5 @@
       <h2>write_ncdf  </h2>
 
-      <p><font face="Courier">write_ncdf<i>, <a href="#_write_ncdf_keyword_var01">var01</a>[, <a href="#_write_ncdf_keyword_var02">var02</a>], <a href="#_write_ncdf_keyword_var03">var03</a>, <a href="#_write_ncdf_keyword_var04">var04</a>, <a href="#_write_ncdf_keyword_var05">var05</a>, <a href="#_write_ncdf_keyword_var06">var06</a>, <a href="#_write_ncdf_keyword_var07">var07</a>, <a href="#_write_ncdf_keyword_var08">var08</a>, <a href="#_write_ncdf_keyword_var09">var09</a>, <a href="#_write_ncdf_keyword_var10">var10</a>, <a href="#_write_ncdf_keyword_var11">var11</a>, <a href="#_write_ncdf_keyword_var12">var12</a>, <a href="#_write_ncdf_keyword_var13">var13</a>, <a href="#_write_ncdf_keyword_var14">var14</a>, <a href="#_write_ncdf_keyword_var15">var15</a>, <a href="#_write_ncdf_keyword_var16">var16</a>, <a href="#_write_ncdf_keyword_var17">var17</a>, <a href="#_write_ncdf_keyword_var18">var18</a>, <a href="#_write_ncdf_keyword_var19">var19</a>, <a href="#_write_ncdf_keyword_var20">var20</a>, <a href="#_write_ncdf_keyword_var21">var21</a>, <a href="#_write_ncdf_keyword_var22">var22</a>, <a href="#_write_ncdf_keyword_var23">var23</a>, <a href="#_write_ncdf_keyword_var24">var24</a>, <a href="#_write_ncdf_keyword_var25">var25</a>, <a href="#_write_ncdf_keyword_var26">var26</a>, <a href="#_write_ncdf_keyword_var27">var27</a>, <a href="#_write_ncdf_keyword_var28">var28</a>, <a href="#_write_ncdf_keyword_var29">var29</a>, <a href="#_write_ncdf_keyword_var30">var30</a></i>[, <a href="#_write_ncdf_keyword_FILENAME">FILENAME</a>=<i>FILENAME</i>][, <a href="#_write_ncdf_keyword_GLOBATTR">GLOBATTR</a>=<i>GLOBATTR</i>], <a href="#_write_ncdf_keyword_VARNAME">VARNAME</a>=<i>VARNAME</i>, <a href="#_write_ncdf_keyword_NOT_SDISV">NOT_SDISV</a>=<i>NOT_SDISV</i>, <a href="#_write_ncdf_keyword_NOT_OUASSALU">NOT_OUASSALU</a>=<i>NOT_OUASSALU</i>, <a href="#_write_ncdf_keyword_OKNAN">OKNAN</a>=<i>OKNAN</i></font></p>
+      <p><font face="Courier">write_ncdf<i>, <a href="#_write_ncdf_keyword_var01">var01</a>[, <a href="#_write_ncdf_keyword_var02">var02</a>], <a href="#_write_ncdf_keyword_var03">var03</a>, <a href="#_write_ncdf_keyword_var04">var04</a>, <a href="#_write_ncdf_keyword_var05">var05</a>, <a href="#_write_ncdf_keyword_var06">var06</a>, <a href="#_write_ncdf_keyword_var07">var07</a>, <a href="#_write_ncdf_keyword_var08">var08</a>, <a href="#_write_ncdf_keyword_var09">var09</a>, <a href="#_write_ncdf_keyword_var10">var10</a>, <a href="#_write_ncdf_keyword_var11">var11</a>, <a href="#_write_ncdf_keyword_var12">var12</a>, <a href="#_write_ncdf_keyword_var13">var13</a>, <a href="#_write_ncdf_keyword_var14">var14</a>, <a href="#_write_ncdf_keyword_var15">var15</a>, <a href="#_write_ncdf_keyword_var16">var16</a>, <a href="#_write_ncdf_keyword_var17">var17</a>, <a href="#_write_ncdf_keyword_var18">var18</a>, <a href="#_write_ncdf_keyword_var19">var19</a>, <a href="#_write_ncdf_keyword_var20">var20</a>, <a href="#_write_ncdf_keyword_var21">var21</a>, <a href="#_write_ncdf_keyword_var22">var22</a>, <a href="#_write_ncdf_keyword_var23">var23</a>, <a href="#_write_ncdf_keyword_var24">var24</a>, <a href="#_write_ncdf_keyword_var25">var25</a>, <a href="#_write_ncdf_keyword_var26">var26</a>, <a href="#_write_ncdf_keyword_var27">var27</a>, <a href="#_write_ncdf_keyword_var28">var28</a>, <a href="#_write_ncdf_keyword_var29">var29</a>, <a href="#_write_ncdf_keyword_var30">var30</a></i>[, <a href="#_write_ncdf_keyword_FILENAME">FILENAME</a>=<i>FILENAME</i>][, <a href="#_write_ncdf_keyword_GLOBATTR">GLOBATTR</a>=<i>GLOBATTR</i>][, <a href="#_write_ncdf_keyword_VARNAME">VARNAME</a>=<i>VARNAME</i>], <a href="#_write_ncdf_keyword_NOT_SDISV">NOT_SDISV</a>=<i>NOT_SDISV</i>, <a href="#_write_ncdf_keyword_NOT_OUASSALU">NOT_OUASSALU</a>=<i>NOT_OUASSALU</i>, <a href="#_write_ncdf_keyword_OKNAN">OKNAN</a>=<i>OKNAN</i></font></p>
 
     
@@ -531,5 +531,8 @@
 
 
-    
+    <h3>Return value</h3>
+ a netcdf file containing the variable in the format specified
+ through keywords and variables 
+
 
     
@@ -1048,15 +1051,21 @@
     <a name="#_write_ncdf_keyword_VARNAME"></a>
     <h4>VARNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      
-      
-      
-      
-      
-      
-      
-      
-    </h4>
-
-    
+      <font size="-1" color="#006633">in</font>
+      
+      <font size="-1" color="#006633">optional</font>
+      
+      
+      
+      
+      
+    </h4>
+
+     
+  - an array of char, same number of elements as the number of given
+    var
+  - if specified, it gives the names of the variables as an array for
+    the default name values (if one of the var is structure and also has
+    the name field given, then the latter will be the one chosen and not namevquick)
+
     
     <a name="#_write_ncdf_keyword_NOT_SDISV"></a>
@@ -1107,28 +1116,28 @@
 
  1)
- write_ncdf, vvsst, btoa
+   IDL> write_ncdf, vvsst, btoa
 
  2)
- write_ncdf, a1, {var:a2,name:'rain'}, ['up','down','fix'], a4, a5, {var:a6,unlim:1,name:'sst',dname:['x','y','z','time']}
+   IDL> write_ncdf, a1, {var:a2,name:'rain'}, ['up','down','fix'], a4, a5, {var:a6,unlim:1,name:'sst',dname:['x','y','z','time']}
 
  3)
- write_ncdf,v031tr,msf031dn,msf031up,v031,vmaskloc,btoa,runame,titplo1,vargrid,nytt                                    $
+   IDL> write_ncdf,v031tr,msf031dn,msf031up,v031,vmaskloc,btoa,runame,titplo1,vargrid,nytt                                    $
            ,varname = ['v031tr','msf031dn','msf031up','v031','vmaskloc','btoa','runame','titplo1','vargrid','nytt'] $
            ,filename = iodir+'IDL_DATA/'+'waza3.nc'
 
  4)
- fileoutnc = iodir+'OBS/TRMM/'+'trmm_1d_'+iyystr+'0101_'+iyystr+'1231_reg0.25.nc'
- vv1 = {var:xaxis,name:'nav_lon',dname:'x',at1:{a:'units',b:'degrees_east'},at2:{a:'title',b:'longitude'}}
- vv2 = {var:yaxis,name:'nav_lat',dname:'y',at1:{a:'units',b:'degrees_north'},at2:{a:'title',b:'latitude'}}
- vv3 = {var:ttt,name:'time',dname:'time_counter',unlim:1,at1:{a:'units',b:timeunit},at2:{a:'title',b:'julian days'}  $
- vv4 = {var:rain_i2, name:'rain'                                                                     $
-        ,at1:{a:'units',b:'mm/day'}                                                                  $
+   IDL> fileoutnc = iodir+'OBS/TRMM/'+'trmm_1d_'+iyystr+'0101_'+iyystr+'1231_reg0.25.nc'
+   IDL> vv1 = {var:xaxis,name:'nav_lon',dname:'x',at1:{a:'units',b:'degrees_east'},at2:{a:'title',b:'longitude'}}
+   IDL> vv2 = {var:yaxis,name:'nav_lat',dname:'y',at1:{a:'units',b:'degrees_north'},at2:{a:'title',b:'latitude'}}
+   IDL> vv3 = {var:ttt,name:'time',dname:'time_counter',unlim:1,at1:{a:'units',b:timeunit},at2:{a:'title',b:'julian days'}  $
+   IDL> vv4 = {var:rain_i2, name:'rain' $
+        ,at1:{a:'units',b:'mm/day'} $
         ,at2:{a:'title',b:'trmm daily accumulated rainfall derived from the 3-hourly product (mm)'}  $
-        ,at3:{a:'scale_factor',b:scala_factor}                                                       $
-        ,at4:{a:'add_offset',b:adda_offset}                                                          $
-        ,at5:{a:'missing_value',b:missaval_i2}                                                       $
+        ,at3:{a:'scale_factor',b:scala_factor} $
+        ,at4:{a:'add_offset',b:adda_offset}    $
+        ,at5:{a:'missing_value',b:missaval_i2} $
        }
- glbatt={  gb1:{a:'File_Name', b:'trmm_1d_'+iyystr+'0101_'+iyystr+'1231_reg0.25.nc'}                                               $
-          ,gb2:{a:'Model_Name', b:'TRMM 3B42_V6 derived product'}                                                                  $
+   IDL> glbatt={  gb1:{a:'File_Name', b:'trmm_1d_'+iyystr+'0101_'+iyystr+'1231_reg0.25.nc'} $
+          ,gb2:{a:'Model_Name', b:'TRMM 3B42_V6 derived product'} $
           ,gb3:{a:'Source_File',b:'ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/Derived_Products/3B42_V6/Daily/'+iyystr+'/*.bin'} $
     </pre><h3>Version history</h3>
@@ -1143,5 +1152,6 @@
     
     
-    <h4>Todo items</h4> clem 
+    <h4>Todo items</h4> 
+ clem 
 
     
@@ -1151,5 +1161,5 @@
     
     <h4>Uses routines</h4>
- cm_general --> pour la var iodir
+ <a href="..//Commons/cm_general.html">cm_general</a> for iodir variable
 
     
