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

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

update according to idl-NetCDF-v04.tar.gz available via http://www.ittvis.com/codebank/search.asp?FID=418; side effects are not tested

  • Property svn:executable set to *
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.