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

Last change on this file since 134 was 134, checked in by navarro, 18 years ago

change *.pro file properties (del eof-style, del executable, set keywords Id

  • Property svn:keywords set to Id
File size: 651 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
18for __loop=0,__ncdf.ncommands-1 do $
19  if not execute((*__ncdf.commands)[__loop]) then stop
20
21ncdf_quickwrite_helper3,__ncdf
22
23print,'Written to ',NCFILE
24print,'-------------------------'
25
Note: See TracBrowser for help on using the repository browser.