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

Last change on this file since 163 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: 577 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
8for __loop=0,__ncdf.ncommands-1 do $
9  if not execute((*__ncdf.commands)[__loop]) then stop
10
11ncdf_quickwrite_helper2,ncfile,__ncdf,'__ncdf'
12if __ncdf.ncommands eq -1 then stop
13
14for __loop=0,__ncdf.ncommands-1 do $
15  if not execute((*__ncdf.commands)[__loop]) then stop
16
17ncdf_quickwrite_helper3,__ncdf
18
19print,'Written to ',NCFILE
20print,'-------------------------'
21
Note: See TracBrowser for help on using the repository browser.