source: trunk/ReadWrite/idl-NetCDF/ncdf_quickwrite/ncdf_quickwrite_verbose.pro @ 67

Last change on this file since 67 was 67, checked in by pinsard, 18 years ago

miscellaneous modifications according to cerbere.lodyc.jussieu.fr: /usr/home/smasson/SAXO_RD/

  • Property svn:executable set to *
File size: 794 bytes
Line 
1print,'-------------------------'
2if n_elements(ncfields) ne 1 then stop,'NCFIELDS not set'
3print,'Writing fields: ',NCFIELDS
4
5ncdf_quickwrite_helper1,ncfields,__ncdf,'__ncdf'
6if __ncdf.ncommands eq -1 then stop
7
8print,*__ncdf.commands,format='(a)'
9
10for __loop=0,__ncdf.ncommands-1 do $
11  if not execute((*__ncdf.commands)[__loop]) then stop
12
13ncdf_quickwrite_helper2,ncfile,__ncdf,'__ncdf'
14if __ncdf.ncommands eq -1 then stop
15
16print,*__ncdf.commands,format='(a)'
17
18;for __loop=0,__ncdf.ncommands-1 do $
19;  if not execute((*__ncdf.commands)[__loop]) then stop
20
21for __loop=0,__ncdf.ncommands-1 do begin & print,(*__ncdf.commands)[__loop] & if not execute((*__ncdf.commands)[__loop]) then stop & endfor
22
23ncdf_quickwrite_helper3,__ncdf
24
25print,'Written to ',NCFILE
26print,'-------------------------'
27
Note: See TracBrowser for help on using the repository browser.