[67] | 1 | print,'-------------------------' |
---|
| 2 | if n_elements(ncfields) ne 1 then stop,'NCFIELDS not set' |
---|
| 3 | print,'Writing fields: ',NCFIELDS |
---|
| 4 | |
---|
| 5 | ncdf_quickwrite_helper1,ncfields,__ncdf,'__ncdf' |
---|
| 6 | if __ncdf.ncommands eq -1 then stop |
---|
| 7 | |
---|
| 8 | print,*__ncdf.commands,format='(a)' |
---|
| 9 | |
---|
| 10 | for __loop=0,__ncdf.ncommands-1 do $ |
---|
| 11 | if not execute((*__ncdf.commands)[__loop]) then stop |
---|
| 12 | |
---|
| 13 | ncdf_quickwrite_helper2,ncfile,__ncdf,'__ncdf' |
---|
| 14 | if __ncdf.ncommands eq -1 then stop |
---|
| 15 | |
---|
| 16 | print,*__ncdf.commands,format='(a)' |
---|
| 17 | |
---|
[70] | 18 | for __loop=0,__ncdf.ncommands-1 do $ |
---|
| 19 | if not execute((*__ncdf.commands)[__loop]) then stop |
---|
[67] | 20 | |
---|
| 21 | ncdf_quickwrite_helper3,__ncdf |
---|
| 22 | |
---|
| 23 | print,'Written to ',NCFILE |
---|
| 24 | print,'-------------------------' |
---|
| 25 | |
---|