[gradsusr] No hardcopy metafile open

Md Hosen md.hosen at live.vu.edu.au
Mon Aug 10 09:14:12 EDT 2015


Dear GRADS users,


Good day!


I am totally new with GRADS. The following sample script is my first try to extract Temperature data from wrfoutput.



'reinit'
'open feb2000.ctl'

i=1
while (i<=73)
'set t 'i

********************************corrected lat&lon***
'set lon 144.97'
'set lat -37.81'
'd t2-272.15'
rc=subwrd(result,4)
res=write(Melreg.txt,rc)
*************************************************
'set lon 144.76'
'set lat -37.86'
'd t2-272.15'
rc=subwrd(result,4)
res=write(Raaf.txt,rc)
********************************
'set lon 145.10'
'set lat -37.98'
'd t2-272.15'
rc=subwrd(result,4)
res=write(Moorabbin.txt,rc)
**********************************
i=i+1
endwhile
return


After running this script, I am getting the following error message:


No hardcopy metafile open
All files closed; all defined objects released;
All GrADS attributes have been reinitialized
Notice: Implied interpolation for file feb2000.ctl
 Interpolation will be performed on any data displayed from this file



Even, if I type 'reinit' in the command line, I am getting same error message as follows:


ga-> reinit
No hardcopy metafile open
All files closed; all defined objects released;
All GrADS attributes have been reinitialized


Could you please give any instruction to solve the problem. Your cooperation will be highly appreciated.


Kind regards,

Imran



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150810/a90869c7/attachment.html 


More information about the gradsusr mailing list