source: trunk/ReadWrite/idl-NetCDF/ncdf_quickwrite/ncdf_quickwrite.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: 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.